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
- :
- Prevent 64 bit installer on 32 bit machine
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
‎Jun 02, 2006
09:42 AM
Prevent 64 bit installer on 32 bit machine
Is there a way in ISMP11.5 to set the executables to only run on a 64 bit machine? I saw that there was the Template Summary in previous versions but I can't locate this in ISMP11.5. Would I have to use a Custom Action to find out what machine type and then restrict? any hints, code segments would be great.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 07, 2006
11:34 AM
The Template Summary property only exists in MSI type projects. In ISMP, you can detect 64-bit Windows using either the "Windows 2003 on Itanium" or "Windows 2003 on AMD64" platform conditions. Those conditions are available on the platform wizard bean condition or platform product bean condition.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 08, 2006
12:48 PM
I didn't think about that, but i did get it to work by using a string comparision between $E(PROCESS_IDENTIFIER) and a regular expression to determine if the processor was x86 based [I can post the reg exp if you'd like I just don't have the window open right now]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 26, 2007
05:28 AM
Hi napalmer,
I have also a requirement in my ISMP project where I want executables to only run on a 64 bit machine. Could you please post the regular expression that you have created? I would appreciate a quick response as its an urgent need.
I also want to prevent 32 bit executables on 64 bit os. Could you suggest a way to achieve this?
Thanks
I have also a requirement in my ISMP project where I want executables to only run on a 64 bit machine. Could you please post the regular expression that you have created? I would appreciate a quick response as its an urgent need.
I also want to prevent 32 bit executables on 64 bit os. Could you suggest a way to achieve this?
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 27, 2007
03:13 PM
The easiest way to go about this is to add a Platform Product Bean condition to your root product bean. When you edit the Platform property of the condition, you should see a Predefined tab and a Custom tab.
I suggest creating a Custom platform using a Predefined platform as a base and edit the Architecture property. In your case, you would say x64 or IA64. All it does is check os.arch and compare the result with whatever you specified under that property.
I suggest creating a Custom platform using a Predefined platform as a base and edit the Architecture property. In your case, you would say x64 or IA64. All it does is check os.arch and compare the result with whatever you specified under that property.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 21, 2007
07:49 AM
To fix this problem I implemented this code
www.byteshift.com
// check if 64 bits
if(!(SYSINFO.bIsWow64 > 0)) then
MessageBox("Can only install on 64-bit platform. Aborting...",SEVERE);
abort;
endif;
www.byteshift.com