You need to install the old installer as an admin install. This will place a stripped down version of the old msi along with its files uncompressed into a folder on your computer. Then you provide the stripped down version of the old msi to msimsp. I believe that there is a topic on Patch Building in the WiX help. You can try reading that as well.
-Brian Simoneau -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erich Buhler Sent: Thursday, May 17, 2007 10:13 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Error when changing the compression Hi Brian, >Is C:\BT_SDK_3_0_Page\BTSDK30_Old.msi the original compressed installer? YES, IT'S >If so, then perform an admin install of it with something like "msiexec >/a C:\BT_SDK_3_0_Page\BTSDK30_Old.msi TARGETDIR=C:\patchdir\old". Then >use the msi in C:\patchdir\old to build the patch. Do I need to install the old installer, or only providing the old one to msimsp is enought? >Its files will be uncompressed. Should I assume that the msi files should be uncompressed? Thanks, Erich. Brian Simoneau wrote: > > Is C:\BT_SDK_3_0_Page\BTSDK30_Old.msi the original compressed installer? > If so, then perform an admin install of it with something like "msiexec > /a C:\BT_SDK_3_0_Page\BTSDK30_Old.msi TARGETDIR=C:\patchdir\old". Then > use the msi in C:\patchdir\old to build the patch. Its files will be > uncompressed. > > -Brian Simoneau > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Erich > Buhler > Sent: Thursday, May 17, 2007 9:32 AM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Error when changing the compression > > > > Hi, thanks again! > That's the log file (please look at the end): > > ***** Log starting: 2007-05-17 14:03:19 ***** > > Input-PCP path = 'patch_30_1.pcp' > Patch-MSP path = 'patch_30_1.msp' > Temp Folder = > 'C:\DOCUME~1\erich\LOCALS~1\Temp\~PCW_TMP.TMP\' > Patch GUID = > '{9EA185B0-26DF-4C09-8FBA-8FC2C91C6D80}' > ListOfPatchGUIDsToReplace = '<none>' > ListOfTargetProductCodes = > '{1AEFCDD0-9976-4C41-A8C5-0FAB41308CCA}' > PatchSourceList = '<blank>' > AllowProductCodeMismatches = '0' > AllowProductVersionMajorMismatches = '0' > OptimizePatchSizeForLargeFiles = '<blank>' > ApiPatchingSymbolFlags = '<blank>' > MsiFileToUseToCreatePatchTables = '<blank>' > SqlCmdToCreatePatchTable = '<blank>' > SqlCmdToCreatePatchPackageTable = '<blank>' > SqlCmdToCreateMsiPatchHeadersTable = '<blank>' > DontRemoveTempFolderWhenFinished = '0' > IncludeWholeFilesOnly = '0' > 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. > > ERROR: UpgradedImages.MsiPath 'C:\BT_SDK_3_0_Page\BTSDK30_Old.msi' is > marked as having compressed files (PID_WORDCOUNT property of Summary > Information stream). PatchWiz is unable to patch files compressed in a > cabinet. > > ***** Log finishing: 2007-05-17 14:03:19 ***** > > > ***** Log starting: 2007-05-17 14:30:04 ***** > > Input-PCP path = 'patch_30_1.pcp' > Patch-MSP path = 'patch_30_1.msp' > Temp Folder = > 'C:\DOCUME~1\erich\LOCALS~1\Temp\~PCW_TMP.TMP\' > Patch GUID = > '{9EA185B0-26DF-4C09-8FBA-8FC2C91C6D80}' > ListOfPatchGUIDsToReplace = '<none>' > ListOfTargetProductCodes = > '{1AEFCDD0-9976-4C41-A8C5-0FAB41308CCA}' > PatchSourceList = '<blank>' > AllowProductCodeMismatches = '0' > AllowProductVersionMajorMismatches = '0' > OptimizePatchSizeForLargeFiles = '<blank>' > ApiPatchingSymbolFlags = '<blank>' > MsiFileToUseToCreatePatchTables = '<blank>' > SqlCmdToCreatePatchTable = '<blank>' > SqlCmdToCreatePatchPackageTable = '<blank>' > SqlCmdToCreateMsiPatchHeadersTable = '<blank>' > DontRemoveTempFolderWhenFinished = '0' > IncludeWholeFilesOnly = '0' > 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. > > ERROR: UpgradedImages.MsiPath 'C:\BT_SDK_3_0_Page\BTSDK30_Old.msi' is > marked as having compressed files (PID_WORDCOUNT property of Summary > Information stream). PatchWiz is unable to patch files compressed in a > cabinet. > > ***** Log finishing: 2007-05-17 14:30:04 ***** > > > > > Brian Simoneau wrote: >> >> That command line doesn't look correct. Why is the "msi" after the -l >> option? Is the log getting created? >> >> -Brian Simoneau >> >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Erich >> Buhler >> Sent: Thursday, May 17, 2007 9:12 AM >> To: wix-users@lists.sourceforge.net >> Subject: Re: [WiX-users] Error when changing the compression >> >> >> >> Hi Brian, >> thanks for your answer. The problem is that if I use a copressed >> version, I >> receive the following error: 0xC00E5116 >> >> msimsp -s patch_30_1.pcp -p patch_30_1.msp -l msi msp_30_1.log -d >> >> "Failed to create patch. Error code: 0xC00E5116" >> >> I was reading on the internet that it is because the image is >> compressed. am >> I wrong? >> Thanks! >> Erich. >> >> >> Brian Simoneau wrote: >>> >>> Creating an uncompressed version of an installer is not a requirement >>> for creating a patch. You can perform an admin install of your >> package >>> and then build the patch using the admin install image. >>> >>> -Brian Simoneau >>> >>> -----Original Message----- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] On Behalf Of Erich >>> Buhler >>> Sent: Thursday, May 17, 2007 7:36 AM >>> To: wix-users@lists.sourceforge.net >>> Subject: [WiX-users] Error when changing the compression >>> >>> >>> >>> Hi Guys, >>> I'm creating an uncompressed version of my installer because that's >> one >>> of >>> the requirement for creating a patch. >>> The problem is that when I set Compressed="no", the final installer >> is >>> 3 >>> times smaller than the compressed one. I tried running it and I got > an >>> error >>> which said that one of the files is not found. >>> >>> Does anyone have the same problem? >>> >>> Thanks! >>> Erich. >>> -- >>> View this message in context: >>> >> > http://www.nabble.com/Error-when-changing-the-compression-tf3771433.html >>> #a10662504 >>> Sent from the wix-users mailing list archive at Nabble.com. >>> >>> >>> >> > ------------------------------------------------------------------------ >>> - >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> WiX-users mailing list >>> WiX-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>> >>> >> > ------------------------------------------------------------------------ >> - >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> WiX-users mailing list >>> WiX-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>> >>> >> >> -- >> View this message in context: >> > http://www.nabble.com/Error-when-changing-the-compression-tf3771433.html >> #a10663905 >> Sent from the wix-users mailing list archive at Nabble.com. >> >> >> > ------------------------------------------------------------------------ >> - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > ------------------------------------------------------------------------ > - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > -- > View this message in context: > http://www.nabble.com/Error-when-changing-the-compression-tf3771433.html > #a10664239 > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Error-when-changing-the-compression-tf3771433.html #a10664844 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users