Thanks. Looking at the AppSearch section I see that it is now getting set but
this is possibly because I added the additional registry search entries I've
shown below. Is there any way to review the AppSearch section where you see
the property value being modified by the AppSearch hit and determine what
specific registry search entry was the one that triggered the property value
assignment?
MSI (s) (E4:A8) [09:11:52:634]: PROPERTY CHANGE: Modifying DATABASEHOST
property. Its current value is '[%ComputerName]'. Its new value: 'myDevEnv01'.
<Property Id="DATABASEHOST" Value="[%ComputerName]">
<RegistrySearch Id="DatabaseHostSearch1" Type="raw" Root="HKLM"
Key="$(var.SoftwareKey)\Microsoft\!(loc.ProductKey)"
Name="DATABASEHOST" />
<RegistrySearch Id="DatabaseHostSearch2" Type="raw" Root="HKLM"
Key="$(var.SoftwareKey)\Microsoft\Microsoft SQL
Server\Services\NotificationServices\Instances\EventingMSSolveInstance"
Name="DBServer" />
<RegistrySearch Id="DatabaseHostSearch3" Type="raw" Root="HKLM"
Key="$(var.SoftwareKeyX86)\Microsoft\Microsoft SQL
Server\Services\NotificationServices\Instances\EventingMSSolveInstance"
Name="DBServer" />
</Property>
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 29, 2008 7:55 AM
To: Robert O'Brien
Cc: 'wix-users@lists.sourceforge.net'
Subject: Re: [WiX-users] public property registry search assignment not working
during uninstall passes
Robert O'Brien wrote:
<Property Id="DATABASEHOST" Value="myDatabaseHost">
<RegistrySearch Id="DatabaseHost" Type="raw" Root="HKLM"
Key="$(var.SoftwareKey)\Microsoft\!(loc.ProductKey)"
Name="DATABASEHOST" />
</Property>
Looking at my verbose logs my public property "DATABASEHOST" during uninstall
passes is ending up with the default value versus the vale which I confirmed
was present in the registry after an install pass. Any insights as to what
I'm doing wrong here that would cause me to get that result?
Check the AppSearch action logging. If the property isn't set there, it means
AppSearch didn't find it.
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users