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
FOLLOW US
Get the latest news in Application Packaging