|
|
|
#1
|
||||
|
||||
|
Code:
#define public RequiredSpace "1000"
#define MbToBytes(str *Value) \
Local[1] = MbToBytes((Value)), \
Local[1]
[Setup]
AppName=111
AppVersion=0.0
AppPublisher=bbbbb
DefaultDirName={autopf}\111
ExtraDiskSpaceRequired={#MbToBytes(RequiredSpace)}
[_Code]
function MbToBytes(Value: Integer): Integer;
begin
Result := (Value * (1024 * 1024));
end;
__________________
¤ Life good be a Dream ¤ Last edited by Lord.Freddy; 10-04-2023 at 08:55. |
| Sponsored Links |
![]() |
| 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 06:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 07:57 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 10:48 |