Need installer to run my package instead of installing it - 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!

wburkart
Posts: 1
Joined: Fri Oct 23, 2009 1:17 am

Need installer to run my package instead of installing it

How can i make the installer run my program instead of installing it ? After clicking the .exe file i created i would like it to run the program not install it ? Couldn't seem to find anything on this. Any help would be appreciated.

Thank you, Wayne
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Need installer to run my package instead of installing it

Hi Wayne,

Here is what you could try:

* add the setup.exe to Files and Folders page
* go to the Custom Actions <custom-actions-page.html> page
* show the "InstallExecuteSequence" -> "InstallFinalize" standard action (you can use the "Show standard action" button on the toolbar)
* under "InstallFinalize" create a new "New Installed Custom Action" and select the setup.exe file
* in the "Command Line" field of the Custom Action Properties page you can send an install parameter for the installation, for example for silent installation (if package is MSI based) you could use this:

Code: Select all

"/qn"
* in the "Execution Properties" section set the "Asynchronous Execution, do not wait for return" option
* in the "Expression" field of the "Execution Condition" section set the condition like this:

Code: Select all

"Not Installed"

Please let me know if you have other questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”