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
- :
- Re: Prerequisite falsely triggered on 64bit OS
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 06, 2011
10:59 AM
Prerequisite falsely triggered on 64bit OS
I have an InstallShield 2011 MSI project that installs a PDF printer as a prequisite. I have setup this prerequisite to install based on the presence of a registry entry that is located in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CussrentVersion\Uninstall\pdfkey. I have checked the radio button for 64 bit to use 32bit setting, however the prerequisite ALWAYS appears as a prerequisite on 64bit OS even when the printer is already installed unless I put a fake entry in the HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\pdfkey
Why is it still looking in the WOW6432Node registry when I'm telling it to use the 32bit? Is this a known issue?
Why is it still looking in the WOW6432Node registry when I'm telling it to use the 32bit? Is this a known issue?
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 06, 2011
12:10 PM
The WOW6432Node area is the 32-bit area; the 64-bit areas do not have that prefix.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 06, 2011
01:11 PM
What selection, Default, 32 or 64 do I select to get it to work correctly in a 64bit OS if the registry entry is here HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CussrentVersion\Uninstall\pdfkey? I tried the settings of both 32 and 64, and it still tried installing when it was already present.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 09, 2011
12:17 PM
If you always want to look in HKLM\Software\Microsoft\Windows\... then specify 64-bit. You may want to verify that the relevant key is actually stored in the 64-bit uninstall area. Also check out if there's anything useful in the log generated by setup.exe /debuglog, as that may help diagnose exactly what it's looking for.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 11, 2011
10:58 AM
I changed the Prerequisite Condition for a 64bit OS to look for this entry and now it works correctly, HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\Currentversion\Print\Printers\PDFkey
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 11, 2011
05:09 PM
That location is the 32-bit location, so I would expect specifying either 32-bit or default with this key would work (note lack of Wow6432Node; redirection will "insert" it):
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Currentversion\Print\Printers\PDFkey
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Currentversion\Print\Printers\PDFkey