clarify 64-bit checkbox in software prerequisite - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jtss
Posts: 15
Joined: Wed Nov 05, 2008 3:23 am

clarify 64-bit checkbox in software prerequisite

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
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: clarify 64-bit checkbox in software prerequisite

Hi,

The "64-bit" checkbox makes Windows treat the prerequisite as a 64-bit installation package. Since a 64-bit installation automatically uses the 64-bit part of the registry, the prerequisite marked with this option will also use the 64-bit registry.

We will try to explain this better in the User Guide. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”