Look at the Wix help regarding the "heat" tool. That will do the tedious
initial script generation for you. Then you can tweak it by hand to maintain
the diffs in future versions.

If you're not asking for a Wix-based solution then the Wix mailing list isn't
really the place to be asking. The cab format is documented on the msdn at
http://msdn.microsoft.com/en-us/library/bb417343.aspx I dont see how that's
any different from doing it with a zip though.

-----Original Message-----
From: James Green [mailto:jgr...@mango-solutions.com] 
Sent: 16 January 2012 14:48
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Cab File

Hi Peter,

Not sure I understand.  I already have a "default" cab file for our
application declared like:

<Media Id="1" Cabinet="app.cab" EmbedCab="yes" CompressionLevel="high" />

This currently contains all the application files for our file defined by
hand inside Component declarations within the script.  The problem I'm trying
to solve is that I have another 'sub app' that will be installed with our
application in the form of a set of files the problem is there are actually
over 2000 files and 650+ directories and I really don't want to type that lot
in (nor maintain it ...) so I was originally looking at including a zip and
running an unzip during the install process.  Seeing how problematic that is
I started looking at using a cab file.

Can a cab maintain the original directory structure automatically on
decompressing?

Cheers,

James

-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Sent: 16 January 2012 14:20
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Cab File

Add Compressed="yes" to the package element and EmbedCab="yes"
Cabinet="Product.cab" to the media element of your installer and it will
compress the files into a cabinet inside it.

-----Original Message-----
From: James Green [mailto:jgr...@mango-solutions.com]
Sent: 16 January 2012 14:14
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Cab File

Hi All,

I have a large set of files to distribute with our installer (1100 files) and
I was hoping to be able to do this with a zip file but that doesn't seem
possible (nor a good idea) so I was wondering if it was possible to use a cab
file instead?

I'm wondering if the Cab will also be able to maintain the directory
structure?

Regards,

James
LEGAL NOTICE
This message is intended for the use of the named recipient(s) only and may
contain confidential and / or privileged information. If you are not the
intended recipient, please contact the sender and delete this message. Any
unauthorised use of the information contained in this message is prohibited.
Mango Business Solutions Limited is registered in England under No. 4560258
with its registered office at Suite 3, Middlesex House, Rutherford Close,
Stevenage, Herts, SG1 2EF, UK.

PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL
-----------------------------------------------------------------------------
-
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and we
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.


-----------------------------------------------------------------------------
-
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
LEGAL NOTICE
This message is intended for the use of the named recipient(s) only and may
contain confidential and / or privileged information. If you are not the
intended recipient, please contact the sender and delete this message. Any
unauthorised use of the information contained in this message is prohibited.
Mango Business Solutions Limited is registered in England under No. 4560258
with its registered office at Suite 3, Middlesex House, Rutherford Close,
Stevenage, Herts, SG1 2EF, UK.

PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL
-----------------------------------------------------------------------------
-
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to