MSI PATH - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

shLin
Posts: 6
Joined: Mon Sep 19, 2011 3:12 pm

MSI PATH

Hi everyone, I am trying to get the MSI path, some one knows how can I get it (VBS Custom Action)?

Thanks in advance.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: MSI PATH

Hi and welcome to our forums,

You could try using the property "OriginalDatabase", which points the path of the current installation package. This can be a location on disk or a location in the Windows Installer cache.

In our user-guide you can find a lot of other properties which refer information that might interest you.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shLin
Posts: 6
Joined: Mon Sep 19, 2011 3:12 pm

Re: MSI PATH

Thanks Bodgan, I used the following line and I could get the MIS path:

Session.Property("SOURCEDIR")

regards.

Return to “Common Problems”