tag:blogger.com,1999:blog-985159635193633235.post109442414786941533..comments2024-03-25T00:30:02.127-07:00Comments on ISWIX: WiX Needs an Automation InterfaceChristopher Painterhttp://www.blogger.com/profile/12167478740431444267noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-985159635193633235.post-71325789809493001332010-10-05T15:46:28.496-07:002010-10-05T15:46:28.496-07:00Tim Owers orginally left the following comment. I ...Tim Owers orginally left the following comment. I accidentally clicked delete so I am reposting it.<br><br>Chris,<br><br>When you get back onto IsWiX, I have a lil' problem for you.<br>Loading a project from a folder that contains spaces via the VS plugin, causes an error whereby the spaces in the folder path is being seen as the end of the path:<br>The actual path is:-<br>C:\Users\Tim\Documents\Visual Studio 2008\Projects\TimsFirstTest\Product.wxs<br>and you can see from the err msg where it gets chopped.<br><br>---------------------------<br>System.IO.FileNotFoundException: Could not find file 'C:\Users\Tim\Documents\Visual'.<br><br>File name: 'C:\Users\Tim\Documents\Visual'<br><br>at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)<br><br>at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)<br><br>at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)<br><br>at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)<br><br>at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)<br><br>at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext)<br><br>at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings)<br><br>at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)<br><br>at System.Xml.Linq.XDocument.Load(String uri)<br><br>at FireworksFramework.Managers.DocumentManager.OpenFilePath(String filePath)Christopher Painterhttp://www.blogger.com/profile/12167478740431444267noreply@blogger.comtag:blogger.com,1999:blog-985159635193633235.post-25265553978530181982010-10-05T15:49:10.496-07:002010-10-05T15:49:10.496-07:00Tim, I'm sorry, I must not be escaping the pat...Tim,<br><br> I'm sorry, I must not be escaping the path when passing it on the command line. I never detected this because I never use white space in my workspace paths.<br><br>How's your .NET skills? If you'd like you can submit a work item on CodePlex and even a Patch diff. Otherwise I hope to get to this for you sooner then later. <br><br>Also the VS integration is mostly to encourage proper behavior from my developers. I want them opening the solutions to give them a chance to verify everthing builds before and after they make changes. You can also just associate the File Extension with Visual Studio and IsWiX and take a shortcut that way. I actually allow myself to break the rules and usually work that way depending on what I'm doing.Christopher Painterhttp://www.blogger.com/profile/12167478740431444267noreply@blogger.com