Hi, Yes I finally found an answer, im now using this:
<Property Id="PRODUCTINSTALLED">
<RegistrySearch Id="PRODUCTINSTALLED" Root="HKLM"
Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\mainmenuserver"
Name="VersionID" Type="raw" Win64="no" />
</Property>
<Property Id="PRODUCTINSTALLEDX64">
<RegistrySearch Id="PRODUCTINSTALLEDx64" Root="HKLM"
Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\mainmenuserver"
Name="VersionID" Type="raw" Win64="yes" />
</Property>
It seems to work ok(I think) :)
Thanks
-----Original Message-----
From: Neil Sleightholm [mailto:[email protected]]
Sent: 16 August 2012 14:19
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] RegistrySearch
That looks ok but you don't normally reference WOW6432Node as that
redirection happens automatically if your msi is 32bit.
Neil
-----Original Message-----
From: Natalie Carr [mailto:[email protected]]
Sent: 16 August 2012 2:08 PM
To: [email protected]
Subject: [WiX-users] RegistrySearch
Can anyone tell me if I have done anything wrong here, it does not seem to
be working. And also do I have to call a custom action to run this search?
Whats my best way for testing it?
<Property Id="PRODUCTINSTALLED">
<RegistrySearch Id="PRODUCTINSTALLED" Root="HKLM"
Key="SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\mainmen
userver" Name="VersionID" Type="raw" />
</Property>
Kind Regards,
Natalie Carr
----------------------------------------------------------------------------
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------------
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users