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
- :
- Prerequisites, processor type, and silent installation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 20, 2010
03:58 AM
Prerequisites, processor type, and silent installation
I have a basic MSI project that has both a 32-bit product configuration and a 64-bit product configuration (each with a setup.exe). Both configurations have the same set of prerequisites which include 32-bit installers.
Although 64-bit apps can't run on 32-bit machines, one of our test cases is to attempt to run the 64-bit installer on a 32-bit machine. Running setup.exe for the 64-bit installer non-silently on a 32-bit machine displays the error dialog "This installation package is not supported by this processor type..." as expected, and neither the prerequisites nor the main product get installed. However, when it is run silently, the prerequisites do get installed (unexpected behavior), but not the main product (expected behavior).
Is there a way I can conditionalize the prerequisites such that they get installed in the following scenarios:
- the bootstrapper for my 32-bit installer is run on 32-bit machines
- the bootstrapper for my 32-bit installer is run on 64-bit machines
- the bootstrapper for my 64-bit installer is run on 64-bit machines
but not when the bootstrapper for my 64-bit installer is run on 32-bit machines?
Again, this problem only happens during a silent install.
Any help would be greatly appreciated.
Thanks,
Lora
Although 64-bit apps can't run on 32-bit machines, one of our test cases is to attempt to run the 64-bit installer on a 32-bit machine. Running setup.exe for the 64-bit installer non-silently on a 32-bit machine displays the error dialog "This installation package is not supported by this processor type..." as expected, and neither the prerequisites nor the main product get installed. However, when it is run silently, the prerequisites do get installed (unexpected behavior), but not the main product (expected behavior).
Is there a way I can conditionalize the prerequisites such that they get installed in the following scenarios:
- the bootstrapper for my 32-bit installer is run on 32-bit machines
- the bootstrapper for my 32-bit installer is run on 64-bit machines
- the bootstrapper for my 64-bit installer is run on 64-bit machines
but not when the bootstrapper for my 64-bit installer is run on 32-bit machines?
Again, this problem only happens during a silent install.
Any help would be greatly appreciated.
Thanks,
Lora
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 23, 2010
01:31 PM
Anyone have any input on this?
To put it another way, is there a way that setup.exe can tell 1) if it's associated with my 32-bit msi or my 64-bit msi AND 2) what the processor type of the target machine is?
Thanks,
Lora
To put it another way, is there a way that setup.exe can tell 1) if it's associated with my 32-bit msi or my 64-bit msi AND 2) what the processor type of the target machine is?
Thanks,
Lora
