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
- :
- More on 36-bit 64-bit 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
May 01, 2012
11:35 AM
More on 36-bit 64-bit installation
N.B. I am creating an InstallScript MSI project in the Professional version of InstallShield.
I have a project that contains both 32-bit and 64-bit installation of my product.
They are in separate configurations.
They seem to work perfectly well as they are.
However, I wish to be able to enforce the use of the relevant 32-bit or 64-bit installation on the corresponding 32-bit or 64-bit OS.
I use 'Release Flags' to filter the Features and components.
Q. Is it possible to determine those flags during execution of the InstallScript ?
Q. Are any of the attributes (that may be set) in the project panes available to the running InstallScript i.e. may be used to signal which of the scripts is running ?
Q. Does anyone have a better mechanism to discover which install (32-bit, 64-bit) is running for this dual configuration project.
N.B. I do name the output files differently i.e. not both 'setup.exe'.
Q. Would I be able to test the setup files name during the install ?
Thank you in advance for any assistance.
I have a project that contains both 32-bit and 64-bit installation of my product.
They are in separate configurations.
They seem to work perfectly well as they are.
However, I wish to be able to enforce the use of the relevant 32-bit or 64-bit installation on the corresponding 32-bit or 64-bit OS.
I use 'Release Flags' to filter the Features and components.
Q. Is it possible to determine those flags during execution of the InstallScript ?
Q. Are any of the attributes (that may be set) in the project panes available to the running InstallScript i.e. may be used to signal which of the scripts is running ?
Q. Does anyone have a better mechanism to discover which install (32-bit, 64-bit) is running for this dual configuration project.
N.B. I do name the output files differently i.e. not both 'setup.exe'.
Q. Would I be able to test the setup files name during the install ?
Thank you in advance for any assistance.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 02, 2012
04:13 AM
I have found one possible solution:
You can configure 'Processor Defines' under a specific configuration.
I have then tested for these with #ifdef in the OnBegin handler, and abort the installation with a message to the user.
However, this does mean the "Preparing to install" dialog appears before the message and the "Wizard completed dialog appears afterwards".
If anyone knows how to prevent the display of these two dialogs in this situation (aborting when using the wrong setup file on a system) please let me know.
Thanks.
You can configure 'Processor Defines' under a specific configuration.
I have then tested for these with #ifdef in the OnBegin handler, and abort the installation with a message to the user.
However, this does mean the "Preparing to install" dialog appears before the message and the "Wizard completed dialog appears afterwards".
If anyone knows how to prevent the display of these two dialogs in this situation (aborting when using the wrong setup file on a system) please let me know.
Thanks.