InstallMode from VBS - 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!

waspy
Posts: 64
Joined: Fri Oct 03, 2008 10:58 am

InstallMode from VBS

Dear All,
How can I access the InstallMode property (as it is in Advanced Installer) from VBS object model?

Cheers,
Alex
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: InstallMode from VBS

Hi Alex,

In a VBscript custom action you can access the property like this:

Code: Select all

Dim mode
mode = Session.Property("InstallMode")
Since it's private property, "InstallMode" can be accessed only in "InstallUISequence" and by UI Custom Actions.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”