What variable would you like to use?

On Tue, Feb 21, 2012 at 3:05 PM, Troy Teixeira <
tteixe...@polariswireless.com> wrote:

> WIX community,
>
> I am new to WIX. I am attempting to build a simple installer. Below is a
> copy of my installer xml file. In the Source definition I would like to
> reference the location of the output of the HelloWorld.exe file. My
> sample is referencing a relative path. I would like to use a WIX
> variable to do this instead of the relative path. How should I do this?
>
> Thank you in advance,
> Troy
> ________________________________
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
>  <Product Id="*" UpgradeCode="12345678-1234-1234-1234-111111111111"
>           Name="Hello World" Version="0.1.1" Manufacturer="Polaris
> Wireless" Language="1033">
>    <Package InstallerVersion="200" Compressed="no" Comments="Windows
> Installer Package"/>
>    <Media Id="1" EmbedCab="no"/>
>
>    <Directory Id="TARGETDIR" Name="SourceDir">
>      <Directory Id="ProgramFilesFolder">
>        <Directory Id="INSTALLDIR" Name="HelloWorldInstaller">
>          <Component Id="ApplicationFiles"
> Guid="12345678-1234-1234-1234-111111111111">
>            <File Id="HelloWorld"
> Source="..\HelloWorld\bin\Debug\HelloWorld.exe"/>
>          </Component>
>        </Directory>
>      </Directory>
>    </Directory>
>
>    <Feature Id="DefaultFeature" Level="1">
>      <ComponentRef Id="ApplicationFiles"/>
>   </Feature>
>  </Product>
> </Wix>
> ________________________________
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to