|
|
|
#1
|
|||
|
|||
|
what values should I put?
|
| Sponsored Links |
|
#2
|
||||
|
||||
|
The max size is 1.95GB (DiskSliceSize=2100000000)
http://www.jrsoftware.org/ishelp/ind..._diskslicesize |
|
#3
|
||||
|
||||
|
please fix hte gamesixe is working bad if i set 14550 show 14.50 mb and must be 14.55 GB
|
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
||||
|
||||
|
for me 14450 = 14.55 MB
i think is better thar the setup show Gb when MB = 1 GB |
|
#6
|
||||
|
||||
|
Ok i add for you...
|
|
#7
|
||||
|
||||
|
Add this function in your script, i made the choice to define megabytes...
Code:
Function MbOrTb(Byte: Extended): String;
begin
if Byte < 1024 then Result:= NumToStr(Byte) + ' MB' else
if Byte/1024 < 1024 then Result:= NumToStr(round(Byte/1024*100)/100) + ' GB' else
Result:= NumToStr(round((Byte/(1024*1024))*100)/100) + ' TB'
end;
|
|
#8
|
|||
|
|||
![]() how fix this error ??? Thxxxx |
|
#10
|
|||
|
|||
|
I'm sorry
![]() bad handling of my part ![]() it's good ... thank you very much it works Perfectly ![]()
|
|
#11
|
|||
|
|||
|
You can implement the languages in the setup?
|
|
#12
|
||||
|
||||
|
how i do to convert all this line in custom message
Code:
'Setup requires at least '+MbOrTb({#AppSize})+' of free space to install, but the'+#13#10+'selected drive only has '+MbOrTb(FreeMB)+' available.'+#13#10#13#10+'Do you want continue anyway?'
|
|
#13
|
||||
|
||||
|
Code:
[Languages] Name: eng; MessagesFile: compiler:Default.isl Code:
[CustomMessages] eng.DiskSpaceLabel=At least %1 of free disk space is required. eng.DiskSpaceLabelWarning=Setup requires at least %1 of free space to install, but the %2selected drive only has %3 available.%4Do you want continue anyway? Code:
[_CODE]
FmtMessage(CustomMessage('DiskSpaceLabel'), [MbOrTb({#GameSize})]);
FmtMessage(CustomMessage('DiskSpaceLabelWarning'), [MbOrTb({#GameSize}), #13#10, MbOrTb(FreeMB), #13#10#13#10])
|
|
#14
|
|||
|
|||
|
[Icons]
Name: "{group}\{#GameName}"; Filename: "{#GameExeName32}"; Check: Not IsWin64; Tasks: groupicon; Name: "{commondesktop}\{#GameName}"; Filename: "{#GameExeName32}"; Check: Not IsWin64; Tasks: desktopicon; Name: "{group}\{#GameName}"; Filename: "{#GameExeName64}"; Check: IsWin64; Tasks: groupicon; Name: "{commondesktop}\{#GameName}"; Filename: "{#GameExeName64}"; Check: IsWin64; Tasks: desktopicon; HELP GAME DESKTOP |
|
#15
|
||||
|
||||
|
Quote:
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Light Installer Script (LIS) - DiskSpan_GUI | Cesar82 | Conversion Tutorials | 227 | 30-05-2026 05:01 |
| Simple Installer Script | Masquerade | Conversion Tutorials | 88 | 11-11-2024 00:49 |
| Script collection for real beginners | nordi | Conversion Tutorials | 3 | 14-02-2024 20:45 |
| Ultimate Conversion Compressor (UCC) | vollachr | Conversion Tutorials | 55 | 26-04-2021 09:27 |