[wix-users] Defining Directories{

John Cooper JoCooper at jackhenry.com
Thu Oct 22 10:30:16 PDT 2015


Remove the "HomeDrive".  TARGETDIR effectively performs that function.

--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com



-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steven Packer
Sent: Thursday, October 22, 2015 12:29 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Defining Directories{

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

I am brand new to WiX.  I am trying to setup a path to where my payload files are but can't seem to figure it out.  

I have created a Visual Studio WiX msi Project.  This is what I am currently trying to do with the Directories.  

 

       <Fragment>

    <Directory Id="TARGETDIR" Name="SourceDir">

      <Directory Id="HomeDrive">

        <Directory Id="TFS" Name="TFS">

          <Directory Id="CIM" Name="CIM">

            <Directory Id="Trunk" Name="trunk">

              <Directory Id="CIMSourceDir" Name="bin">

                <Directory Id="CIMPlugins" Name="CIMPlugins" />

                <Directory Id="CIMHelpFiles" Name="CIMHelpFiles" />

              </Directory>

            </Directory>

          </Directory>

        </Directory>

      </Directory>

      <Directory Id="ProgramFilesFolder">

        <Directory Id="FPSGOLD" Name="FPSGOLD">

          <Directory Id="INSTALLDIR" Name="CIM">

            <Directory Id="Plugins" Name="Plugins" />

            <Directory Id="Help" Name="Help" />

          </Directory>

        </Directory>

      </Directory>

    </Directory>

       </Fragment>

 

In the File element I am putting Source"CIMSourceDir\MyFile.dll" or "CIMPlugins\plugin.dll" or "CIMHelpFiles\help.chm"

 

I get the error The system cannot find the file 'CIMSourceDir\Myfile.dll' 

Same message for all of my files.

 

The files are currently located on my machine at C:\TFS\CIM\trunk\bin and in Plugins and Help Directories below that.  They will not always be there.

The goal will be eventually to have this run in a build server to create the msi for a product that has hundreds of dlls and help files.

 

I have created a simple msi already for a small internal program I wrote.
The WiX project is part of the Visual Studio solution and builds very nicely with that small product.

Now I am going much bigger and far more complex.

 

Thanks,

Steven

 


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.



More information about the wix-users mailing list