Re: [WiX-users] Setting Estimated Size and Version

2008-02-25 Thread Mike Dimmick
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/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Setting Estimated Size and Version

2008-02-23 Thread Heath Stewart
Setting ARPSYSTEMCOMPONENT can make servicing very difficult. Read 
http://blogs.msdn.com/heaths/archive/tags/ARPSYSTEMCOMPONENT/default.aspx 
for a lot of the problems you'll encounter and some tips to work around 
them.

To set the version that shows up in ARP if you are managing it yourself, 
set DisplayVersion (REG_SZ).

Rob Mensching wrote:
> 1.  Sure, hacks are always a good idea.
>
> 2.  Oh, if you set ARPSYSTEMCOMPONENT then you are on your own.  I 
> haven't dug into the Uninstall key enough to know if/how to set the 
> version.  It is entirely possible that it is a MSI only thing in ARP.
>
>
> Ahn Ahn Liu wrote:
>   
>> Thanks for the reply.
>>
>> 1. Too bad about not being able to control it.  Since our chainer just calls 
>> a bunch of other packages and doesn't actually install anything itself the 
>> size shown is only 7.6MB when in reality, it's over 3GB!  Maybe I'll check 
>> with the Shell team to see if there's any hack around it.
>>
>> 2.  I set product/@Version to 1.0.0.0 but the arp entry still shows it as 
>> blank... I'm setting ARPSYSTEMCOMPONENT to 1, so I imagine that's why it's 
>> not pulling the version from product/@version.  I also set the 
>> windows\currentversion\uninstall\version and productversion field to 1.0.0.0 
>> but that unfortunately does change the arp version field either.  Any other 
>> ideas on this one?
>>
>> Thanks,
>>
>> Ahn AHn
>>
>> -Original Message-
>> From: Rob Mensching [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, February 21, 2008 11:13 PM
>> 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.
>>
>> 2. AFAIK, the ARP Version is controlled by the Product/@Version
>> (ProductVersion in MSI speak).
>>
>> PS: In case you didn't know, ARP is the Shell team's fault not the
>> Windows Installer team's fault.
>>
>> Ahn Ahn Liu wrote:
>>   
>> 
>>> I was wondering if it was possible to set the size and version that
>>> shows up for a given program in ARP when I set ARPSYSTEMCOMPONENT to
>>> 1. For size, it seems like setting ARPSIZE or EstimatedSize has no
>>> effect. I'm also unsure how to set the Version. Does anybody have an idea?
>>>
>>> Thanks!
>>>
>>> 
>>>
>>> -
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>>> 
>>>
>>> ___
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>> 
>>>   
>> -
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>   
>> 
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

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


Re: [WiX-users] Setting Estimated Size and Version

2008-02-23 Thread Rob Mensching
1.  Sure, hacks are always a good idea.

2.  Oh, if you set ARPSYSTEMCOMPONENT then you are on your own.  I 
haven't dug into the Uninstall key enough to know if/how to set the 
version.  It is entirely possible that it is a MSI only thing in ARP.


Ahn Ahn Liu wrote:
> Thanks for the reply.
>
> 1. Too bad about not being able to control it.  Since our chainer just calls 
> a bunch of other packages and doesn't actually install anything itself the 
> size shown is only 7.6MB when in reality, it's over 3GB!  Maybe I'll check 
> with the Shell team to see if there's any hack around it.
>
> 2.  I set product/@Version to 1.0.0.0 but the arp entry still shows it as 
> blank... I'm setting ARPSYSTEMCOMPONENT to 1, so I imagine that's why it's 
> not pulling the version from product/@version.  I also set the 
> windows\currentversion\uninstall\version and productversion field to 1.0.0.0 
> but that unfortunately does change the arp version field either.  Any other 
> ideas on this one?
>
> Thanks,
>
> Ahn AHn
>
> -Original Message-
> From: Rob Mensching [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 21, 2008 11:13 PM
> 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.
>
> 2. AFAIK, the ARP Version is controlled by the Product/@Version
> (ProductVersion in MSI speak).
>
> PS: In case you didn't know, ARP is the Shell team's fault not the
> Windows Installer team's fault.
>
> Ahn Ahn Liu wrote:
>   
>> I was wondering if it was possible to set the size and version that
>> shows up for a given program in ARP when I set ARPSYSTEMCOMPONENT to
>> 1. For size, it seems like setting ARPSIZE or EstimatedSize has no
>> effect. I'm also unsure how to set the Version. Does anybody have an idea?
>>
>> Thanks!
>>
>> 
>>
>> -
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>> 
>>
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>> 
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>   

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


Re: [WiX-users] Setting Estimated Size and Version

2008-02-22 Thread Ahn Ahn Liu
Thanks for the reply.

1. Too bad about not being able to control it.  Since our chainer just calls a 
bunch of other packages and doesn't actually install anything itself the size 
shown is only 7.6MB when in reality, it's over 3GB!  Maybe I'll check with the 
Shell team to see if there's any hack around it.

2.  I set product/@Version to 1.0.0.0 but the arp entry still shows it as 
blank... I'm setting ARPSYSTEMCOMPONENT to 1, so I imagine that's why it's not 
pulling the version from product/@version.  I also set the 
windows\currentversion\uninstall\version and productversion field to 1.0.0.0 
but that unfortunately does change the arp version field either.  Any other 
ideas on this one?

Thanks,

Ahn AHn

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 11:13 PM
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.

2. AFAIK, the ARP Version is controlled by the Product/@Version
(ProductVersion in MSI speak).

PS: In case you didn't know, ARP is the Shell team's fault not the
Windows Installer team's fault.

Ahn Ahn Liu wrote:
>
> I was wondering if it was possible to set the size and version that
> shows up for a given program in ARP when I set ARPSYSTEMCOMPONENT to
> 1. For size, it seems like setting ARPSIZE or EstimatedSize has no
> effect. I'm also unsure how to set the Version. Does anybody have an idea?
>
> Thanks!
>
> 
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
>
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

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


Re: [WiX-users] Setting Estimated Size and Version

2008-02-21 Thread Rob Mensching
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.

2. AFAIK, the ARP Version is controlled by the Product/@Version 
(ProductVersion in MSI speak).

PS: In case you didn't know, ARP is the Shell team's fault not the 
Windows Installer team's fault.

Ahn Ahn Liu wrote:
>
> I was wondering if it was possible to set the size and version that 
> shows up for a given program in ARP when I set ARPSYSTEMCOMPONENT to 
> 1. For size, it seems like setting ARPSIZE or EstimatedSize has no 
> effect. I’m also unsure how to set the Version. Does anybody have an idea?
>
> Thanks!
>
> 
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
>
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

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