Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Single Setup.exe for both 32 and 64 bits


Best Answer deramor , 10 July 2017 - 18:32

The usual approach is to create 2 versions of your installer and sequence that with some kind of bootstraper that detects the machine bitness and launches the appropriate package. 

 

You could use the new Installshield Suite project type to do this.  I am currently using one to sequence a handful of 32-bit installers.

 

I also read somewhere that WIX has a new tool called Burn. (http://wixtoolset.or...nual/v3/bundle/)

I haven't used it but it is a free toolchain.  I assume that the Suite Project provides functionality similar to Burn.

Go to the full post


2 replies to this topic

installer96

installer96
  • Full Members
  • 37 posts

Posted 10 July 2017 - 15:02

I want to install the 32 or 64 bit version of our application automatically as appropriate, using a single EXE installer.

 

One approach I'm considering is to have separate 32 and 64 bit components, detect the platform, set a release flag, then install the appropriate components using that release flag.

 

But then I have no idea how to set the template summary dynamically, and doubt that's even possible.

 

 

 

Another approach I'm considering is to have a simple EXE that contains both the 64-bit version of the MSI and the 32-bit version of the MSI, detects the platform, then calls MsiExec with the appropriate one. Is there a way to do this with InstallShield? Perhaps it would be easier to create a simple C# application for the EXE wrapper?

 

 

 

 

What is the usual approach here?


Edited by installer96, 10 July 2017 - 15:04.


deramor

deramor
  • Full Members
  • 187 posts

Posted 10 July 2017 - 18:32   Best Answer

The usual approach is to create 2 versions of your installer and sequence that with some kind of bootstraper that detects the machine bitness and launches the appropriate package. 

 

You could use the new Installshield Suite project type to do this.  I am currently using one to sequence a handful of 32-bit installers.

 

I also read somewhere that WIX has a new tool called Burn. (http://wixtoolset.or...nual/v3/bundle/)

I haven't used it but it is a free toolchain.  I assume that the Suite Project provides functionality similar to Burn.



installer96

installer96
  • Full Members
  • 37 posts

Posted 10 July 2017 - 19:44

Great, I think InstallShield Suite is just what I need.

 

I found this link useful creating a 32 and a 64 bit version of the installer: https://community.fl...p?t-189714.html