ARPSIZE Property
Has anyone successfully used the ARPSIZE property?
I have a couple of packages which only consist of a script (about 3kb) and shortcut, but in add remove programs they appear as being 4,095Mb - it's purely cosmetic but I'd like to get a realistic size to display, either by using ARPSIZE or another method - ARPSIZE doesn't seem to do anything though.
Thanks in advance...
I have a couple of packages which only consist of a script (about 3kb) and shortcut, but in add remove programs they appear as being 4,095Mb - it's purely cosmetic but I'd like to get a realistic size to display, either by using ARPSIZE or another method - ARPSIZE doesn't seem to do anything though.
Thanks in advance...
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
ForrestGump
19 years ago
Posted by:
MSIPackager
19 years ago
Guess it's caused by the file being smaller than the cluster size on the disk (4Kb) and causing windows to incorrectly display the size of the app?! At least, that statement makes some kind of sense in my head.. ;-)
Anyway, to get around it I just added a dummy .bmp file to the installation to up the total size if the install - it now shows as 0.91mb - better than 4gb!
Hope this helps,
Rob.
Anyway, to get around it I just added a dummy .bmp file to the installation to up the total size if the install - it now shows as 0.91mb - better than 4gb!
Hope this helps,
Rob.
Posted by:
Jim101
19 years ago
ForrestGump and MSIPackager;
I have also encountered this issue before and rather than creating dummy files that are not needed you can create the following regsitry key within your package that will be removed when you uninstall the MSI;
HKLM\Software\Microsoft\CurrentVersion\Uninstall\%APPLICATIONGUID%\ then create a DWORD key with a Hexidecimal value called EstimatedSize.
This will populate your ARPSize on you Add & Remove programs control applet.
Hope this helps.
Jim
I have also encountered this issue before and rather than creating dummy files that are not needed you can create the following regsitry key within your package that will be removed when you uninstall the MSI;
HKLM\Software\Microsoft\CurrentVersion\Uninstall\%APPLICATIONGUID%\ then create a DWORD key with a Hexidecimal value called EstimatedSize.
This will populate your ARPSize on you Add & Remove programs control applet.
Hope this helps.
Jim
Posted by:
MSIPackager
19 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.