Yet another reason to schedule RemoveExistingProducts late (requires a more
strict observance of the component rules).

Your only other option is to bootstrap the runtime's installation using a
separate MSI (or use the Microsoft-supplied EXEs).

-----Original Message-----
From: Simon Jackson [mailto:simon.jack...@red-gate.com] 
Sent: Friday, February 12, 2010 3:46 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Permanent Merge Modules

So yes, if the users has another application else which references the
modules, then they won't get uninstalled.  But this isn't true for most
users.

Currently our product does an uninstall & reinstall to do an upgrade, and
this results (excluding the previous case) in uninstalling and reinstalling
the merge modules (since the ref count goes to 0, then back to 1).  This
adds around 8 minutes to the upgrade process, which I'd rather avoid.  I was
hoping I could stop the uninstall happening, and then our upgrade would be
fast again.


Simon
________________________________________
From: Kim Gybels [kim.gyb...@metris.com]
Sent: 12 February 2010 17:12
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Permanent Merge Modules

Just use the merge modules like you did. Don't bother with trying to
make them permanent.
The components in the merge modules will use reference counting.
So if other applications install the same merge modules (or use the
redistributable exe from MS)
the components will not be uninstalled when your application is uninstalled.

BTW: I took a quick peek at the merge modules from MS and they didn't
bother to mark the components in their merge modules as permanent.

- Kim

Simon Jackson wrote:
> Am I correct in thinking that you mean we should just call the .exe which
comes from Microsoft, which would install the same components as the merge
modules?  If that's the case then there's a slight problem.  The .exes
provided are very slow, much slower than the merge modules are to install.
>
> Sorry if I've misread that, and sorry for not mentioning it in the
previous email!
>
> Simon
>
> -----Original Message-----
> From: Pally Sandher [mailto:pally.sand...@iesve.com]
> Sent: 12 February 2010 16:29
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Permanent Merge Modules
>
> That's not what merge modules are for. Remove them from your installer &
> bootstrap the redistributable instead.
>
> Palbinder Sandher
> Software Deployment & IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the <Virtual Environment>**
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park,
> Glasgow G20 0SP
> Email Disclaimer
>
>
> -----Original Message-----
> From: Simon Jackson [mailto:simon.jack...@red-gate.com]
> Sent: 12 February 2010 13:24
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Permanent Merge Modules
>
> Hello,
>
> I'm using WiX to install some merge modules by doing:
> <Merge Id="Microsoft_VC90_CRT_x86" Language="1033"
> SourceFile="Microsoft_VC90_CRT_x86.msm" DiskId="1"/>
>                 <Merge Id="policy_9_0_Microsoft_VC90_CRT_x86"
> Language="1033" SourceFile="policy_9_0_Microsoft_VC90_CRT_x86.msm"
> DiskId="1"/> And then in my feature:
> <MergeRef Id="Microsoft_VC90_CRT_x86"/>
> <MergeRef Id="policy_9_0_Microsoft_VC90_CRT_x86"/>
>
> They install fine with the product.  However I would now like to leave
> the merge modules installed when my feature is removed.  The Permanent
> option on Component sounds like what I want, but I can't see a way of
> applying it to the merge modules.
>
> How should I go about doing this?
>
> Thanks
>
> Simon
>
> ------------------------------------------------------------------------
> ------
> SOLARIS 10 is the OS for Data Centers - provides features such as
> DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10
> NOW http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
----------------------------------------------------------------------------
--
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
----------------------------------------------------------------------------
--
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> This message and any attachment are privileged, confidential and contain
private information. If you are not the addressee named above any
disclosure, reproduction, copying, distribution, or other dissemination or
use of this communication is prohibited. If you have received this
transmission in error, please notify the sender immediately and destroy this
e-mail. Nikon Metrology does not guarantee that the integrity of this
communication has been maintained or that
> this communication is free of viruses, interceptions or interference, and
shall not be liable for the improper or incomplete transmission of the
information contained in this communication nor for any delay in its receipt
or damage to your system. Incoming and outgoing email communications may be
monitored by Nikon Metrology, as permitted by applicable law and
regulations.
> .
>
>


--

* *


        *Kim Gybels
Software Developer
* kim.gyb...@nikonmetrology.com <mailto:kim.gyb...@nikonmetrology.com>
Tel: +32 16 74 01 00
Fax: +32 16 74 01 03

*Nikon Metrology Europe NV*
Interleuvenlaan 86
3001 Leuven
Belgium
www.nikonmetrology.com <http://www.nikonmetrology.com/>


This message and any attachment are privileged, confidential and contain
private information. If you are not the addressee named above any
disclosure, reproduction, copying, distribution, or other dissemination or
use of this communication is prohibited. If you have received this
transmission in error, please notify the sender immediately and destroy this
e-mail. Nikon Metrology does not guarantee that the integrity of this
communication has been maintained or that
this communication is free of viruses, interceptions or interference, and
shall not be liable for the improper or incomplete transmission of the
information contained in this communication nor for any delay in its receipt
or damage to your system. Incoming and outgoing email communications may be
monitored by Nikon Metrology, as permitted by applicable law and
regulations.

----------------------------------------------------------------------------
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

----------------------------------------------------------------------------
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to