|
|
|
#1
|
||||
|
||||
|
@Andre Jesus
Done man, check it out. Last edited by Razor12911; 23-04-2013 at 08:38. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
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.
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.
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.
So, Inno Setup does not recognize the value in GB? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |