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 installs successful.

Shibo
-- 
View this message in context: 
http://n2.nabble.com/Installing-patch-gives-me-Error-reading-file-dialog-tp3662429p3711703.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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

2009-09-23 Thread Blair
Forgot to mention: you will probably want to make the patch "non-removable"
to avoid having to make two patches.

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Wednesday, September 23, 2009 9:16 AM
To: 'General discussion for Windows Installer XML toolset.'
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 removed from the disk when the patch is
applied.

I hope you are not trying to patch more than one 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 patch gives me "Error reading file"
dialog


Hi,

Further reading Peter's blog:
http://blogs.msdn.com/pmarcu/archive/2009/05/19/wix-removing-files-with-patc
hes.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. Peter's blog says that "the the entire
component must be removed, which leads to remove the entire feature."

Are there any successful patching stories out there invloving file
deletions? I have reached dead ends using two patching methods. Any help is
greatly appreciated.

Kind regards, Shibo




-- 
View this message in context:
http://n2.nabble.com/Installing-patch-gives-me-Error-reading-file-dialog-tp3
662429p3699956.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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

2009-09-23 Thread Blair
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 removed from the disk when the patch is
applied.

I hope you are not trying to patch more than one 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 patch gives me "Error reading file"
dialog


Hi,

Further reading Peter's blog:
http://blogs.msdn.com/pmarcu/archive/2009/05/19/wix-removing-files-with-patc
hes.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. Peter's blog says that "the the entire
component must be removed, which leads to remove the entire feature."

Are there any successful patching stories out there invloving file
deletions? I have reached dead ends using two patching methods. Any help is
greatly appreciated.

Kind regards, Shibo




-- 
View this message in context:
http://n2.nabble.com/Installing-patch-gives-me-Error-reading-file-dialog-tp3
662429p3699956.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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. Peter's blog says that "the the entire
component must be removed, which leads to remove the entire feature."

Are there any successful patching stories out there invloving file
deletions? I have reached dead ends using two patching methods. Any help is
greatly appreciated.

Kind regards, Shibo




-- 
View this message in context: 
http://n2.nabble.com/Installing-patch-gives-me-Error-reading-file-dialog-tp3662429p3699956.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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.

I use PatchWizard as it is easy to create wxs file, diff is much better now
due to unique file ids in WiX 3.0, but it looks like sequence is still a
problem. 

I have tried to use WiX only patching, but this does not support deleting
files. I reckon that I have to work out deleted files and list them in the
patch wxs file. Maybe this is the only option that works?

Thanks, Shibo

-- 
View this message in context: 
http://n2.nabble.com/Installing-patch-gives-me-Error-reading-file-dialog-tp3662429p3698786.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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/



--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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
problem. Will the problem be to do with file/path names with dots? 

The file is like
"...\sw\eclipse\plugins\gnu.trove_2.0.4.0019\.settings\org.eclipse.jdt.core.prefs".

Thanks, Shibo


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-- 
View this message in context: 
http://n2.nabble.com/Installing-patch-gives-me-Error-reading-file-dialog-tp3662429p3662780.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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-gives-me-Error-reading-file-dialog-tp3662429p3662855.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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
problem. Will the problem be to do with file/path names with dots? 

The file is like
"...\sw\eclipse\plugins\gnu.trove_2.0.4.0019\.settings\org.eclipse.jdt.core.prefs".

Thanks, Shibo



-- 
View this message in context: 
http://n2.nabble.com/Installing-patch-gives-me-Error-reading-file-dialog-tp3662429p3662766.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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
problem. Will the problem be to do with file/path names with dots? 

The file is like
"...\sw\eclipse\plugins\gnu.trove_2.0.4.0019\.settings\org.eclipse.jdt.core.prefs".

Thanks, Shibo



-- 
View this message in context: 
http://n2.nabble.com/Installing-patch-gives-me-Error-reading-file-dialog-tp3662429p3662767.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 the patch. An error dialog is displayed complaining that "Error reading
file: c:\work\...\base\...\org.eclipse.jdt.core.prefs. Verify that the file
exists and that you can access it". The patch is trying to read the new file
"org.eclipse.jdt.core.prefs" added to the upgrade image from the base
location. Of course, the base location does not have the new file.

My wxs file for patch is:

http://schemas.microsoft.com/wix/2006/wi";>




http://www.kkk.com/";
Classification="Update" DisplayName="D5 Patch 1"/>









http://n2.nabble.com/Installing-patch-gives-me-Error-reading-file-dialog-tp3662429p3662429.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 the 
patch. An error dialog is displayed complaining that "Error reading file: 
c:\work\...\base\...\org.eclipse.jdt.core.prefs. Verify that the file exists 
and that you can access it". The patch is trying to read the new file 
"org.eclipse.jdt.core.prefs" added to the upgrade image from the base location. 
Of course, the base location does not have the new file.

My wxs file for patch is:

http://schemas.microsoft.com/wix/2006/wi";>




http://www.kkk.com/";
Classification="Update" DisplayName="D5 Patch 1"/>









http://p.sf.net/sfu/devconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users