Re: [WiX-users] Problem writing registry values

2007-07-27 Thread Anidil
Hooray...Fantastic!! it works!!! appreciate :)) And i get error message while trying to update binary values though..code is as follows http://schemas.microsoft.com/wix/2006/wi"; /> Any similar suggestions? Daryn Mitchell wrote: > > Anidil, > > Does it help

Re: [WiX-users] Problem writing registry values

2007-07-26 Thread Daryn Mitchell
Anidil, Does it help if you pass Value='1' instead of Value='#0x0001(1)'? Daryn. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil [...] Now that i don't get permission denied message after prefexing # for all the DWORD types as follows :

Re: [WiX-users] Problem writing registry values

2007-07-26 Thread Anidil
I'm using WIX 2.0 and i have mentioned the "type" attribute in the registry tag as given in my code.. But it doesn't seems to work as expected :( John Hall-9 wrote: > >> Oki..The ReistryKey and RegistryValue tags are used only with >> WiX 3.0 right? > > Yes. Under WiX 2.0, you seem to just us

Re: [WiX-users] Problem writing registry values

2007-07-26 Thread John Hall
> Oki..The ReistryKey and RegistryValue tags are used only with > WiX 3.0 right? Yes. Under WiX 2.0, you seem to just use the Registry element, which also has a Type attribute: Cheers, John - This SF.net email is sponso

Re: [WiX-users] Problem writing registry values

2007-07-26 Thread Anidil
Oki..The ReistryKey and RegistryValue tags are used only with WiX 3.0 right? John Hall-9 wrote: > >> I have tried prefexing # for all the DWORD types but after >> running the MSI i see that the registry is getting updated as >> type REG_SZ > > Looks like I misled you - the RegistryValue ele

Re: [WiX-users] Problem writing registry values

2007-07-26 Thread John Hall
> I have tried prefexing # for all the DWORD types but after > running the MSI i see that the registry is getting updated as > type REG_SZ Looks like I misled you - the RegistryValue element has a 'Type' attribute, which you can set to 'integer': Cheers, John --

Re: [WiX-users] Problem writing registry values

2007-07-26 Thread Anidil
I have tried prefexing # for all the DWORD types but after running the MSI i see that the registry is getting updated as type REG_SZ John Hall-9 wrote: > >> It seems that MSI cannot write REG_DWORD type values to >> registry..Wht is the workaround for this? > > Anidil, > > The documentation

Re: [WiX-users] Problem writing registry values

2007-07-26 Thread John Hall
> It seems that MSI cannot write REG_DWORD type values to > registry..Wht is the workaround for this? Anidil, The documentation for the registry table in MSI says: "This column is the localizable registry value. The field is Formatted. If the value is attached to one of the following prefixes (

Re: [WiX-users] Problem writing registry values

2007-07-26 Thread Anidil
It seems that MSI cannot write REG_DWORD type values to registry..Wht is the workaround for this? Anidil wrote: > > I'm using the following code to write an integer value to windows > registry. > > Key='Software\Wow6432Node\Product\Notification' Name='Notification Sounds > Enabled' > Act

[WiX-users] Problem writing registry values

2007-07-25 Thread Anidil
I'm using the following code to write an integer value to windows registry. It gives me a permission denied to access the specified registry key message while running the msi. any help? -- View this message in context: http://www.nabble.com/Problem-writing-registry-values-tf4149618.html#a11