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

Reply via email to