Re: [WiX-users] Build from command line

2008-10-16 Thread John Hall
Could you not just pass in Name1 and Name2 seperately?

Regards,
John

 -Original Message-
 From: Alex Ivanoff [mailto:[EMAIL PROTECTED]
 Sent: 15 October 2008 18:13
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Build from command line

 It still does not work for me. In my case MyVariable has ; in it:

 MyBariable=Name1=Value1%3bName2=value2


 -Original Message-
 From: John Hall [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 15, 2008 03:29
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Build from command line

  Let me rephrase. How do I specify preprocessor variables
 when I build
  from command line with MSBuild?
 
  msbuild myinstall.wixproj /p:???

 I've modified by wixproj file to take parameters from the
 commandline and pass them into WiX:

 You need to add something like this to the BeforeBuild target:

 CreateProperty
 Value=MyVariable=$(MyVariable);$(DefineConstants)
   Output TaskParameter=Value PropertyName=DefineConstants /
 /CreateProperty

 And then you can do:

 msbuild myinstall.wixproj /p:MyVariable=

 Regards,
 John

 --
 --
 -
 This SF.Net email is sponsored by the Moblin Your Move
 Developer's challenge Build the coolest Linux based
 applications with Moblin SDK  win great prizes Grand prize
 is a trip for two to an Open Source event anywhere in the
 world http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

 --
 ---
 This SF.Net email is sponsored by the Moblin Your Move
 Developer's challenge Build the coolest Linux based
 applications with Moblin SDK  win great prizes Grand prize
 is a trip for two to an Open Source event anywhere in the
 world http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build from command line

2008-10-16 Thread John Hall

 So you are saying it is not possible?

I don't know; I'm no expert. Rather than pass in two variables embedded in 
'MyVariable' can you not just pass Name1 and Name2 as variables in their own 
right?

 CreateProperty Value=Name1=$(Name1);Name2=$(Name2);$(DefineConstants)
   Output TaskParameter=Value PropertyName=DefineConstants /
 /CreateProperty

And then

 msbuild myinstall.wixproj /p:Name1=value1 /p:Name2=value2

Regards,
John

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build from command line

2008-10-16 Thread Alex Ivanoff
This is what I ended up doing.


-Original Message-
From: John Hall [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2008 10:52
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Build from command line


 So you are saying it is not possible?

I don't know; I'm no expert. Rather than pass in two variables embedded
in 'MyVariable' can you not just pass Name1 and Name2 as variables in
their own right?

 CreateProperty
Value=Name1=$(Name1);Name2=$(Name2);$(DefineConstants)
   Output TaskParameter=Value PropertyName=DefineConstants /
 /CreateProperty

And then

 msbuild myinstall.wixproj /p:Name1=value1 /p:Name2=value2

Regards,
John


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build from command line

2008-10-15 Thread Alex Ivanoff
Does it mean there is a bug in WiX MSBuild-related stuff or it is not
implemented?


-Original Message-
From: John Hall [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2008 03:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Build from command line

 Let me rephrase. How do I specify preprocessor variables when
 I build from command line with MSBuild?

 msbuild myinstall.wixproj /p:???

I've modified by wixproj file to take parameters from the commandline
and pass them into WiX:

You need to add something like this to the BeforeBuild target:

CreateProperty Value=MyVariable=$(MyVariable);$(DefineConstants)
  Output TaskParameter=Value PropertyName=DefineConstants /
/CreateProperty

And then you can do:

msbuild myinstall.wixproj /p:MyVariable=

Regards,
John


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build from command line

2008-10-15 Thread John Hall
  I've modified by wixproj file to take parameters from the
  commandline and pass them into WiX:

 Does it mean there is a bug in WiX MSBuild-related stuff or
 it is not implemented?

I don't know. I just assumed that they were different things and that you need 
to plumb them together yourself.

Regards,
John

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build from command line

2008-10-15 Thread Alex Ivanoff
It still does not work for me. In my case MyVariable has ; in it:

MyBariable=Name1=Value1%3bName2=value2


-Original Message-
From: John Hall [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2008 03:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Build from command line

 Let me rephrase. How do I specify preprocessor variables when
 I build from command line with MSBuild?

 msbuild myinstall.wixproj /p:???

I've modified by wixproj file to take parameters from the commandline
and pass them into WiX:

You need to add something like this to the BeforeBuild target:

CreateProperty Value=MyVariable=$(MyVariable);$(DefineConstants)
  Output TaskParameter=Value PropertyName=DefineConstants /
/CreateProperty

And then you can do:

msbuild myinstall.wixproj /p:MyVariable=

Regards,
John


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build from command line

2008-10-15 Thread John Hall
 Let me rephrase. How do I specify preprocessor variables when
 I build from command line with MSBuild?

 msbuild myinstall.wixproj /p:???

I've modified by wixproj file to take parameters from the commandline and pass 
them into WiX:

You need to add something like this to the BeforeBuild target:

CreateProperty Value=MyVariable=$(MyVariable);$(DefineConstants)
  Output TaskParameter=Value PropertyName=DefineConstants /
/CreateProperty

And then you can do:

msbuild myinstall.wixproj /p:MyVariable=

Regards,
John

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Build from command line

2008-10-14 Thread Alex Ivanoff
Let me rephrase. How do I specify preprocessor variables when I build
from command line with MSBuild?

msbuild myinstall.wixproj /p:???


-Original Message-
From: Alex Ivanoff 
Sent: Tuesday, October 14, 2008 15:47
To: 'General discussion for Windows Installer XML toolset.'
Subject: RE: [WiX-users] WiX Team Build

How do I pass preprocessor variables to WiX using MSBuild task? I tried
this

MSBuild Projects=Installer.wixproj
 Properties=DefineConstants=%22Name1=Value1%3bName2=Value2%22
/


But it did not work. Any ideas?



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users