It knows all your paths because given a ProductCode and a component guid it can use things like MsiGetComponentPath to find them. "it knows all your properties" is too general to reply to, but it certainly doesn't persist the values of properties that you create during your first install (unless they are standard properties persisted as part of its usual behavior, like MsiGetProductInfo can get your Manufacturer property, your version, company).
Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Gnauck Sent: Thursday, September 21, 2006 6:24 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] properties form previous versions 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=DEVDE V _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- 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