I was fairly sure that if you set ARPSIZE it sets the EstimatedSize property
that Raymond talks about at
http://blogs.msdn.com/oldnewthing/archive/2004/07/09/178342.aspx, and
therefore ARP doesn't need to guess at the right thing to look at to check
the size.

Since Windows Installer knows everything that you installed, you would have
thought it would set this information itself. (Another piece of the
documentation, indexed under 'Uninstall Registry Key', states that it does,
which leads to the question, what is ARPSIZE for?)

When you set ARPSYSTEMCOMPONENT you're telling Windows Installer, 'this is a
system component, don't show it in Add/Remove Programs'. So it doesn't, and
it doesn't write any of the other information to
HKLM\Software\Microsoft\Windows\Uninstall that it normally would. (What
would be the point? You can't see it anyway.)

Using ARPSYSTEMCOMPONENT to support your own bootstrap, to prevent Windows
Installer writing its own UninstallString, is kind of a convenient accident.
I'm not sure it was originally intended. The documentation actually says
"Setting the ARPSYSTEMCOMPONENT property to 1 using the command line or a
transform prevents the application from being displayed in the Add or Remove
Programs list of Control Panel." No mention of doing it in the original
package! I think the idea was that OEMs would set it for anything they
didn't want their users to uninstall.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 22 February 2008 07:13
To: Ahn Ahn Liu
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Setting Estimated Size and Version

1. ARPSIZE is set magically by ARP. There is no real way to control it. 
Raymond Chen (Master of all things Shell) had a fun blog entry about how 
ARP calculated the size it displayed there. The fact that it took him a 
couple paragraphs is telling.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to