Announcement
Collapse
No announcement yet.
Estimated Size in ARP
Collapse
X
-
Hum, this is strange. From the documentation I found, Windows apparently populates this information by scanning the folder. If this is not working for you, then you can add the desired information manually in the registry.
Code:-- in the On Pre Install event script, add this line: g_nEstimatedSize = SetupData.CalculateRequiredSpace() / 1024; -- in the On Post Install event script, add this: -- Uninstall settings > Control Panel > Unique registry key = "%ProductName%" local sKey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\%ProductName%"; Registry.SetValue(HKEY_LOCAL_MACHINE, SessionVar.Expand(sKey), "EstimatedSize", g_nEstimatedSize, REG_DWORD);
Ulrich
Leave a comment:
-
-
Hi Ulrich,
I mean for the setup project you build, not for setup factory itself.
We are long time customers and none of our product setups writes the estimated size in Add/Remove Programs. See the attached picture.
Why? Is there any option to check?
Thanks,
Alberto
1 PhotoLast edited by devdept; 11-18-2016, 12:47 AM.
Leave a comment:
-
-
I do not see any problems. Even Setup Factory 8 writes the used space into Programs and Features:
Ulrich
Leave a comment:
-
-
Estimated Size in ARP
Does Setup Factory 9.5 write Estimated Size in Add/Remove Programs?
Currently we are using an earlier version and this field is always blank.
Thanks,
AlbertoTags: None
-
Leave a comment: