Hello Mark Did you figure out the usage for $(var.Platform)? I need to know the platform on which the wxs was compiled and then use that in the Wix file itself.
Thanks, Sameeksha Justin Rockwood wrote: > > There's a complete list in wix.chm. Here's the list again if you need it: > > > > > Project References > > > Introduction > > > The WiX Visual Studio package supports adding project references to a WiX > project. This ensures that build order dependencies are defined correctly > within the solution. In addition, it generates a set of WiX preprocessor > definitions which are set on the Candle command line and can be referenced > in source files. > > > Adding Project References > > > To add a project reference to a WiX project: > > 1. Right-click on the References node of the project in the Solution > Explorer and choose Add Reference... > 2. In the Add WiX Library Reference dialog, click on the Projects tab. > 3. Select the desired project(s) and click the Add button, then click > OK to dismiss the dialog. > > > List of Supported Project References > > > The WiX Visual Studio package supports the following project reference > variables: > > > Variable name > > Example usage > > Example value > > > var.<ProjectName>.Configuration > > $(var.MyProject.Configuration) > > Debug or Release > > > var.<ProjectName>.FullConfiguration > > $(var.MyProject.FullConfiguration) > > Debug | AnyCPU > > > var.<ProjectName>.Platform > > $(var.MyProject.Platform) > > AnyCPU, Win32, x64 or ia64 > > > var.<ProjectName>.ProjectDir > > $(var.MyProject.ProjectDir) > > C:\users\myusername\Documents\Visual Studio 2005\Projects\MyProject\ > > > var.<ProjectName>.ProjectExt > > $(var.MyProject.ProjectExt) > > .csproj > > > var.<ProjectName>.ProjectFileName > > $(var.MyProject.ProjectFileName) > > MyProject.csproj > > > var.<ProjectName>.ProjectName > > $(var.MyProject.ProjectName) > > MyProject > > > var.<ProjectName>.ProjectPath > > $(var.MyProject.ProjectPath) > > C:\users\myusername\Documents\Visual Studio > 2005\Projects\MyProject\MyApp.csproj > > > var.<ProjectName>.TargetDir > > $(var.MyProject.TargetDir) > > C:\users\myusername\Documents\Visual Studio > 2005\Projects\MyProject\obj\Debug\ > > > var.<ProjectName>.TargetExt > > $(var.MyProject.TargetExt) > > .exe > > > var.<ProjectName>.TargetFileName > > $(var.MyProject.TargetFileName) > > MyProject.exe > > > var.<ProjectName>.TargetName > > $(var.MyProject.TargetName) > > MyProject > > > var.<ProjectName>.TargetPath > > $(var.MyProject.TargetPath) > > C:\users\myusername\Documents\Visual Studio > 2005\Projects\MyProject\obj\Debug\MyProject.exe > > > var.SolutionDir > > $(var.SolutionDir) > > C:\users\myusername\Documents\Visual Studio 2005\Projects\MySolution\ > > > var.SolutionExt > > $(var.SolutionExt) > > .sln > > > var.SolutionFileName > > $(var.SolutionFileName) > > MySolution.sln > > > var.SolutionName > > $(var.SolutionName) > > MySolution > > > var.SolutionPath > > $(var.SolutionPath) > > C:\users\myusername\Documents\Visual Studio > 2005\Projects\MySolution\MySolution.sln > > > Example > > > The following File element demonstrates how to use project references in > WiX > authoring: > > <File Id="MyExecutable" Name="$(var.MyProject.TargetFileName)" > Source="$(var.MyProject.TargetPath)" DiskId="1" /> > > > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tanikella, > Rajanikanth (SCR US) > Sent: Tuesday, January 29, 2008 2: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 > > -- View this message in context: http://www.nabble.com/pre-defined-variables--tp15165818p16343804.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users