Hi, I'm using a project with the "do not show in list" option checked on the Product Details page, so I have to supply my own information to appear under Programs And Features. As part of this, I need to display the installation version number and size. I've implemented the version fine using [ProductVersion] as the value for HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Our Product\DisplayVersion. I can inform Windows of the size using a DWORD value called EstimatedSize under the same key, but what I don't know is how to generate the value itself, and so I'm having to use a hardcoded value. I tried ARPSIZE, but at installation time I got a "cannot write to registry"-type error, so I'm assuming it's the wrong variable type (or just completely unsuitable).
Is there a better way of doing it? Thanks.
FOLLOW US
Get the latest news in Application Packaging