Thankyou for your reply Patrick. This seems like a clever solution.
However I managed to make mine work. It might be that I am calling CANDLE and LIGHT from autoit (as I am creating a install generator), and using multiple variable's in the path name. But if anyone is interested here is the solution for spaces in paths that I used: '\candle.exe -out "c:\my folder\\" ".\*.wxs"' - Note the double quotes - Note the double backslash!(an extra back slash is required before the close of the double quotes to tell the command line it's the end of the string, this caused me a lot of trouble!) - The ".\*.wxs" takes all of the wxs files in that location. \light.exe -b "c:\my folder\\" -out test.msi "*.wixobj" Hope this will help anyone who runs into similar problems, seems incredibly easy on this side of the problem! Thanks again Patrick, may use this technique in future, Regards, Dave -----Original Message----- From: Paden, Patrick [mailto:patrick.pa...@wolterskluwer.com] Sent: 03 February 2011 15:40 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] filepaths with spaces Although it does not answer your actual question(because I also do not know), what I am doing is just making, maybe this suggestion would be a nice workaround: With my batch file, I drill down into the folder that contains my wxs files and call candle while I am there, that way the wxs files do not need a path at all -----Original Message----- From: David Amey [mailto:da...@creative-engine.co.uk] Sent: Thursday, February 03, 2011 4:33 AM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] filepaths with spaces Hi all! I require your collective knowledge on something I thought would be simple. Using Candle how do you address to source file's with a path that includes spaces? For example; "C:\my folder\main.wxs" I have tried using '-out' which allows using quotes, and seems to work ok, but then Light does not seem to be able to find the wixobj files?! It seems like something simple, but its driving me crazy!! Any help will save my sanity. Thanks! David Amey The Creative Engine Ltd Almac House, Church Lane, Bisley, Surrey, GU24 9DR T: +44 (0)1483 799200 F: +44 (0)1483 799111 ------------------------------------------------------------------------ ------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users