Re: Changing the SMS exe file name based on a compiler variable?
- From: "TerryM" <TerryM@xxxxxxxxxx>
- Date: Thu, 2 Feb 2006 14:48:33 -0800
Well I'm not 100% sure, since I haven't done it like you are describing
before.
I have done a test though (see attached)
Basically I defined a compiler variable and then on the "Settings" tab of
the installation properties I put %_TEST_%.exe
When I compiled it, it prompts me for the variable (by default "dev") and
then creates the .exe out put with the name of it.
I'm sure there is probably some predefined compiler variable for exe name,
but I couldn't find it?
Terry
PS - you'll need to rename to ipf
<TDavidson@xxxxxxxxxxxxxxxxx> wrote in message
news:1138918653.342639.140390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Based on the value of a compiler variable, I would like to modify the
name of the executable that is created.
Example:
Compiler variable: _ENVIRONMENT_
SMS package name: package.ipf
If _ENVIRONMENT_ = "DEV" then I would like to be able to tell SMS
to create the executable name as "DEVpackage.exe" instead of the
default "package.EXE"
Am I missing something obvious? Any ideas? Also, could I put the
executable and a different directory based on the compiler variable?
I'd like this flexibility so I could maintain one ipf across several
environments.
Thanks for any input!
Tina
begin 666 test.txt
M1&]C=6UE;G0@5'EP93H@25!�II=&5M.B!';&]B86P-"B @5F5R<VEO;CTV
M+C -"B @1FQA9W,],#$P,# Q,# -"B @3&%N9W5A9V5S/3 @," V-2 P(# @
M," P(# @," P(# @," P(# @," P(# @," P(# @," P(# @," P(# @," P
M(# @," P(# @," P(# @," P(# @," P(# @," P(# @," P(# @," P(# -
M"B @3&%N9W5A9V5S3&ES=#U%;F=L:7-H#0H@($1E9F%U;'0@3&%N9W5A9V4]
M,@T*("!#;W!Y($1E9F%U;'0],0T*("!*87!A;F5S92!&;VYT($YA;64]35,@
M1V]T:&EC#0H@($IA<&%N97-E($9O;G0@4VEZ93TY#0H@(%-T87)T($=R861I
M96YT/3 @," R-34-"B @16YD($=R861I96YT/3 @," P#0H@(%=I;F1O=W,@
M1FQA9W,],# P,3 Q,# P,# P,3$P,# P,3$Q,3 P,#$P,3 P,3 -"B @365S
M<V%G92!&;VYT/4U3(%-A;G,@4V5R:68-"B @1F]N="!3:7IE/3@-"B @1&ES
M:R!&:6QE;F%M93U315154 T*("!0871C:"!&;&%G<STP,# P,# P,# P,# P
M,# Q#0H@(%!A=&-H(%1H<F5S:&]L9#TX-0T*("!0871C:"!-96UO<GD]-# P
M, T*("!%6$4@1FEL96YA;64])5]415-47R4N97AE#0H@($944"!#;'5S=&5R
M(%-I>F4],C -"B @5F%R:6%B;&4@3F%M93$]7U1%4U1?#0H@(%9A<FEA8FQE
M($1E9F%U;'0Q/41E=@T*96YD#0II=&5M.B!296UA<FL-"F5N9 T*:71E;3H@
M4F5M87)K#0IE;F0-"FET96TZ(%)E;6%R:PT*96YD#0II=&5M.B!296UA<FL-
9"F5N9 T*:71E;3H@4F5M87)K#0IE;F0-"@``
`
end
.
- Follow-Ups:
- Re: Changing the SMS exe file name based on a compiler variable?
- From: TDavidson
- Re: Changing the SMS exe file name based on a compiler variable?
- References:
- Changing the SMS exe file name based on a compiler variable?
- From: TDavidson
- Changing the SMS exe file name based on a compiler variable?
- Prev by Date: Changing the SMS exe file name based on a compiler variable?
- Next by Date: Re: Changing the SMS exe file name based on a compiler variable?
- Previous by thread: Changing the SMS exe file name based on a compiler variable?
- Next by thread: Re: Changing the SMS exe file name based on a compiler variable?
- Index(es):
Relevant Pages
|