Re: [WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-25 Thread shibo
Hi, For people having the same issue, here is what I have found. If there are new folders starting with dot "." ( e.g. folder name '.data' ) added to the upgrade image, installing patch will give the "Error reading file" error dialog. If removing dot "." and changing ".data" to "data", the patch

Re: [WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-23 Thread Blair
t.' Subject: Re: [WiX-users] Installing patch gives me "Error reading file" dialog Leave the file alone (so it doesn't get physically added to the patch) and set the component that file belongs to as Transient with a condition of "0". That will cause the file to be remove

Re: [WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-23 Thread Blair
ne released MSI. Only release patches and the original MSI (not updated MSIs) until your next baseline reset. -Original Message- From: shibo [mailto:szheng...@googlemail.com] Sent: Wednesday, September 23, 2009 7:24 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Installing

Re: [WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-23 Thread shibo
Hi, Further reading Peter's blog: http://blogs.msdn.com/pmarcu/archive/2009/05/19/wix-removing-files-with-patches.aspx "WiX only" patch is not feasible when deleting file / renaming file is involved. I put one file under one component so that GUIDs are generated automatically and consistently. P

Re: [WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-23 Thread shibo
Bob, I have got a response from MSI newsgroup. It looks like that problem is caused by file sequence numbers. In my base and upgrade images, different files shares the same sequence numbers. The "error reading file" is a new file, but has the same sequence number as an old file in the base image

Re: [WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-17 Thread Bob Arnson
shibo wrote: > Base is from build no 5, upgrade is from build no 7. > I'd suggest verifying that the .pcp file is correct; if so, any bug is in PatchWiz/MsiMsp, not WiX, so you might want to check out the MSI newsgroups for help. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-17 Thread shibo
Bob, Thanks for your quick reply. I am not sure about your question "Are the directories reversed?". I have tested both forward and backward slashes, the same result. WiX seems to be able to handle forward slash. I have included a total different set of new files. The patch install has no proble

Re: [WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-17 Thread shibo
Bob, Thanks. It is my typing error, as I simplified the path when creating this topic. So the real one is Base is from build no 5, upgrade is from build no 7. Regards, Shibo -- View this message in context: http://n2.nabble.com/Installing-patch-giv

Re: [WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-17 Thread shibo
Bob, Thanks for your quick reply. I am not sure about your question "Are the directories reversed?". I have tested both forward and backward slashes, the same result. WiX seems to be able to handle forward slash. I have included a total different set of new files. The patch install has no proble

Re: [WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-17 Thread shibo
Bob, Thanks for your quick reply. I am not sure about your question "Are the directories reversed?". I have tested both forward and backward slashes, the same result. WiX seems to be able to handle forward slash. I have included a total different set of new files. The patch install has no proble

Re: [WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-17 Thread Bob Arnson
shibo wrote: > Id="D5Upgrade"> > SourceFile="C:/work/upgrade/decompressed/D5.msi" Order="1" > Are the directories reversed? -- sig://boB http://joyofsetup.com/ -- Come build with us!

[WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-17 Thread shibo
Hi, I encountered a problem when installing a patch built based on "Using Patch Creation Properties ". My patchwiz.dll is ver 4.5.6001.22192. The uncompressed images are located at two folders, base\ and upgrade\. There are new files added to the upgrade image. The base is installed first, then

[WiX-users] Installing patch gives me "Error reading file" dialog

2009-09-17 Thread szheng204
Hi, I encountered a problem when installing a patch built based on "Using Patch Creation Properties ". My patchwiz.dll is ver 4.5.6001.22192. The uncompressed images are located at two folders, base\ and upgrade\. There are new files added to the upgrade image. The base is installed first, then