Re: [WiX-users] Registry Manipulation

2009-02-16 Thread Yu, Brian
discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registry Manipulation I'll give it a try again as I am obviously missing something. I am specifically referring to reinstall where REINSTALLMODE has option u meaning: Rewrite all required registry entries from the Registry Table

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Rob Mensching
Windows Installer XML toolset. Subject: Re: [WiX-users] Registry Manipulation I'll give it a try again as I am obviously missing something. I am specifically referring to reinstall where REINSTALLMODE has option u meaning: Rewrite all required registry entries from the Registry Table that go t

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Tony Juricic
or Windows Installer XML toolset. Subject: Re: [WiX-users] Registry Manipulation Would this really work? I ask because I have never managed to get conditions to work for Registry components. In my experience Registry is handled in bulk. All the components (i.e. Registry keys and values) either get created/

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Tony Juricic
nt: Monday, February 09, 2009 12:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registry Manipulation Yu, Brian wrote: > Is it possible for wix to search for existing registry value and if it > exists or equal to a certain value, then leave the registry unto

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Michael Urman
On Mon, Feb 9, 2009 at 11:46, Bob Arnson wrote: > Yu, Brian wrote: >> Is it possible for wix to search for existing registry value and if it >> exists or equal to a certain value, then leave the registry untouched >> >> But if it does not exist, then create? >> > > What's the difference between wr

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Bob Arnson
Yu, Brian wrote: > Is it possible for wix to search for existing registry value and if it > exists or equal to a certain value, then leave the registry untouched > > But if it does not exist, then create? > What's the difference between writing a value and leave it alone? The end result is sti

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Rob Mensching
: [WiX-users] Registry Manipulation Would this really work? I ask because I have never managed to get conditions to work for Registry components. In my experience Registry is handled in bulk. All the components (i.e. Registry keys and values) either get created/written or no. -Original Message

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Tony Juricic
[mailto:p...@hoaske.dk] Sent: Monday, February 09, 2009 9:39 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registry Manipulation Hi Brian, after doing the RegistrySearch the property "MYREGKEYPROP" will be assigned the value if the key exists. If the k

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread post
late for me, but I think it'll be a useful feature in the > future. > > > -Original Message- > From: p...@hoaske.dk [mailto:p...@hoaske.dk] > Sent: 09 February 2009 13:09 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Regist

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Yu, Brian
e.dk] Sent: 09 February 2009 13:09 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registry Manipulation Hi Brian, what about something along the lines of: NOT (MYREGKEYPROP~="A-value" OR MYREGKEYPROP~="YetNotSet") Regards, Hans

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread post
Hi Brian, what about something along the lines of: NOT (MYREGKEYPROP~="A-value" OR MYREGKEYPROP~="YetNotSet") Regards, Hans On Mon, February 9, 2009 12:19, Yu, Brian wrote: > Is it possible for wix to search for existing registry value an

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread Rob Hamflett
You could use RegistrySearch to set a property, and then use that property in a condition for the Component that contains your RegistryKey element. Rob Yu, Brian wrote: > Is it possible for wix to search for existing registry value and if it > exists or equal to a certain value, then leave the

[WiX-users] Registry Manipulation

2009-02-09 Thread Yu, Brian
Is it possible for wix to search for existing registry value and if it exists or equal to a certain value, then leave the registry untouched But if it does not exist, then create? Is it a combination of using RegistrySearch and RegistryKey? How would it work? Brian Yu