exe install flags - 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!

zwelch
Posts: 1
Joined: Fri Mar 05, 2010 7:19 pm

exe install flags

When creating an MSI wrapper for .exe file install is there way to run the install file with flags or parameters?

I want to wrap a file.exe but during the msi invoked install (based on your how to section) run it with "/S" for a silent install.

If this does not exist I strongly suggest adding it in an intuitive manor when selecting the install file during the wizard.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: exe install flags

Hi,

Are you using the Create MSI wrapper over EXE installers how-to? If so, you can try this:
- create a Property Set With Formatted custom action under InstallExecuteSequence -> Begin
- configure it to set a custom property, for example MY_SETUP_FILE, to the setup path and its command line parameters; something like:

Code: Select all

[AI_INSTALLER.EXE] /S
- use this custom property in the custom action instead of the temporary file property

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
johan.andersson
Posts: 2
Joined: Fri Feb 17, 2012 12:12 am

Re: exe install flags

I'm also in need of running the .exe file silently.
I tried to follow the instructions, but it's not working (probably doing something wrong).
Can you please try to explain in more detail.

BR

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

Re: exe install flags

Hi Johan and welcome to Advanced Installer forums,

Please keep in mind that our next version will have this functionality implemented in a new project type called "Create MSI from EXE packages". If you're not in a hurry we recommend you wait for its release.

Also, we'll be changing the wrapper article because it has some flaws. Instead of implementing it and if you can't wait for our next release, can you please try the approach my colleague Cosmin detailed in the following link?
http://www.advancedinstaller.com/forums ... =1&t=10668

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
johan.andersson
Posts: 2
Joined: Fri Feb 17, 2012 12:12 am

Re: exe install flags

Hi and thanks for the quick answer. I actually followed Cosmins advice about creating feature-based prerequisites, creating one setup.exe file and then used that file in a new project, based on the "wrapper" article.
In this case i get one .msi file containing everything i need.

When is the new release with the built in project "Create MSI from EXE packages" planned to be out?

/Johan
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: exe install flags

Hi Johan,
When is the new release with the built in project "Create MSI from EXE packages" planned to be out?
It should be out by the end of next month.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”