I've just tried to set transitive="yes" for InstallParamsComponent
component. It didn't help. 

But I gather that if this attribute is set to "yes", the installer
reevaluates the statement in the Condition upon a reinstall and either
removes or installs the component. It is not exactly what I need; I just
want this component to be reinstalled every time an installation package is
run.

Best regards,
Natalia Gladkova 

-----Original Message-----
From: p...@hoaske.dk [mailto:p...@hoaske.dk] 
Sent: Monday, April 06, 2009 2:33 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Registry values are not updated during "Change"

Hi Natalia,

tried setting transitive=yes for the parent component(s)?

Kind regards,

Hans



On Mon, April 6, 2009 12:12, Natalia wrote:
>
> Hello all,
>
> I'm storing installation parameters in the registry.
>
> The code is the following:
>
> --
> <DirectoryRef Id='INSTALLDIR'>
>       <Component Id='InstallParamsComponent' Guid='MyGUID'>
>               <Registry Id='Authentication' Root='HKLM'
Key='SOFTWARE\MyApplication'
> Name='DBAuthentication'       Action='write' Type='string'
> Value='[AUTHENTICATION]' />
>               <Registry Id='InstallMode' Root='HKLM'
Key='SOFTWARE\MyApplication'
> Name='DBInstallMode'  Action='write' Type='string' Value='Update' />
>       </Component>
> </DirectoryRef>
>
>
> <Feature Id="Registry" Display="hidden" Title="Registry" Level="1">
>       <ComponentRef Id="InstallParamsComponent"/>
> </Feature>
> --
>
> All works as I expected it to while installing and uninstalling. But if I
> choose "Change" mode on the "MaintenanceType" dialog and change these
> parameters during installation, the values in the registry are not
> updated.
>
> What should I do to make my installation package update these registry
> values?
> Any ideas will be greatly appreciated.
> --
> View this message in context:
>
http://n2.nabble.com/Registry-values-are-not-updated-during-%22Change%22-tp2
592315p2592315.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
>
----------------------------------------------------------------------------
--
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



----------------------------------------------------------------------------
--
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to