VBScript API - 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!

tmcallaghan
Posts: 16
Joined: Thu Mar 24, 2011 2:38 pm

VBScript API

Is there documentation on the site that describes all the functionality (APIs) that are available via Visual Basic scripting in Custom Actions? All I've found so far is what is in the forums, I was hoping for something more comprehensive on the website or in the documentation.

So far I see Session.Property() and Session.FeatureRequestState() and would love to know the rest along with the capabilities of each.

Thanks,

Tim Callaghan
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: VBScript API

Hi Tim,

Unfortunately, we don't have any scripting definition references aside the forum and user guide relevant samples. You should search the MSDN for the complete definitions. Here is a Microsoft link to get you started with scripting. At the end of the article there are several useful links.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tmcallaghan
Posts: 16
Joined: Thu Mar 24, 2011 2:38 pm

Re: VBScript API

Can it do anything more than Session.Property() and Session.FeatureRequestState()? I'm confused in how I can know what aspects of the Session object that AI exposes to VBScript.

-Tim
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: VBScript API

Hi Tim,
I'm confused in how I can know what aspects of the Session object that AI exposes to VBScript.
This object is controlled by Windows Installer, not Advanced Installer. Our application just helps you to easily create the setup package following the rules enforced by Windows Installer.

None of the rules for using VBScript in a setup package were invented by us.

The following article which talks more about the methods available through the "Session" object.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tmcallaghan
Posts: 16
Joined: Thu Mar 24, 2011 2:38 pm

Re: VBScript API

Bogdan,

What is unclear to me is how (and how much) a VBScript Custom Action can interact with my installer (your product). I understand that you are riding on top of Microsoft technology and not asking you to provide more than they allow. A few more real-world examples of common usage patterns in your documentation would be very helpful. There are so many forum postings asking similar questions, it's hard to make it work without asking again.

-Tim
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: VBScript API

Hi Tim,

Thank you for your suggestion. I have forwarded your request to our technical writing team and we will consider improving the user guide with more reliable samples.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tmcallaghan
Posts: 16
Joined: Thu Mar 24, 2011 2:38 pm

Re: VBScript API

Thank you, and thanks again for a great product (at a great price).

Return to “Common Problems”