I'll answer my own question.
 
The solution turns out to be not using the Win2003 Platform SDK patching
exe and Patchwiz.dll but to use the same items from the Microsoft
Windows SDK for Windows Vista and .NET Framework 3.0 here!
 
http://www.microsoft.com/downloads/details.aspx?FamilyId=C2B1E300-F358-4
523-B479-F53D234CDCCF&displaylang=en
<blocked::http://www.microsoft.com/downloads/details.aspx?FamilyId=C2B1E
300-F358-4523-B479-F53D234CDCCF&displaylang=en> .
 
Kind regards,
National Oilwell Varco

John Crouch
Software Engineer/Developer

National Oilwell Norway AS
Phone: +4751818181
Direct:  +4751217563
Fax:     +4751800547
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
www.nov.com <http://www.nov.com/> 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Crouch,
John
Sent: Monday, December 10, 2007 12:36 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Failed to create patch. error code:0x34


Folks,
I'm getting the above error which translates into, "The range offset in
the RetainOffsets field in the FamilyFileRanges Table
<http://msdn2.microsoft.com/en-us/library/aa368575.aspx>  is invalid." ,
I think.
 
Again, I think this means that the Patch Sequence - sequence attribute
is wrong but I don't know why.  Has anyone got a hint for me?
Wix and msimsp logfiles are below. Using Wix 3.0.2925.0
 
msimsp.log reads

***** Log starting: 2007-12-10 11:31:46 *****
 
Input-PCP path                     = '1.4.0_patch.pcp'
Patch-MSP path                     = '1.4.1_patch.msp'
Temp Folder                        =
'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\~PCW_TMP.TMP\'
Patch GUID                         =
'{44158ED1-8508-49D8-A611-2A24DA35F6E2}'
ListOfPatchGUIDsToReplace          = '<none>'
ListOfTargetProductCodes           = '*'
PatchSourceList                    = '<blank>'
AllowProductCodeMismatches         = '0'
AllowProductVersionMajorMismatches = '0'
OptimizePatchSizeForLargeFiles     = '<blank>'
ApiPatchingSymbolFlags             = '<blank>'
MsiFileToUseToCreatePatchTables    = '<blank>'
SqlCmdToCreatePatchTable           = '<blank>'
SqlCmdToCreatePatchPackageTable    = '<blank>'
SqlCmdToCreateMsiPatchHeadersTable = '<blank>'
DontRemoveTempFolderWhenFinished   = '0'
IncludeWholeFilesOnly              = '1'
MinimumRequiredMsiVersion          = '<blank>'
SEQUENCE_DATA_GENERATION_DISABLED  = '<blank>'
AllowRemoval                       = '<blank>'
 
Using internal SQL cmd to create 'Patch' table.
Using internal SQL cmd to create 'PatchPackage' table.
Using internal SQL cmd to create 'MsiPatchHeaders' table.
 
WARNING (14): File versions are equal.  Upgraded:
'c:\NewInstall\files\.\PFiles\MY\MY Baby DAL WITS
Service\bin\Release\MY.Baby.DataAccessLayer.WITSService.exe'
ver=1.0.0.0;  Target: 'c:\OldInstall\files\.\PFiles\MY\MY Baby DAL WITS
Service\bin\Release\MY.Baby.DataAccessLayer.WITSService.exe'
ver=1.0.0.0.
     Files differ: 'c:\NewInstall\files\.\PFiles\MY\MY Baby DAL WITS
Service\bin\Release\MY.Baby.DataAccessLayer.WITSService.exe',
                   'c:\OldInstall\files\.\PFiles\MY\MY Baby DAL WITS
Service\bin\Release\MY.Baby.DataAccessLayer.WITSService.exe'.
    Patch API could not create a small patch; using whole upgraded file.
  Including entire file: 'c:\NewInstall\files\.\PFiles\MY\MY Baby DAL
WITS Service\bin\Release\MY.Baby.DataAccessLayer.WITSService.exe';
           FTK=DALWITSfile4; temp location=MYFalcn\01010.FLE.
     Files differ: 'c:\NewInstall\files\.\PFiles\MY\MY Baby DAL WITS
Service\bin\Release\MY.Baby.DataAccessLayer.WITSService.exe.config',
                   'c:\OldInstall\files\.\PFiles\MY\MY Baby DAL WITS
Service\bin\Release\MY.Baby.DataAccessLayer.WITSService.exe.config'.
    Patch API could not create a small patch; using whole upgraded file.
  Including entire file: 'c:\NewInstall\files\.\PFiles\MY\MY Baby DAL
WITS
Service\bin\Release\MY.Baby.DataAccessLayer.WITSService.exe.config';
           FTK=WITSfile5; temp location=MYFalcn\01011.FLE.
 
***** Log finishing: 2007-12-10 11:31:54 *****
 
Patch WIX is
 
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi
<http://schemas.microsoft.com/wix/2006/wi> ">
  <?define WixDir = . ?>
  <?define Proj1 = "c:\OldInstall\files" ?>
  <?define Proj2 = "c:\NewInstall\files" ?> 
 
  <PatchCreation 
     Id="{44158ED1-8508-49d8-A611-2A24DA35F6E2}"
       CleanWorkingFolder="yes"
       OutputPath="Baby 1.4.0 - patch.pcp"
       WholeFilesOnly="yes"
       >
 
        <PatchInformation
              Description="Patches the WITS Service/MDT Totco TIM box no
date and time issue "
              Comments="Patch for new exe and config"
              ShortNames="no"
              Languages="1033"
              Compressed="yes"
              Manufacturer="Mine"/>
 
        <PatchMetadata
              AllowRemoval="yes"
              Description="Patches the andmagichappens.cmd file"
              ManufacturerName="Mine"
              TargetProductName="Baby"
              Classification="Hotfix"
              DisplayName="Baby 1.4 Patch 1.01"/>
 
        <Family DiskId="2" MediaSrcProp="Baby_1_4_0_01" 
               Name="MYFalcn" SequenceStart="1010">
               <UpgradeImage SourceFile="$(var.Proj2)\MY Baby.msi"
Id="Baby_1_4_01">
                      <TargetImage SourceFile="$(var.Proj1)\MY Baby.msi"
Order="2"      
                                  Id="Baby1_4_0" IgnoreMissingFiles="no"
/>
               </UpgradeImage>
        </Family>
 
         <PatchSequence
             PatchFamily="MYBaby" Sequence="1.4.0.010" Supersede="no"
                 ProductCode="{D6644BA3-A3A4-4376-A24F-DBA18BC5C986}"/>
 
    </PatchCreation>
</Wix>

 
 
 
Kind regards,
National Oilwell Varco

John Crouch
Software Engineer/Developer

National Oilwell Norway AS
Phone: +4751818181
Direct:  +4751217563
Fax:     +4751800547
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
www.nov.com <http://www.nov.com/> 

 
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to