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!

darknumen
Posts: 2
Joined: Tue Feb 13, 2007 3:51 am
Contact: Yahoo Messenger

custom action before actual installer

Hello! I have a problem regarding the running of a vbs file.

1. I am running an installation of a surveillance system SDK.
2. The installer searches for an Adobe Reader for the manual I included.
3. If not found, I have added a dialog box after the WelcomeDlg that lets the user click a button to install the Adobe Reader.

PROBLEM: I have made a vbs file that runs the Adobe Reader.exe file that the button(install button) invokes when pressed. I have verified that the vbs file works, but when invoked, it couldn't run the Adobe Reader.exe that I have included in the package. Any ideas?

Some additional info:

[Custom Action]
InstallAdobeReader.vbs
Source Path : [path to the Adobe Reader.exe]
Source Type : Visual Basic Script

[Dialogs]
Edit Control (button)
Name : DoAction
Argument : InstallAdobeReader.vbs
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

If your application need other application to be installed prior to run then add this application as prerequisites. Here is a similar approach on how to add Adobe Reader as prerequisite:
http://www.advancedinstaller.com/forums ... obe+reader

For more details about how to use prerequisites in AI please see:
http://www.advancedinstaller.com/user-g ... tware.html

Hope this helps.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
darknumen
Posts: 2
Joined: Tue Feb 13, 2007 3:51 am
Contact: Yahoo Messenger

Hi gigi. thank you so much for your prompt response to my inquiry. that has solved my problem. :D

Return to “Common Problems”