Quote:
Originally Posted by Razor12911
@Andre Jesus
Done man, check it out.
|
Thanks, but I thought the inno setup do the calculation automatically.
Note that if I change the value [MB] to [KB], it does the calculation automatically.
Example 1 - size MB.
Code:
[Setup]
AppName=Setup
AppVerName=Setup
OutputDir=.
DefaultDirName={pf}\Setup
Compression=none
[Files]
Source: Install\*; DestDir: "{app}";
[Messages]
DiskSpaceMBLabel=At least [mb] MB of free disk space is required.
Sem título.jpg
Example 2 - size kb
Code:
[Setup]
AppName=Setup
AppVerName=Setup
OutputDir=.
DefaultDirName={pf}\Setup
Compression=none
[Files]
Source: Install\*; DestDir: "{app}";
;The folder Install have 88,9 MB
[Messages]
DiskSpaceMBLabel=At least [kb] MB of free disk space is required.
Sem título14.jpg
Following the example above, believed that by entering [gb] he would do the calculation automatically for GB, however, he considers as text.
Code:
[Setup]
AppName=Setup
AppVerName=Setup
OutputDir=.
DefaultDirName={pf}\Setup
Compression=none
[Files]
Source: Install\*; DestDir: "{app}";
;The folder Install have 88,9 MB
[Messages]
DiskSpaceMBLabel=At least [gb] GB of free disk space is required.
Sem títulod.jpg
So, Inno Setup does not recognize the value in GB?