Bugs item #1402552, was opened at 2006-01-10 23:08
Message generated for change (Settings changed) made by justinrockwood
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1402552&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: votive
Group: v2.0
>Status: Pending
Resolution: None
Priority: 5
Submitted By: shirata (shirata)
Assigned to: Justin Rockwood (justinrockwood)
Summary: space in RelativeOutputDirectory produces error

Initial Comment:
Having .wixproj file with space in the configuration 
RelativeOutputDirectory produces CNDL0145 error.
Fix attached at the end...

Problem .wxproj file:

<?xml version="1.0" encoding="utf-8" ?>
<VisualStudioProject>
    <WindowsInstallerXML
        ProductVersion="2.0.3309.0"
        ProjectGuid="{3E14A9EA-E619-4B52-BB2F-
6BF809F04937}"
        SchemaVersion="1.0"
    >
        <BuildSettings
            OutputName="Project"
            OutputType="MSI"
        />
        <Configurations>
            <Configuration
                Name="Debug"
                RelativeOutputDirectory="bin\Debug"
            />
            <Configuration
                Name="Release"
                RelativeOutputDirectory="bin\Release"
            />
            <Configuration
                Name="Release Protected"
                RelativeOutputDirectory='bin\Release 
Protected'
            />
        </Configurations>
...

Build Output:

------ Build started: Project: RealityVision Server 
WiX Setup, Configuration: Release Protected ------

Performing main compilation...
"C:\Program Files\Windows Installer 
XML\bin\candle.exe" @C:\DOCUME~1\qa\LOCALS~1
\Temp\tmp49B.tmp -out "bin\Release Protected\" 
FolderForm.wxs PortForm.wxs Product.wxs 
RVPropertyFragment.wxs SqlDlg.wxs SqlForm.wxs 
WebFolderForm.wxs
 
candle.exe : error CNDL0145 : Your file or directory 
path 'bin\Release Protected" FolderForm.wxs 
PortForm.wxs Product.wxs RVPropertyFragment.wxs 
SqlDlg.wxs SqlForm.wxs WebFolderForm.wxs' cannot 
contain a quote. Quotes are often accidentally 
introduced when trying to refer to a directory path 
with spaces in it, such as "C:\Out Directory\".  The 
correct representation for that path is: "C:\Out 
Directory\\".
 
---------------------- Done ----------------------

    Build: 0 succeeded, 1 failed, 0 skipped

Fix: append "\" to realteiveOutputFileDir.

public string ConstructCommandLineParameters(string 
rootDirectory, string[] sourceFilePaths)
        {
            StringBuilder commandLine = new 
StringBuilder(256);
            string relativeOutputFileDir = 
HelperMethods.MakeRelative(rootDirectory, 
this.AbsoluteOutputDirectory) + @"\";

...


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1402552&group_id=105970


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to