Mostly you will have trouble with small & minor updates. If a component is
being updated, only the file designated as the keypath is checked to see if
it is out of date: if it is up to date, all the others are ignored. Those
kind of updates are similar to repairs and repairs are likewise affected.

You'll also have difficulty if you want to add or remove files from each
component. Once released, a component is immutable (in terms of what files
are in it). The only way to update it without breaking component rules would
be to effectively remove and install the a new version of the MSI.
Understanding the component rules is key in Windows Installer and one file
per component makes the component rules easier to work with, which is why it
is the recommendation of many people here.

Windows Installer can handle 1200 components easily. ComponentGroups and
ComponentGroupRefs can simplify managing large numbers of components in the
source code.


-----Original Message-----
From: Alexey Ivanov [mailto:alexey.iva...@gmail.com] 
Sent: 21 June 2012 08:57
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] heat.exe generate component for files in each
folder, not to generate component for each file.

>so if the first file in a component exists and is of the correct version
(assuming no other file is marked as the keypath)  then Windows Installer
would consider the component state to be present.

What problems can occur with this?

2012/6/21 Alexey Ivanov <alexey.iva...@gmail.com>:
> In the project vacuum-im ~ 1200 files,%)
>
> To fill the Features have to specify 1200 components (if we consider a
> 1 component is a 1 file)
>
> 2012/6/21 Hoover, Jacob <jacob.hoo...@greenheck.com>:
>> Since heat allows for a XSLT to be applied to the output "anything" is
possible but I would highly advise against it. A component is the most
granular part of an installation, so if the first file in a component exists
and is of the correct version (assuming no other file is marked as the
keypath)  then Windows Installer would consider the component state to be
present.  Is there a reason you don't want to utilize a component per file?
>>
>> -----Original Message-----
>> From: Alexey Ivanov [mailto:alexey.iva...@gmail.com]
>> Sent: Thursday, June 21, 2012 12:17 AM
>> To: wix-users@lists.sourceforge.net
>> Subject: [WiX-users] heat.exe generate component for files in each folder,
not to generate component for each file.
>>
>> like this 
>> https://github.com/krab/vacuum-im-wix-installer/blob/master/Files.wxs
>> is possible with wix?
>>
>> if i run: >heat dir install_files -gg -suid -sfrag -srd -out 1.wxs
>>
>>    <DirectoryRef Id="TARGETDIR">
>>      <Component Id="libeay32.dll"
>> Guid="{846E7E4B-51A3-4023-AF17-EBC5E0E4AEB6}">
>>        <File Id="libeay32.dll" KeyPath="yes"
>> Source="install_files\libeay32.dll" />
>>      </Component>
>>      <Component Id="libpng15.dll"
>> Guid="{3EF0105F-BBA8-4E11-BF71-956403110505}">
>>        <File Id="libpng15.dll" KeyPath="yes"
>> Source="install_files\libpng15.dll" />
>>      </Component>
>>      <Component Id="license.txt" 
>> Guid="{ADCF4296-AEAE-4451-B55D-5EDA4ADB4CD6}">
>>        <File Id="license.txt" KeyPath="yes"
>> Source="install_files\license.txt" />
>>      </Component>
>>      <Component Id="msvcp100.dll"
>> Guid="{64035C09-D6F5-40C3-A008-AF9C73014AA7}">
>>        <File Id="msvcp100.dll" KeyPath="yes"
>> Source="install_files\msvcp100.dll" />
>>      </Component>
>>      <Component Id="msvcr100.dll"
>> Guid="{0960591D-EA25-4BB6-B9C8-D622C7A7C5C3}">
>>        <File Id="msvcr100.dll" KeyPath="yes"
>> Source="install_files\msvcr100.dll" />
>>
>> Components for earch file its feature or its msi requirements?
>>
>> ---------------------------------------------------------------------
>> ---------
>> 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
>>
>> ---------------------------------------------------------------------
>> ---------
>> 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

-----------------------------------------------------------------------------
-
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