[wix-users] [Wix]: MSI package creation failed due to sequence of " passing as an argument

Dileep S dileep.sanampudi at gmail.com
Thu Feb 18 04:59:50 PST 2016


Dear All,

I have found one issue while building WixProject.
In my wixproject file i have added one constant variable in
<DefineConstants>.

<DefineConstants>Debug;CommandArg=$(cmdArg)</DefineConstants>
>

This $(cmdArg) value will be passed from the command line argument.


 C:\Windows\Microsoft.NET\Framework\v4.0.30319>MSBuild.exe
/p:cmdArg=""""" "E:\WorkFolder\BuildMSI.wixproj" /t:Rebuild

Following error is displayed after compiling wixproject.

*"E:\WorkFolder\BuildMSI.wixproj" (Rebuild target) (1) ->(Compile target)
->*
*  candle.exe : error CNDL0288: The variable '&quot' with value '' was
previously declared with value ''. [E:\WorkFolder\BuildMSI.wixproj]*

Please help me how to solve this issue.

This issue occurs only when sequence of " passing as an argument.

Thanks in advance.

Regards,
Dileep


More information about the wix-users mailing list