Hallo!

 

We are building our complete software using ms-build. 

For building the setup, which consist of different projects, we created
a solution combining all these projects.

 

Out of the build process I need to build this solution twice with
different settings and ideally with different resulting .msi names.

 

In msbuild I include the solution to build in the following way:

 

<SolutionToBuild
Include="$(SolutionRoot)\fOX\Branch\Setup\Customers\Demo\Demo_Setup.sln"
>

      <Properties>

        IsConsoleEnabled=true;

        Platform=x86;

        OutDir=$(TeamBuildOutDir)Installer\Full\Customers\fOXLab\;

        NewName=New msi name;

 
TeamBuildOutDir=$(TeamBuildOutDir)Installer\Full\Customers\fOXLab\

      </Properties>

</SolutionToBuild> 

 

In the .msi build file of the main project (wixproj) I have made the
following changes:

 

<PropertyGroup Condition=" '$( NewName)' == '' ">

    <OutputName>Default name</OutputName>

  </PropertyGroup>

  <PropertyGroup Condition=" '$(NewName)' != '' ">

    <OutputName>$( NewName)</OutputName>

  </PropertyGroup>

 

 

When I run the build on the server, the setting of the newname variable
takes no influence on the resulting name.

 

Maybe someone can give me a hint to solve this problem!

 

BR
Nikolaus Keuth

 

 

DR. NIKOLAUS KEUTH

Software Development Engineer

Powertrain Calibration Technologies 

Business Unit Measurement & Instrumentation, 

Instrumentation & Test Systems

 

mailto:nikolaus.ke...@avl.com <mailto:nikolaus.ke...@avl.com> 

Phone: +43 316 787 3869, Fax: +43 316 787 3682

Office: +43 316 787 648

 

AVL LIST GMBH

A-8020 Graz, Hans-List-Platz 1

www.avl.com

 

_________________________________________________________________________________________
AVL List GmbH, Firmensitz: Graz, Firmenbuchnummer: FN 53507M, Landesgericht 
fuer ZRS Graz


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to