Re: [WiX-users] Compile a project with used, but not specified compile time paramaters...

2009-10-15 Thread Thorsten Schöning
Guten Tag Blair,
am Mittwoch, 14. Oktober 2009 um 22:35 schrieben Sie:

> 
> 
> 

> ...$(var.myvar)...

> candle ... -dmyvar=123 ...

Thanks again, must have overseen the preprocessor articles. :-)

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoen...@am-soft.de
Web: http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Compile a project with used, but not specified compile time paramaters...

2009-10-14 Thread Blair




...$(var.myvar)...

candle ... -dmyvar=123 ...

-Original Message-
From: Thorsten Schöning [mailto:tschoen...@am-soft.de] 
Sent: Wednesday, October 14, 2009 11:43 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Compile a project with used, but not specified compile
time paramaters...

Hello,

I have an installer with typical, custom and complete installation.
Some of my features are not installed at typical installation by
setting a higher feature level, as recommended in the wix tutorial. I
would now like to create a version of the installer with some of the
custom features enabled by default without modifying the source file
by just changing the biuld process.

I succeeded using compile time variable in a condition underneath the
features I want which sets the level of the feature to the level of a
typical installation. Without setting thos compile time variable via
candle -dXY=Z I get a compile time error of missing variables. I would
prefer not setting the compile time variables in the default build,
but of course are needed because they are used in the source file
during default build.

Is there any way to use compile time variables with some kind of
default value and work around the error? I found one solution using
environment variables but using compile time variable seem a bit
cleaner to me.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoen...@am-soft.de
Web: http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Compile a project with used, but not specified compile time paramaters...

2009-10-14 Thread Thorsten Schöning
Hello,

I have an installer with typical, custom and complete installation.
Some of my features are not installed at typical installation by
setting a higher feature level, as recommended in the wix tutorial. I
would now like to create a version of the installer with some of the
custom features enabled by default without modifying the source file
by just changing the biuld process.

I succeeded using compile time variable in a condition underneath the
features I want which sets the level of the feature to the level of a
typical installation. Without setting thos compile time variable via
candle -dXY=Z I get a compile time error of missing variables. I would
prefer not setting the compile time variables in the default build,
but of course are needed because they are used in the source file
during default build.

Is there any way to use compile time variables with some kind of
default value and work around the error? I found one solution using
environment variables but using compile time variable seem a bit
cleaner to me.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoen...@am-soft.de
Web: http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users