You'll need this:
http://robmensching.com/blog/posts/2010/5/2/the-wix-toolsets-remember-property-pattern

That is a really dangerous design, by the way.


On Fri, Mar 22, 2013 at 4:26 AM, AK <kisslo...@gmail.com> wrote:

> Hi!
> I try to implement major upgrade and find some issue:
> Msi code has some action, wich write Property value to the registry:
>       <RegistryKey Root="HKLM" Key="[UninstallKey][BUNDLEGUID]"
> ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes">
>         <RegistryValue Id="WriteSomeValue" Name="ValueName" Value="[Value]"
> Type="string" />
>       </RegistryKey>
> I konw, that`s a wrong way, but it was already used.
> If I run my MBA to install or uninstall product, everything is ok, but when
> new version of the my msi start RemoveExistingProducts action, obsoleted
> msi
> is starting with no custom arguments(BundleVariables), it will cause
> removing the registry key [UninstallKey] wholly, because BUNDLEGUID
> property
> will be empty.
>
> Is some way available to pass some custom arguments to obsoleted msi?
>
> Alexey.
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-pass-some-arguments-during-major-upgrade-to-obsoleted-msi-to-prevent-removing-RegistryKey-tp7584535.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to