Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23-04-2013, 08:18
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,752
Thanks: 2,187
Thanked 11,212 Times in 2,310 Posts
Razor12911 is on a distinguished road
@Andre Jesus

Done man, check it out.
Attached Files
File Type: 7z Setup.7z (536 Bytes, 45 views)

Last edited by Razor12911; 23-04-2013 at 08:38.
Reply With Quote
Sponsored Links
  #2  
Old 23-04-2013, 09:24
Andre Jesus's Avatar
Andre Jesus Andre Jesus is offline
Registered User
 
Join Date: Jun 2012
Location: Brazil
Posts: 70
Thanks: 11
Thanked 0 Times in 0 Posts
Andre Jesus is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
@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?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 08:31.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com