How are you building the solutions?  Can you wrap the whole thing in a new
Ms build file and use that to control the variables to which you are trying
to gain access?

Josh

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mark.modrall
Sent: Tuesday, January 29, 2008 3:49 PM
To: Tanikella, Rajanikanth (SCR US); wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] pre-defined variables?

Thanks, Raj...  That's a big help...

Seems like I've inherited something that's done a bit backwards, though.
The person who put the stuff together (long since departed) put the wix
projects in a separate solution from the actual build, and I've been
trying to figure out how to get them to communicate better.

For example, if the build was done /rebuild Debug, I'd like to /rebuild
Debug on the Wix solution as well (and then be able to discover the
"Debug" from the pre-processor variables.

>From what I see here, almost all of the variables in the table presume
the source project and the wix project live in one solution and the wix
project has a reference to the source project.

That organization (all steps in one solution) makes a certain amount of
sense but it's not what I was handed.  The ball of wax I've got simply
takes an environment variable to say where the source solution deposited
it's product and then goes over and picks the files for packaging in the
msi.  

At the moment, the wix solution simply presumes /bin/Release/* for all
product files, regardless of how either build is being run.

Thanks
Mark


-----Original Message-----
From: Tanikella, Rajanikanth (SCR US)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 29, 2008 5:27 PM
To: mark.modrall; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] pre-defined variables?

Hi Mark,

One reference I happened upon has a small table of Votove pre-processor
variables:

http://msdn2.microsoft.com/en-us/library/aa302186.aspx

The table is about half-way down the scroll.

Hope it helps.

Raj 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
mark.modrall
Sent: Tuesday, January 29, 2008 5:20 PM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] pre-defined variables?

Thanks, Julie...

I was referring more the Wix pre-processor (the variables that exist
when running Wix to build the msi).

http://wix.sourceforge.net/manual-wix2/preprocessor.htm

describes the basic structure and 1 or 2 pre-defined variables but is
obviously not complete.  After googling for a long time, I saw some
people referencing $(var.Platform) as pre-defined, for example.  I
plugged that in my .wxs and didn't see an undefined var error.  But
there's no documentation I've found anywhere that says $(var.Platform)
should/will exist.

And drawing from the Visual Studio model, I was wondering if analogs to
$(OutDir), $(ConfigurationName), etc exist since an analog for
$(PlatformName) does.  I tried $(var.Config), $(var.Configuration),
$(var.ConfigurationName) but none of those names were recognized.

Thanks
Mark


-----Original Message-----
From: Julie Campbell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 29, 2008 5:11 PM
To: wix-users@lists.sourceforge.net; mark.modrall
Subject: RE: [WiX-users] pre-defined variables?

Mark,

My favorite trick is to run an existing or very basic .msi with full
logging.  Then you can search the log file for "Property(C)" and/or
"Property(S)".

To run with full logging, run from a command line:
MyMsi.msi /lv*x MyMsiLog.txt

There is also actual documentation:
http://msdn2.microsoft.com/en-us/library/aa370905.aspx
http://msdn2.microsoft.com/en-us/library/aa372057.aspx

And a place I've been collecting information:
http://wix.mindcapers.com/wiki/WiX_Properties

Julie Campbell
[EMAIL PROTECTED]
 
> ------------------------------
> Message: 2
> Date: Tue, 29 Jan 2008 13:16:16 -0500
> From: "mark.modrall" <[EMAIL PROTECTED]>
> Subject: [WiX-users] pre-defined variables?
> To: <wix-users@lists.sourceforge.net>
> Message-ID:
>
<[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi...
> 
>     I've been googling around to find a list of pre-defined variables 
> that exist in Wix (any pre-existing $(var.) or $(env.) like VS has 
> $(outdir), $(configurationname), etc), but so far no luck.
> 
>     Does such a reference exist?
> 
> thanks
> mark


________________________________________________________________________
_____
Scanned by IBM Email Security Management Services powered by
MessageLabs. For more information please visit http://www.ers.ibm.com
________________________________________________________________________
_____

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to