I was afraid you were going to say that, I am actually in the process of
trying to distribute components across features since reducing them is not
an option. What is the best practice in this scenario? The number of
components is rather large and this would result in a lot of registry
write operations during the install. Although the files need to be copied
over they are not really part of the application itself and don't need to
be tracked individually. Maybe a custom action that manually copies the
files and deletes them during uninstall. I thought it was possible with
MSIs to include a directory and everything in it as a component. I was
wrong. 

Thanks,
Sarvesh

On 3/18/13 4:31 PM, "Rob Mensching" <r...@robmensching.com> wrote:

>Its the Feature Component mapping. Reduce the number of Components to
>succeed. You can also try to distrbute the Components across more Features
>but that only works to a certain degree.
>
>
>On Mon, Mar 18, 2013 at 3:42 PM, Chinnappa, Sarvesh [Audatex - Americas] <
>sarvesh.chinna...@audatex.com> wrote:
>
>> Hi,
>>
>> I am facing an unusual problem with my installer. I will try explain in
>> detail, may be there is a workaround for this issue.
>>
>>   1.  The installer is rather large >5GB with a lot of files, mostly
>>data
>> files used by the application (a separate installer)
>>   2.  I am using heat to harvest the files with this command
>> "$(WIX)bin\heat.exe" dir "$(DataFiles)" -cg DataFiles -gg -scom -sreg
>> -sfrag -srd -dr INSTALLLOCATION -var env.DataFiles -out
>> "$(ProjectDir)Fragments\FilesFragment.wxs"
>>   3.  When installing everything is copied and all files are in the
>>right
>> place.
>>
>> Issue: After copying the files when the MSI registers the product if
>>fails
>> on some XP machines. Specifically it fails to write this registry key
>> 
>>HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-1
>>8\Products\GUID\Features\ProductFeature
>> because the data is greater than 1MB. The error reported during this is
>> unfortunately wrong, registry is full. So the MSI tries to increase the
>> registry size and tries to rewrite the value which fails and then it
>>gives
>> up. Researching on this I found that older registry formats didn't allow
>> for values to be greater than 1MB.
>>
>> The questions are
>>
>>   1.  I am guessing this is some sort of hash of the filenames. So how
>> exactly is this generated? Anyway to control it?
>>   2.  Is there anyway to reduce the size of the entry so the install
>>would
>> pass?
>>   3.  Can I specify just the directory for the component and not include
>> all the files? Would that reduce the size of the registry entry to less
>> than 1MB.
>>
>> Thanks,
>> Sarvesh Chinnappa
>>
>>
>>  
>>-------------------------------------------------------------------------
>>---
>>
>>
>>
>> PRIVILEGE AND CONFIDENTIALITY NOTICE
>> The information in this electronic mail (and any associated attachments)
>> is intended for the named recipient(s) only and may contain privileged
>>and
>> confidential information. If you have received this message in error,
>>you
>> are hereby notified that any use, disclosure, copying or alteration of
>>this
>> message is strictly prohibited.  If you are not the intended
>>recipient(s),
>> please contact the sender by reply email and destroy all copies of the
>> original message.  Thank you.
>>
>>
>>
>>
>>  
>>-------------------------------------------------------------------------
>>--
>>
>>
>> 
>>-------------------------------------------------------------------------
>>-----
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_mar
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>--------------------------------------------------------------------------
>----
>Everyone hates slow websites. So do we.
>Make your web apps faster with AppDynamics
>Download AppDynamics Lite for free today:
>http://p.sf.net/sfu/appdyn_d2d_mar
>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users

 ----------------------------------------------------------------------------

 

PRIVILEGE AND CONFIDENTIALITY NOTICE
The information in this electronic mail (and any associated attachments) is 
intended for the named recipient(s) only and may contain privileged and 
confidential information. If you have received this message in error, you are 
hereby notified that any use, disclosure, copying or alteration of this message 
is strictly prohibited.  If you are not the intended recipient(s), please 
contact the sender by reply email and destroy all copies of the original 
message.  Thank you.

 

 ---------------------------------------------------------------------------

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to