installing 32bit app on to 64bit machine - 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!

woody
Posts: 9
Joined: Thu Nov 19, 2009 3:53 pm

installing 32bit app on to 64bit machine

installing 32bit app on to 64bit machine and need to check the registry for 64bit platform. If it is a 64 bit machine then only need to change 3 registry entries and enviroment varibles. any ideas??
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: installing 32bit app on to 64bit machine

Hello,

The easy approach is checking for the VersionNT64 property, which is set on 64bit systems. You can use that to condition the install of 64bit components.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
woody
Posts: 9
Joined: Thu Nov 19, 2009 3:53 pm

Re: installing 32bit app on to 64bit machine

GabrielBarbu wrote:Hello,

The easy approach is checking for the VersionNT64 property, which is set on 64bit systems. You can use that to condition the install of 64bit components.

Best regards,
Gabriel

I can build a install for 32bit and for 64bit but i only want 1 msi that will do both. Then I have to build a silent install for both as well.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: installing 32bit app on to 64bit machine

Hi,

When using a MSI you can create a 32-bit package which installs different 32-bit items on 32-bit and 64-bit machines. To condition the items you can use the VersionNT64 property like Gabriel mentioned. However, if you want to install 32-bit items on 32-bit machine and 64-bit items on 64-bit machines the only solutions is to use a mixed 32/64-bit package which requires an EXE bootstrapper (you cannot use a MSI).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
woody
Posts: 9
Joined: Thu Nov 19, 2009 3:53 pm

Re: installing 32bit app on to 64bit machine

i have everything working except for writing two System eviroment varibles for Vista and Windows 7 64 bit. The install works great on XP. I have used the custom action like you said to. Any idea on why it is not working?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: installing 32bit app on to 64bit machine

Hello,

I am not sure what custom action you are talking about. Could you describe this in more detail?
Also, what exactly does not work with the system environment variables?

Best regards,
gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”