How to add EXE setup to an MSI project? - 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!

CFB
Posts: 2
Joined: Fri Mar 04, 2011 6:37 pm

How to add EXE setup to an MSI project?

Hello,

I'm new with Advanced Installer and I'd like to have some advice to know how I can add an existing EXE setup to my MSI project.
This EXE setup file must be installed during the MSI install.
I've read the following http://www.advancedinstaller.com/user-g ... r-exe.html (How do I create a MSI wrapper over EXE installation files?) but didn't have success.
I appreciate any help on this topic.

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

Re: How to add EXE setup to an MSI project?

Hello and welcome to the Advanced Installer Forums,

You can add the .EXE as a feature based prerequisite from the Prerequisites Page. Please follow this link to learn about prerequisites.
However, if you include your .EXE like this, it will install only if your run your setup with full UI.

If you are planning to run the MSI silently, please send us the .AIP (project),script and a verbose log of the installation to support at advancedinstaller dot com so we can investigate why is it failing after following our tutorial.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CFB
Posts: 2
Joined: Fri Mar 04, 2011 6:37 pm

Re: How to add EXE setup to an MSI project?

Hello,

First thanks for your support.
Yes, the setup needs to be silent and I think that have done the right steps but unfortunately, as I said, I didn't have success.
I attached the project, log and script.

Many thanks,

Carlos
Attachments
AxViewer.zip
Project, log and script
(282.69 KiB) Downloaded 270 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to add EXE setup to an MSI project?

Hello Carlos,

I have looked into your files and it seems you were referencing the wrong property in your .VBS file :

Code: Select all

'This is the property of the 1st temporary
'installer file added to the project.
x86 = Session.Property("MEADCO_NEPTUNE.EXE")
should be:

Code: Select all

'This is the property of the 1st temporary
'installer file added to the project.
x86 = Session.Property("AI_MEADCO_NEPTUNE.EXE")
If you double click on your temporary installer file in the Files and Folders Page you will see the property associated with it.

After changing the above, go to the Custom Actions Page and from the Install Sequence context menu choose "Show Standard Action" -> "Before Finalization" and select the "InstallIIS" standard action. Move the "wrapper.vbs" custom action under the "InstallIIS" standard action, above the "InstallFinalize" standard action.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”