Re: [WiX-users] properties form previous versions

2006-09-26 Thread Wilson, Phil
d be after TARGETDIR is set, and I'd condition it on Not Installed. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Gnauck Sent: Friday, September 22, 2006 2:33 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] propertie

Re: [WiX-users] properties form previous versions

2006-09-25 Thread Bob Arnson
Alexander Gnauck wrote: > Is there a way to do this with "standard" Wix commands, > or only with a custom action and a native dll. > Write the values using RegistryKey/RegistryValue elements and load them using RegistrySearch. -- sig://boB http://bobs.org --

Re: [WiX-users] properties form previous versions

2006-09-22 Thread Alexander Gnauck
Wilson, Phil wrote: > The standard way to persist that ("the main application directory") is > to use a type 51 custom action and set the ARPINSTALLLOCATION property, > then it will get persisted in the MSI way (meaning that > MsiGetProductInfo with INSTALLPROPERTY_INSTALLLOCATION and other > stand

Re: [WiX-users] properties form previous versions

2006-09-21 Thread Wilson, Phil
The standard way to persist that ("the main application directory") is to use a type 51 custom action and set the ARPINSTALLLOCATION property, then it will get persisted in the MSI way (meaning that MsiGetProductInfo with INSTALLPROPERTY_INSTALLLOCATION and other standard APIs can get it). Phil W

Re: [WiX-users] properties form previous versions

2006-09-21 Thread Wilson, Phil
sday, 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 element of the to retrieve > previous user-selected property values on uninstalls. I think you > could do the same thing for up

Re: [WiX-users] properties form previous versions

2006-09-21 Thread Alexander Gnauck
Hello David, > I use the element of the to retrieve previous > user-selected property values on uninstalls. I think you could do the same > thing for updates. > > > Type="raw" >Key="SOFTWARE\YourCompany\YourSection\YourKey" > /> > > > In this case, the p

Re: [WiX-users] properties form previous versions

2006-09-21 Thread david adams
Alex: I use the element of the to retrieve previous user-selected property values on uninstalls. I think you could do the same thing for updates. 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 val