Do you mean just installing the CAB files as files, not extracting the
contents? If so, just use the File element to install the CAB.

 

If you want the contents of the CAB extracted, you can use the Media element
to reuse the existing CABs, as long as they are external to the installer.
List the files within the CAB as appropriate File elements, using the DiskId
attribute to specify the CAB that the files live in. Specify -reusecab on
the light command line to reuse the existing CABs.

 

If you want the CAB to be embedded in the installer, it may be possible to
set Media/@EmbedCab to 'yes'. I can't recall offhand whether you can embed
multiple CABs in the same installer.

 

Finally, if you want to include the CAB in the installer and have it
extracted at install time, but you don't want Windows Installer to manage
the files in the CAB, you need a custom action. I wouldn't recommend this
because you obviously don't get the benefits of automatic repair or
install-on-first-use (at least, not without extra work on your part).

 

--

Mike Dimmick

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ravikumar
Gopinath
Sent: 26 June 2007 18:48
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Including cab file within MSI...

 

I have a couple of cab files which contains quite a few files within them. I
want to include the cab files in my installer and unpack the cab files
during install, and delete those unpacked files during uninstall. Is it
possible to do this? If so, how can I do it?
 
Thanks
Ravi

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to