Using advanced installer 6.7.1, I have a software prerequisite that is a 32-bit installshield package that installs drivers (either 32-bit or 64-bit driver, depending on the OS).
My install condition is a reg value HKLM\SOFTWARE\Classes\Installer\Products\<guid>\Version greater than a specific version number
If I don't check the 64-bit checkbox in the Properties pane of the Edit Prerequisite dialog (which I didn't think I should, since the setup package is 32-bit) then the registry check fails, which means it always tries to install the prereq and then doesn't run the rest of my setup, presumably because the registry check fails again after it installs the prereq.
It turns out that on x64, that regkey is only in the x64 part of the registry, not reflected.
(in my 32-bit app, I would have to set the KEY_WOW64_64KEY sam on RegOpenKeyEx to check that key successfully).
If I check that 64-bit checkbox, then everything works fine (on both 32-bit and 64-bit).
Please add some clarification to the help file about that 64-bit checkbox (i.e. it doesn't mean that it has to be a 64-bit software, but it also affects the registry check)
thanks,
JT
FOLLOW US
Get the latest news in Application Packaging