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!

Search found 6 matches

Go to advanced search

by itmanager8815
Fri Apr 27, 2012 7:06 pm
Forum: Building Installers
Topic: Support for vbs scripts
Replies: 7
Views: 45771
 
Jump to post

Re: Support for vbs scripts

I changed the .vbs script as follows:

sInstalldir = Session.Property("APPDIR")

and also added an Action Data with the value [APPDIR] to the custom action but it still does not work. The value of sInstallDir is still empty. Any assistance would be appreciated.
by itmanager8815
Fri Apr 27, 2012 5:37 pm
Forum: Building Installers
Topic: Support for vbs scripts
Replies: 7
Views: 45771
 
Jump to post

Re: Support for vbs scripts

I think we found what is happening. The value of

sInstalldir = Session.Property("INSTALLDIR")

is empty. The application path is not being passed in the "INSTALLDIR" session property. How can we pass this to the .vbs script?
by itmanager8815
Fri Apr 27, 2012 5:28 pm
Forum: Building Installers
Topic: Support for vbs scripts
Replies: 7
Views: 45771
 
Jump to post

Re: Support for vbs scripts

We are back testing this. The install package was built using a 64 bit package. When the .vbs script executes, it substitutes the path as follows:

C:\Windows\SysWOW64\bin\....

instead of the application installation directory, which should be:

C:\Program Files\application\bin...

The application ...
by itmanager8815
Wed Apr 11, 2012 7:54 pm
Forum: Building Installers
Topic: Problem uninstalling
Replies: 1
Views: 5122
 
Jump to post

Problem uninstalling

I created an installer package that installed the product. The uninstall contained a custom action that ran a .vbs script. When I try to uninstall from control panel it tells me that the uninstall could not complete becuase of issues running the script even though it ran properly. In the meantime, I ...
by itmanager8815
Wed Apr 11, 2012 6:25 pm
Forum: Building Installers
Topic: Support for vbs scripts
Replies: 7
Views: 45771
 
Jump to post

Re: Support for vbs scripts

Thanks Daniel. I am testing the Professional edition now.

My problem now is that the .vbs script does not recognize the install directory as indicated in Advanced Installed. I am using the script below. The value of Session.Property("INSTALLDIR") is being set to "C:\Program Files (x86)" even though ...
by itmanager8815
Tue Apr 10, 2012 7:26 pm
Forum: Building Installers
Topic: Support for vbs scripts
Replies: 7
Views: 45771
 
Jump to post

Support for vbs scripts

Does the free version of Advanced Installer (using a Simple project) support execution of vbs scripts before or after installation? I see there is an option for Launch Conditions and the ability to add a new condition but some of the options are disabled.

Go to advanced search