In the "define pre-processor variables" area of the project properties (right
click the wixproj in solution explorer) you can set values for pre-processor
variables. These can be assigned the values of msbuild variables (preferably)
or hard coded paths.

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

Hey Again,

I'm not sure how to go about getting this working now, I've tried a few
things and I just get Undefined veriables erros:

I have <WixVariable Id="RFileSource" Value="..\..\lib\R\R-2.14.1" /> in
Product.wxs

Then I have heat producing a fragment with -cg RInstall -var var.RFileSource

But the build fails saying that "Undefined preprocessor variable
'$(var.RFileSource)"

How can I reference a variable in the main wxs file without hand editing the
generated fragment?

Cheers,

James
 
-----Original Message-----
From: Daniel Madill [mailto:dan.mad...@quanser.com] 
Sent: 16 January 2012 16:25
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Cab File

Hi James,

I haven't used heat for quite a while, but I think you can use the -cg <name>
option to get it to create a ComponentGroup containing all your components
and then include that component group in your Feature using a
ComponentGroupRef. Otherwise I think you have to use a ComponentRef to refer
to each component individually ... and that would clearly be a drag. :-)

Dan

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

Hi Dan,

Yeah, I'm just getting my batch command setup for this.  It's building OK as
a fragment but I'm can't work out how to incorporate it into the features so
that it will actually execute during the install process.

James.

-----Original Message-----
From: Daniel Madill [mailto:dan.mad...@quanser.com] 
Sent: 16 January 2012 15:01
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Cab File

Hi James,

You can use the "heat" harvesting tool that comes with WiX to generate an
initial WxS installer file for your 2000 files and 650+ directories and then
add that WxS file to your installer.

Dan

-----Original Message-----
From: James Green [mailto:jgr...@mango-solutions.com] 
Sent: January-16-12 9:48 AM
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
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
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