Oooooh, that's nice.  That's working!  

 

Thanks,

 

Alan

 

________________________________

From: Peter Marcu [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 1:05 PM
To: Lanteigne, Alan; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] New to WIX, trying to use VOTIVE 3.0 but can't
get embedded CAB working properly

 

You don't need to create the cab yourself. WiX will do that for you.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne,
Alan
Sent: Thursday, November 08, 2007 9:56 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] New to WIX, trying to use VOTIVE 3.0 but can't get
embedded CAB working properly

 

I'm trying to package up a C# application I've made.  The final
installer will need to set some registry keys, but for now I'm trying to
just get simple file copying to work.  I've created a CAB file
containing the EXE and a few supporting files by using cabarc.exe:

 

cabarc N product.cab Release\*.* Release\images\*.* Release\icons\*.*

 

This creates product.cab, which definitely contains the files.

 

I then create a WIX project in VS2005 and modify the template
Product.wxs to include this:

 

<?xml version="1.0" encoding="UTF-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>

    <Product Id="43f2ead8-70d1-41b6-9db5-a5d4ad96be83" Name="ID14"
Language="1033" Version="1.4.0.0" Manufacturer="AlanTest">

        <Package InstallerVersion="200" Compressed="yes" />

 

        <Media Id="1" Cabinet="product.cab" EmbedCab="yes" />

 

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

        <Directory Id="ProgramFilesFolder" Name="ID14">

          

            <Component Id="ID14exe"
Guid="43f2ead8-70d1-41b6-9db5-a5d4ad96be83">

              <File Id=" ID14file" Name="id14.exe" LongName="id14.exe"
Source=" id14.exe" Vital="yes" KeyPath="yes" DiskId="1"/>

            </Component>

        </Directory>

        

      </Directory>

      

        <Feature Id="ProductFeature" Title="PUT-FEATURE-TITLE-HERE"
Level="1">

            <ComponentRef Id="ID14exe" />

        </Feature>

    </Product>

</Wix>

 

I copy my CAB file to the project folder (same folder as Product.wxs),
compile, and get a "The system cannot find the file 'id14.exe' error.

 

Am I missing some simple step?  I looked through the tutorial and docs
but they mostly skipped over how to stage the CAB file properly.  

 

Thanks,

 

 

Alan S. Lanteigne | Channel Ready Solutions
phone & fax +1.317.715.8293| [EMAIL PROTECTED]

Interactive Intelligence Inc.
Deliberately Innovative
www.inin.com <http://www.inin.com/>  

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to