How to show actual application size in control pan

2019-09-17 03:10发布

问题:

How to show application actual size in control panel Programs and Features ?

I know i should use #define Myappsize but don't know proper way.

Anybody please help.

THANKS!

回答1:

To modify the setup size that can be seen in the Add/Remove Programs control panel applet you can change the value of the UninstallDisplaySize directive. To set it to a certain (single) file size at the compilation time you can use the preprocessor's FileSize function. For example:

[Setup]
AppName=My Program
AppVersion=1.5
DefaultDirName={pf}\My Program
UninstallDisplaySize={#FileSize('C:\Deployment\MyApp.exe')}


标签: inno-setup