Thanks for the explanation, Blair!

-- Yan

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Tuesday, November 24, 2009 07:59
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Patching: weird numbers forMedia.DiskId
andFile.Sequence

From: http://blogs.msdn.com/heaths/archive/2006/05/19/602133.aspx


"Prior to Windows Installer 2.0 you had to guarauntee uniqueness of file
sequence numbers for both the installer package for all patches, but
starting with Windows Installer 2.0 you need only ensure that file
sequences
numbers are correct for a given package since Windows Installer 2.0 and
newer will automatically adjust file sequence number as necessary."

I assume this is Windows Installer adjusting the file sequence number as
necessary.

-----Original Message-----
From: Yan Sklyarenko [mailto:y...@sitecore.net] 
Sent: Monday, November 23, 2009 1:29 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patching: weird numbers for Media.DiskId
andFile.Sequence

Any ideas? Anyone?

-- Yan

-----Original Message-----
From: Yan Sklyarenko [mailto:y...@sitecore.net] 
Sent: Friday, November 20, 2009 11:59
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Patching: weird numbers for Media.DiskId
andFile.Sequence

Hello WiX Community,

I have been analyzing the log file of my patch installation, and faced
with a weird numbers I don't know the origin of. Here's the snippet:

"
...
TRANSFORM: The minimum 'Media.DiskId' value inserted by a patch
transform is 100
TRANSFORM: The maximum 'Media.DiskId' value inserted by a patch
transform is 99
TRANSFORM: The minimum 'File.Sequence' or 'Patch.Sequence' value
inserted by a patch transform is 10000
TRANSFORM: The maximum 'File.Sequence' or 'Patch.Sequence' value
inserted by a patch transform is 9999.
...
"

Googling this stuff proved that it is not only specific to my
installation, but can be seen in many others. My question is where those
numbers come from???

The Media/@Id value of my patch is 200. When I apply the patch manually
in Orca, I can see another row being correctly added to the Media table
with 200 in DiskId column. But when I query that table from my immediate
custom action like this
     SELECT DISTINCT `PatchPackage`.`PatchId`, `Media`.`LastSequence`
FROM `PatchPackage`, `Media` WHERE `PatchPackage`.`Media_` =
`Media`.`DiskId` ORDER BY `LastSequence`  (according to Heath Stewart
blog entry)

it returns 10001 as last sequence. I assume this is somehow related to
the strange numbers above.

Can anyone suggest where to look for the explanation? Please, help...

Thank you,  

-- Yan



------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
----
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus
on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to