We have an application which, for various reasons, needs to be compiled as both a 32-bit and 64-bit app. The thing is, we want to distribute both setup files (msi) on a single CD. Is there a launch condition or autorun.inf entry that we can use to know which setup.exe to launch? Or do we need to write a separate little exe that gets called by autorun, and which determines the OS, and calls the appropriate setup.exe?
相关问题
- Are reads/writes of 64-bit values atomic on a 64-b
- How to start PowerShell (x86) in Windows Docker Co
- How to determine, in Java, whether another process
- how can I get the ARM MULL instruction to produce
- JAR compiled on 64 bit Windows wont run on 32 bit
相关文章
- Why windows 64 still makes use of user32.dll etc?
- Change jdk path in IntelliJ 13 when compiling from
- How to check 64/32-bit in Inno setup
- Is it possible to set the install mode in Inno Set
- Switch from 32bit mode to 64 bit (long mode) on 64
- machine type (C++ librairies) : i386 vs x86_64
- How to know a process of an app is 32-bit or 64-bi
- Inno Setup 32bit and 64bit dll installation
There does not appear to be any 32/64bit detection support inherent in autorun.inf files.
The convention that most applications which supply a 32 and 64 bit MSI follow is similar to the second option you mention.
You can use a custom action to detect the OS, then call the right installer.
I've given an example here: Single MSI to install correct 32 or 64 bit c# application