Re: [WiX-users] how to create a single component in output wxs file for whole directory using heat
Thanks for sharing your experience, Chris! I still learn the things around Windows Installer, and I really appreciate you point me on the inconsistencies in my answers! Then it seems that heat.exe does miss the switch to generate 1:n fragments (to cover any scenario)... -- Yan On Tue, Mar 22, 2011 at 3:23 PM, Christopher Painter < chr...@deploymentengineering.com> wrote: > Yan, > > This comes up from time to time and I want to stress that there is no > universal > best practice that states every file should be the keyfile of it's own > component. 1:1 is the most common situation that you would want to do this > but > it is not universally true. The MSI SDK talks about this and I can speak > from > experience that I know of a number of situations where I would want to > author in > a non 1:1 fashion. > > Defining Installer Components: > http://msdn.microsoft.com/en-us/library/aa368269(v=vs.85).aspx > > Regards, > Chris > > --- > Christopher Painter, Author of Deployment Engineering Blog > Have a hot tip, know a secret or read a really good thread that deserves > attention? E-Mail Me > > > > - Original Message > From: Yan Sklyarenko > To: General discussion for Windows Installer XML toolset. > > Sent: Tue, March 22, 2011 2:07:53 AM > Subject: Re: [WiX-users] how to create a single component in output wxs > file for > whole directory using heat > > heat.exe doesn't support this out of the box - it was designed to encourage > the best practice, which is "one file - one component". However, you can > apply an XSL transform to the heat output and change it the way you need. > You can also take a look at the Paraffin tool ( > > http://www.wintellect.com/CS/blogs/jrobbins/archive/2007/10/21/wix-a-better-tallow-paraffin.aspx > ), > > created by John Robbins some time ago - it has a switch to support your > scenario. However, I've never tried it myself. > > -- Yan > > On Mon, Mar 21, 2011 at 10:40 PM, Sanjay Rao > wrote: > > > Hi, > > > > I have a directory having thousand of files and directories in it. Since > > these files/folders updated rarely in one version to another version, So > > I just want to create minimum number of component for this directory to > > make the installer faster. This is just an experiment to check whether > > installer become faster or not after having a less number of components. > > > > Does anybody knows that how to create minimum number of components for > > one directory using heat ? > > > > Regards, > > Sanjay Rao > > > > > > > > > -- > > Enable your software for Intel(R) Active Management Technology to meet > the > > growing manageability and security demands of your customers. Businesses > > are taking advantage of Intel(R) vPro (TM) technology - will your > software > > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] how to create a single component in output wxs file for whole directory using heat
Yan, This comes up from time to time and I want to stress that there is no universal best practice that states every file should be the keyfile of it's own component. 1:1 is the most common situation that you would want to do this but it is not universally true. The MSI SDK talks about this and I can speak from experience that I know of a number of situations where I would want to author in a non 1:1 fashion. Defining Installer Components: http://msdn.microsoft.com/en-us/library/aa368269(v=vs.85).aspx Regards, Chris --- Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me - Original Message From: Yan Sklyarenko To: General discussion for Windows Installer XML toolset. Sent: Tue, March 22, 2011 2:07:53 AM Subject: Re: [WiX-users] how to create a single component in output wxs file for whole directory using heat heat.exe doesn't support this out of the box - it was designed to encourage the best practice, which is "one file - one component". However, you can apply an XSL transform to the heat output and change it the way you need. You can also take a look at the Paraffin tool ( http://www.wintellect.com/CS/blogs/jrobbins/archive/2007/10/21/wix-a-better-tallow-paraffin.aspx), created by John Robbins some time ago - it has a switch to support your scenario. However, I've never tried it myself. -- Yan On Mon, Mar 21, 2011 at 10:40 PM, Sanjay Rao wrote: > Hi, > > I have a directory having thousand of files and directories in it. Since > these files/folders updated rarely in one version to another version, So > I just want to create minimum number of component for this directory to > make the installer faster. This is just an experiment to check whether > installer become faster or not after having a less number of components. > > Does anybody knows that how to create minimum number of components for > one directory using heat ? > > Regards, > Sanjay Rao > > > > -- > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] how to create a single component in output wxs file for whole directory using heat
You can also use WiXEdit (http://sourceforge.net/projects/wixedit/) to do that but you'll need to use version 0.7.2.3 or older as they changed it to work as per heat.exe from 0.7.3 onwards. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Yan Sklyarenko [mailto:yansklyarenko+...@gmail.com] Sent: 22 March 2011 07:08 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] how to create a single component in output wxs file for whole directory using heat heat.exe doesn't support this out of the box - it was designed to encourage the best practice, which is "one file - one component". However, you can apply an XSL transform to the heat output and change it the way you need. You can also take a look at the Paraffin tool ( http://www.wintellect.com/CS/blogs/jrobbins/archive/2007/10/21/wix-a-better-tallow-paraffin.aspx), created by John Robbins some time ago - it has a switch to support your scenario. However, I've never tried it myself. -- Yan On Mon, Mar 21, 2011 at 10:40 PM, Sanjay Rao wrote: > Hi, > > I have a directory having thousand of files and directories in it. Since > these files/folders updated rarely in one version to another version, So > I just want to create minimum number of component for this directory to > make the installer faster. This is just an experiment to check whether > installer become faster or not after having a less number of components. > > Does anybody knows that how to create minimum number of components for > one directory using heat ? > > Regards, > Sanjay Rao > > > > -- > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] how to create a single component in output wxs file for whole directory using heat
heat.exe doesn't support this out of the box - it was designed to encourage the best practice, which is "one file - one component". However, you can apply an XSL transform to the heat output and change it the way you need. You can also take a look at the Paraffin tool ( http://www.wintellect.com/CS/blogs/jrobbins/archive/2007/10/21/wix-a-better-tallow-paraffin.aspx), created by John Robbins some time ago - it has a switch to support your scenario. However, I've never tried it myself. -- Yan On Mon, Mar 21, 2011 at 10:40 PM, Sanjay Rao wrote: > Hi, > > I have a directory having thousand of files and directories in it. Since > these files/folders updated rarely in one version to another version, So > I just want to create minimum number of component for this directory to > make the installer faster. This is just an experiment to check whether > installer become faster or not after having a less number of components. > > Does anybody knows that how to create minimum number of components for > one directory using heat ? > > Regards, > Sanjay Rao > > > > -- > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users