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-tp2592315p2592315.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

Reply via email to