Hi Brett,
This worked for me. I created a dummy registry key with the same name as yours.
Since the dummy key was not in wow64node, I put win64=yes.
I put a value in the key as "VERSION" and put the value as some directory,"
C:\backup"
<Property Id="REPORTINGSERVICESPROP" Secure="yes">
<RegistrySearch Id="SQLSEARCH" Root="HKLM"
Key="Software\MyTestKey\MSRS10_50.MSSQLSERVER" Name="VERSION" Type="raw"
Win64="yes" />
</Property>
This is from the logs:
AppSearch: Property: REPORTINGSERVICESPROP, Signature: SQLSEARCH
MSI (c) (D4:6C) [13:18:20:995]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (D4:6C) [13:18:20:995]: PROPERTY CHANGE: Adding REPORTINGSERVICESPROP
property. Its value is 'C:\backup'.
--Pavan
-----Original Message-----
From: Brett Faurot [mailto:[email protected]]
Sent: Tuesday, June 10, 2014 12:51 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] RegistrySearch doesn't find Key
Thank you Phil and Pavan,
I have tried explicitly calling out 64-bit and specifying type="directory" but
it still fails to find it. The only difference I can tell between this use and
others in the installer are the . and _ in the key. I was wondering if that was
throwing the registrysearch off. It's frustrating when such a simple thing
causes a dead stop in work.
-----Original Message-----
From: Phil Wilson [mailto:[email protected]]
Sent: Saturday, June 07, 2014 1:56 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] RegistrySearch doesn't find Key
..and also don't forget there are 64-bit and 32-bit registries so you may need
to explicitly choose one.
---------------
Phil Wilson
On Fri, Jun 6, 2014 at 12:43 PM, Pavan Konduru <[email protected]>
wrote:
> Try putting type ="directory"
>
> -----Original Message-----
> From: Brett Faurot [mailto:[email protected]]
> Sent: Friday, June 06, 2014 12:32 PM
> To: [email protected]
> Subject: [WiX-users] RegistrySearch doesn't find Key
>
> I'm having problems using a registrysearch. I'm trying to get the install
> location of MS SQL Reporting Services by checking the registry; but, my
> installer is failing the find the key.
> <Property Id="REPORTINGSERVICESPROP">
> <RegistrySearch Id="SqlSearch" Root="HKLM"
> Key="Software\Microsoft\Microsoft SQL Server\MSRS10_50.MSSQLSERVER"
> Name="test" Type="raw" /> </Property>
>
> This same method is used successfully many other times in this installer.
> Also, I can successfully populate the property looking for a value when the
> Key="Software\Microsoft\Microsoft SQL Server". It seems to be only once I
> introduce MSRS10_50.MSSQLSERVER that the registrysearch fails and the
> property fails to populate. Any ideas?
>
> Thanks,
> Brett
>
>
> ----------------------------------------------------------------------
> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph
> Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field, this first
> edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ----------------------------------------------------------------------
> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph
> Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field, this
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the
definitive new guide to graph databases and their applications. Written by
three acclaimed leaders in the field, this first edition is now available.
Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find
What Matters Most in Your Big Data with HPCC Systems Open Source. Fast.
Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems _______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users