64bit folder path and registry help! - 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!

clarkjason
Posts: 4
Joined: Thu May 27, 2010 10:08 pm

64bit folder path and registry help!

My installer has two simple actions. 1. copy files and 2. add to registry.

1. I need to copy to "C:\Program Files\myCompany\services\V3" which I have set as the application folder in install parameters.
2. I need to add to the registry in "HKEY_LOCAL_MACHINE\SOFTWARE\myCompany\myProduct"

However on a 64bit machine the following happens.

1. files go into C:\Program Files (x86)\myCompany\services\V3.
2. registry gets added to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\myCompany\myProduct

How do I hard code these two paths to they are the same for 32bit and 64bit?

(note: this is the first time moving over to this installer from another vendor and telling the developers to code for different paths is not going to happen )

thanks in advance,
jason
clarkjason
Posts: 4
Joined: Thu May 27, 2010 10:08 pm

Re: 64bit folder path and registry help!

Update. Managed to do a Set property "APPDIR" on the welcome dialog next button top overide the default install path.

Anyone any ideas how I can overriide the BASE registry path?
i.e. set it to "HKEY_LOCAL_MACHINE\SOFTWARE\" ?????

Jason
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: 64bit folder path and registry help!

Hi Jason,

You can use a mixed 32/64bit package. To do so, you can set the Installation Type to mixed 32/64 matching the platform, from the Install Parameters page in an Enterprise project.

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

Return to “Common Problems”