Heat is used to generate source code. It's used to prepare the first version
of your MSI. You then manually tweak the code. It's just a labour saving
device to prevent you having to write out lots of component definitions. Any
wxs files produced by heat, or by your editor, are processed by candle.

Candle is the compiler, like a C or other language compiler. It produces an
object file from the wxs source files.

Light is the linker. It brings together the object file and the installers
other resources and outputs the MSI.

Lit is like light but outputs a wixlib instead of an MSI.

Neither heat, nor the reg file have anything to do with your user. These are
inputs to the compilation process. The user only gets the output (the MSI).

After you use heat to process a reg file to generate a componentgroup , then
you add a componentgroupref in your main wxs file's Feature element. Then
pass all the wxs files to candle. This will produce a single wixobj which you
then pass to light to get an MSI.

-----Original Message-----
From: Natalie Carr [mailto:natalie.c...@measuresoft.com] 
Sent: 17 August 2012 14:45
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Convert reg to wxs using heat and linking the fileswith
main project

Hi,

 

As a WIX newbie I'm not sure on how heat, candle, light etc. all link and
work together. I have looked online and the best I can find it snippets on
how to link these together and I am getting more confused. Can anyone point
me in the right direction to a tutorial or help me out.

 

I have a .reg file and I use the following code to extract it to a wxs file:

 

heat.exe reg product.reg -template:fragment -cg RegistryEntry -gg  -out
"$(ProjectDir)Registry.wxs" -var wix.InstallerPath

 

1: Where would I put this so it happens after my user has edited the .reg
file and then started the installation?

 

2. How to I link my Registry.wxs with my setup project. I have of course used
the ComponentGroupRef and manually adding the Registry.wxs to my project but
im sure candle or light provide this I just don't know how to use it

 

Kind Regards,

 

Natalie Carr

 

-----------------------------------------------------------------------------
-
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to