This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Generate both MSI and setup.exe
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Aug 07, 2015
09:33 AM
Generate both MSI and setup.exe
I'm using IS2015. Currently I produce a setup.exe because I have some prereq's. Some of my customers prefer an MSI and will manage the prereq's on their end. I would like to generate both types without having to turn off all redistributables. Currently, I can generate both but I have to set setup Launcher to No and uncheck any redistributables.
Is there a way to produce both types without having to edit the project each time I dial-down to an MSI?
thanks
Is there a way to produce both types without having to edit the project each time I dial-down to an MSI?
thanks
(6) Replies
‎Aug 07, 2015
04:00 PM
Hi, we just went through this exercise. You need to make 2 releases under Media-->Releases. One for MSI and one for EXE (the names we gave our releases). On the MSI release, give it an entry in Release Flags (we named ours ExcludePrereqs), and select No under Setup Launcher. On the EXE release, leave Release Flags blank and select Yes under Setup Launcher.
Under Application Data-->Redistributables, right click on each prereq you have checked off and select Properties. In the Release Flags box, type IncludePrereqs.
In our build process, we build the install using IsCmdBld twice. Once using EXE as an argument to -r, and once MSI as an argument to -r.
Under Application Data-->Redistributables, right click on each prereq you have checked off and select Properties. In the Release Flags box, type IncludePrereqs.
In our build process, we build the install using IsCmdBld twice. Once using EXE as an argument to -r, and once MSI as an argument to -r.
‎Aug 25, 2015
04:38 PM
Thanks for the info. I was wasting my time trying to use the Cache MSI Locally. I still find it ridiculous that this feature has never been built into Installshield. When building the Exe it builds the MSI and signs it so why not leave it behind? There's some customers who like the exe and others who want the MSI and it's stupid to force us to do 2 different builds.
‎Jun 18, 2021
08:01 AM
Has this function still not been implemented?
‎Sep 29, 2015
05:50 AM
We now use the above message - however for a while we simply built the Setup.exe and then used a simple script that would run the exe and then look in on the machines Temp for the extracted MSI and snatched that.
When you run a setup.exe it will extract the MSI into the temp directory and then uses the product or package GUID to create another folder under this and the MSI will be there. You can then quit the setup.exe once you've nabbed the msi and actually run through the full install.
Just an option if time is that limiting or your build takes that long..
When you run a setup.exe it will extract the MSI into the temp directory and then uses the product or package GUID to create another folder under this and the MSI will be there. You can then quit the setup.exe once you've nabbed the msi and actually run through the full install.
Just an option if time is that limiting or your build takes that long..