During install I set the following registry key value in order to be able to 
access that property value again during uninstall passes.

    <RegistryKey Root="HKLM" 
Key="$(var.SoftwareKey)\Microsoft\!(loc.ProductKey)">
        <RegistryValue Name="DATABASEHOST" Type="string" Value="[DATABASEHOST]" 
/>
    </RegistryKey>

I'm using the following public property registry search assignment in order to 
retrieve that value during uninstall passes so that commands which need it set 
to what was used during install pass will have it
    <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?
-------------------------------------------------------------------------
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

Reply via email to