Hello David,

> I use the <RegistrySearch> element of the <Property> to retrieve previous 
> user-selected property values on uninstalls.  I think you could do the same 
> thing for updates.
> 
> <Property Id="YOUR_PROPERTY" Value="SomeValue">
>     <RegistrySearch Id="PropSearch" Root="HKLM" Name="YourKeyName" 
> Type="raw"
>                            Key="SOFTWARE\YourCompany\YourSection\YourKey"  
> />
> </Property>
> 
> In this case, the property value is retreived from the registry if found.  
> If the key is not found in the registry, then the property value is 
> defaulted to the @Value attribute.
> 
> I would think the same model would work with the <IniFileSearch> element of 
> the <Property> as well.

yes that is what i also do with my NON MSI installs. Write the stuff i 
need later in updates to the registry and retrieve it then again.

I thought there must be a simpler solution and the installer does that 
automatically. Because when you repair installations it knows all your 
paths, properties etc....

Alex


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to