I have the following tag in my file

   <Property Id="INSTALLDIR">
        <RegistrySearch Id="PetrelRegistry64" Type="raw" Root="HKLM"
Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AAAA}"
Name="InstallLocation" Win64="yes" />
    </Property>


In the end the the INSTALLDIR should have the installation directory of the
application:

The key is found in the registry and it says:

C:\Program Files\Company\MyProduct\

This is correct, the product assemblies are location in this installation.

but when I get the value of the INSTALLDIR property it says:

C:\Program Files (x86) \Company\MyProduct\

At which this path does not exist...


My current platform is Vista x64 the application is also 64 bit.

Is there a tag that I am missing in the WIX RegistrySearch?

-- 
View this message in context: 
http://www.nabble.com/Reading-the-InstallLocation-from-the-value-from-the-registry-give-incorrect-value.-tf4964414.html#a14220481
Sent from the wix-devs mailing list archive at Nabble.com.


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to