I am trying to test patch creation with WiX. I ran through the patch
creation "Using Purely WiX" in wix.chm, and it worked fine. In that
scenario, a single text file, Sample.txt is installed with the 1.0
installer. In the 1.1 patch, a modified version of Sample.txt replaces
the old 1.0 version.

 

I want to be able to add a new file to an existing component. I added a
new file, Sample1.txt, to be installed in version 1.1, in addition to
the already present Sample.txt. I built each msi, the transform between
the two, and the resulting msp successfully. However, at install time,
the patch fails with an error that is only displayed in the log file:

 

"Info 1334. The file 'SampleFile' cannot be installed because the file
cannot be found in cabinet file 'RTM.cab'. This could indicate a network
error, an error reading from the CD-ROM, or a problem with this
package."

 

where 'SampleFile' is the Id of Sample.txt. The patch then deletes
Sample.txt, and installs the new file Sample1.txt.  I checked the cab
file, and Sample.txt is in fact present.

 

I did some searching, and found this page:

 

http://blogs.msdn.com/windows_installer_team/archive/2005/11/02/486616.a
spx

 

Question 7 asks specifically about the problem I'm having, and the
answer in this case is because the new files are not added at the end of
the files table, but in the middle. However, in my case, the new file,
Sample1.txt is added at the end of the File table, so I don't think the
file order is the issue in this case.

 

Can somebody provide some insight on this?

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to