No, $(env.SYSTEMDRIVE) would give you $SYSTEMDRIVE% on your build machine.  
Preprocessor variables are not runtime variables.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Levi Wilson
Sent: Thursday, January 11, 2007 9:45 AM
To: Eric Fesh; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Another quick question: Locating %SYSTEMDRIVE%?

I think you can use $(env.SYSTEMDRIVE) in place of %SYSTEMDRIVE%

Check out http://wix.sourceforge.net/manual-wix2/preprocessor.htm
On 1/11/07, Eric Fesh <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
Hello all:

Hit another roadblock here, and I've not been able to come up with the right 
combination of keywords that would get me to the
answer.

Basically, I need to find the value of %SYSTEMDRIVE% while the install is 
running so I can pass it to a custom action. The
objective here is actually to run "cscript 
%SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET
W3SVC/AppPools/Enable32bitAppOnWin64 1" as a custom action since at the moment 
I don't know of a better way to get 64-bit IIS to
run 32-bit binaries out of the box... Does anyone have a suggestion on the best 
way to do this?
--
--

Eric Fesh
Customer Support Engineer/Software Test Engineer
Verari Systems Software, Inc.
110 12th Street North, Suite D103
Birmingham, AL 35203
Phone +1-205-397-3141 ext. 3149
Fax +1-205-397-3142
[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
http://www.verarisoft.com/

The information contained in this communication may be confidential and is
intended only for the use of the recipient(s) named above.  If the reader of
this communication is not the intended recipient(s), you are hereby notified
that any dissemination, distribution, or copying of this communication, or
any of its contents, is strictly prohibited.  If you are not a named
recipient or received this communication by mistake, please notify the sender
and delete the communication and all copies of it.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to