Re: [WiX-users] Adding file association to component generated by heat

2011-10-08 Thread Rob Mensching
Or you could generate once, clean up the generated code, add what is missing
and include the result in your project. smile/

On Tue, Oct 4, 2011 at 2:09 AM, Peter Shirtcliffe pshirtcli...@sdl.comwrote:

 You can either use an xsl transformation on the generated wxs file that
 would
 insert your progid (heat even has a switch to run one) or you could put the
 progid and contents in its own component in a separate file and add that
 file
 to the project.
 The first has the advantage that you have a versioned resource for a
 keypath
 which makes it easy to patch.

 -Original Message-
 From: Zack Pang [mailto:zyhp...@gmail.com]
 Sent: 04 October 2011 07:16
 To: WiX-users@lists.sourceforge.net
 Subject: [WiX-users] Adding file association to component generated by heat

 hi,

 I need to associate a file extension to my executable and my directory
 structure is generated by heat.
 As heat would overwrite the generated fragment file on each build, is it
 possible to add the following stuff elsewhere but not the generated
 fragment
 file?

 ProgId  
 Extension  
 Verb Id=open Command=Open TargetFile=targetID Argument='%1' /
 /Extension
 /ProgId

 Thanks

 -
 -
 All the data continuously generated in your IT infrastructure contains a
 definitive record of customers, application performance, security
 threats, fraudulent activity and more. Splunk takes this data and makes
 sense of it. Business sense. IT sense. Common sense.
 http://p.sf.net/sfu/splunk-d2dcopy1
 ___
 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.



 --
 All the data continuously generated in your IT infrastructure contains a
 definitive record of customers, application performance, security
 threats, fraudulent activity and more. Splunk takes this data and makes
 sense of it. Business sense. IT sense. Common sense.
 http://p.sf.net/sfu/splunk-d2dcopy1
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding file association to component generated by heat

2011-10-04 Thread Peter Shirtcliffe
You can either use an xsl transformation on the generated wxs file that would
insert your progid (heat even has a switch to run one) or you could put the
progid and contents in its own component in a separate file and add that file
to the project.
The first has the advantage that you have a versioned resource for a keypath
which makes it easy to patch.

-Original Message-
From: Zack Pang [mailto:zyhp...@gmail.com] 
Sent: 04 October 2011 07:16
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Adding file association to component generated by heat

hi,

I need to associate a file extension to my executable and my directory
structure is generated by heat.
As heat would overwrite the generated fragment file on each build, is it
possible to add the following stuff elsewhere but not the generated fragment
file?

ProgId  
Extension  
Verb Id=open Command=Open TargetFile=targetID Argument='%1' /
/Extension
/ProgId

Thanks
-
-
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
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.


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users