Theres an answer in Peter Marcu's blog at
http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx#879001
6

which says the ID has to be above the last sequence number of the
*baseline* you are targetting, so it sounds like you are doing it right.

-----Original Message-----
From: Yan Sklyarenko [mailto:y...@sitecore.net] 
Sent: 16 December 2009 14:26
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Patch/Media/@Id question

Hello WiX community,

I have a simple question, just to make sure.
When creating a patch, should I always change Patch/Media/@Id attribute
between patches?

For instance, I have Patch1.wxs, which is to be applied to RTM
(baseline), and Patch2.wxs, which is to be applied to RTM+Patch1. In
Patch1.wxs I have <Media Id="5000" ... />, and in Patch2.wxs I also have
<Media Id="5000" ... />. It seems to work fine, but is it absolutely
correct?

The tutorial says this Id should be "larger than any Media/@Id found in
the installation packages". By installation packages the base MSI is
meant here, right? 

I made a conclusion that if Media/@Id in all my MSI packages of this
product never reach 5000, than it is safe to put Patch/Media/@Id="5000"
in every single patch of this product.

Is it correct?

Thank you,

-- Yan


------------------------------------------------------------------------
------
This SF.Net email is sponsored by the Verizon Developer Community Take
advantage of Verizon's best-in-class app development support A
streamlined, 14 day to market process makes app distribution fast and
easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.  
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to