Size displayed in 'AddRemovePrograms' applet

For all your non-technical questions.
jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

Size displayed in 'AddRemovePrograms' applet

Postby jweksej » Tue Feb 13, 2007 10:21 am

it is estimated as size of $TARGETDIR$ folder defined in installer. How to pass only to ARP another path, in my case it is $TARGETDIR$ subfolder '$TARGETDIR$\\ComponentName' ?

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Tue Feb 13, 2007 3:11 pm

Actually, this is estimated internally by Windows Installer. I don't think it has anything to do with $TARGETDIR$.

You can hard-code your own size if you wish, by directly writing to the registry.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

Postby jweksej » Wed Feb 14, 2007 4:28 pm

But the size displayed is exactly as TARGETDIR folder size...
Do you know where in registry is this size stored?

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Fri Feb 16, 2007 7:51 am

A quick Google search reveals this location to be:

HKLM (for ALLUSERS=TRUE)
HKCU (for ALLUSERS=FALSE)

\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$
EstimatedSize (INTEGER)= $MYSIZE$
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

Postby jweksej » Fri Feb 16, 2007 9:37 am

and quick test on registry editor - and it doesn't work. Either on 2k or Xp. ARP displays the same value all the time.
This was the reason of my previous post.

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Sun Feb 18, 2007 4:19 pm

You may have modified the wrong area of the registry. You can search for this field in other ARP entries and correlate your findings.
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

Postby jweksej » Mon Feb 19, 2007 3:03 am

This is exactly what I've done before. I've changed Microsoft components size and it looks, ARP is not using EstimatedSize anymore.


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 16 guests