Re: [WiX-users] How to assign a default value to preprocessor properties

2010-01-18 Thread Simon Dahlbacka
> The problem is that when I build the project in Visual Studio those > properties get an empty value. I want to give these properties a default > value so that I will be able to build the WIX project from Visual Studio and > not just from the command line using msbuild. > > Is there any way to ass

Re: [WiX-users] How to assign a default value to preprocessor properties

2010-01-18 Thread Neil Sleightholm
Something like this should do it: Neil -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: 19 January 2010 03:05 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to assign a default value to preprocessor properties I am using

[WiX-users] How to assign a default value to preprocessor properties

2010-01-18 Thread Joe Osman
I am using preprocessor properties in my WIX project and I assign them values in msbuild when building the WIX project from the command line . For example I have the following preprocessor properties: Var1=$(Var1);Var2=$(Var2) I assign them values in msbuild in this way: msbuild /p:Var1="value1"