Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Running WiX tools from Cygwin, environment variables
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
spazekaat  
View profile  
 More options Apr 3, 8:54 pm
From: spazekaat <geoff.kenn...@belcarra.com>
Date: Fri, 3 Apr 2009 17:54:25 -0700 (PDT)
Local: Fri, Apr 3 2009 8:54 pm
Subject: Running WiX tools from Cygwin, environment variables
Hi, new to the group!

My question is this:

I have a Cygwin shell script which sets an environment variable called
"REVISION" (set to "anotherversion").

My .wxs has the following code in it:

    <?define BUILD=none?>

    <!-- Override BUILD if the environment variable REVISION is preset
-->
    <?ifdef $(env.REVISION) ?>
        <?define BUILD=$(env.REVISION) ?>
    <?endif?>

I know the variable exists, but Candle doesn't seem to pick it up.

The idea is that BUILD should be set to anotherversion.

Has anyone else tried to run WiX in this way?  My job needs this, so
any tips are welcome!
I've had zero success exploring the usual avenues (Google, FAQs,
etc.).

I'm also new to XML, is there a way that I can show the incoming env.
vars from within my .wxs file?

Thanks to all.

GLK


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google