Not sure. Are either MYINSTALLDIR or EXTRAFILESDIR in your Directory table (do you have any Directory elements where the Id attribute is one of these two strings)?
-----Original Message----- From: ezimmerman [mailto:ezimmer...@wi.rr.com] Sent: Monday, October 12, 2009 3:28 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] CopyFile Question Here is an except.. It kinda looks like it is looking for the Files directory... Is there anyway, I can do a CopyFiles with a conditon of "NOT Installed"? How / Where would I put that? <CopyFile Id="MyFiles" SourceName="*.*" SourceProperty="EXTRAFILESDIR" DestinationProperty="MYINSTALLDIR" Delete ="no" /> "EXTRAFILESDIR" property is essentially set to a "Files" sub-directory of the Source directory of the original MSI. ("[source]\Files\") ... MSI (s) (3C:B4) [17:10:11:327]: Doing action: CostFinalize Action ended 17:10:11: FileCost. Return value 1. MSI (s) (3C:B4) [17:10:11:327]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'. MSI (s) (3C:B4) [17:10:11:327]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'. MSI (s) (3C:B4) [17:10:11:327]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'. MSI (s) (3C:B4) [17:10:11:327]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'. MSI (s) (3C:B4) [17:10:11:327]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'. MSI (s) (3C:B4) [17:10:11:328]: Note: 1: 2205 2: 3: MsiAssembly MSI (s) (3C:B4) [17:10:11:328]: Note: 1: 2228 2: 3: MsiAssembly 4: SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`, `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ? MSI (s) (3C:B4) [17:10:11:328]: PROPERTY CHANGE: Adding MYINSTALLDIR property. Its value is 'C:\Program Files\CompanyXX\ProductYY'. MSI (s) (3C:B4) [17:10:11:328]: Note: 1: 2205 2: 3: Patch MSI (s) (3C:B4) [17:10:11:328]: Note: 1: 2205 2: 3: Condition MSI (s) (3C:B4) [17:10:11:329]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'C:\'. MSI (s) (3C:B4) [17:10:36:026]: Note: 1: 1314 2: Files MSI (s) (3C:B4) [17:10:36:026]: Note: 1: 1606 2: Files Action start 17:10:11: CostFinalize. MSI (s) (3C:C8) [17:10:38:081]: I/O on thread 7244 could not be cancelled. Error: 1168 MSI (s) (3C:C8) [17:10:38:081]: I/O on thread 7360 could not be cancelled. Error: 1168 MSI (s) (3C:C8) [17:10:38:081]: I/O on thread 7904 could not be cancelled. Error: 1168 MSI (s) (3C:C8) [17:10:38:081]: I/O on thread 7092 could not be cancelled. Error: 1168 MSI (s) (3C:B4) [17:10:38:081]: Product: ProductYY -- Error 1606. Could not access network location Files. MSI (s) (3C:B4) [17:10:38:082]: Note: 1: 1606 2: Files MSI (c) (90:70) [17:10:36:081]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg Error 1606. Could not access network location Files. MSI (s) (3C:B4) [17:10:38:933]: Product: ProductYY -- Error 1606. Could not access network location Files. MSI (c) (90:70) [17:10:38:087]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg Error 1606. Could not access network location Files. Action ended 17:10:38: CostFinalize. Return value 3. Action ended 17:10:38: INSTALL. Return value 3. ... Blair-2 wrote: > > In your verbose uninstall log, which path is it trying to access that it > can't? > > -----Original Message----- > From: ezimmerman [mailto:ezimmer...@wi.rr.com] > Sent: Sunday, October 11, 2009 9:43 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] CopyFile Question > > > I want to copy files from the "[source]\Files\" directory to the root of > the > target directory. > > I added the following line into the main executable component. > <CopyFile Id="MyFiles" SourceName="*.*" SourceProperty="EXTRAFILESDIR" > DestinationProperty="MYINSTALLDIR" Delete ="no" /> > > It works, but on uninstall, it errors out with "unable to locate network > files". > > Any idea what I'm doing wrong or the best way to accomplish my goal? > > (note: I first tried a vb script, but ran into permission issues trying to > copy) > -- > View this message in context: > http://n2.nabble.com/CopyFile-Question-tp3806138p3806138.html > Sent from the wix-users mailing list archive at Nabble.com. > > ---------------------------------------------------------------------------- > -- > Come build with us! The BlackBerry(R) 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/devconference > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ---------------------------------------------------------------------------- -- > Come build with us! The BlackBerry(R) 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/devconference > _______________________________________________ > 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/CopyFile-Question-tp3806138p3811160.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) 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/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) 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/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users