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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 31-10-2014, 09:52
Adonix Adonix is offline
Registered User
 
Join Date: Aug 2014
Location: India
Posts: 73
Thanks: 17
Thanked 8 Times in 7 Posts
Adonix is on a distinguished road
Thumbs up

Hello i have 3 issues,..please fix them and help me.
FIRST :-
In main.iss file i am setting "#define AppSize "1640" "

but when installing game then it's showing "Game Space 1 Gb, Total Space Needed 1Gb"

But my game size is 1.64 gb ,..so please help me to fix the error.
http://i.imgur.com/KaVWxEM.jpg
=======================================
SECOND :-
i want to remove nvidia phyx and framework from installing (redist).
help me to disable them and hide that 2 options.
http://i.imgur.com/leNdU7m.jpg
=======================================
THIRD :-
i want to change right side upper corner 3 signs to good one.
http://i.imgur.com/2u8HNw5.jpg
=======================================

Attaching my main.iss file,..please fix it.
Please help me. thanks gods.
Attached Files
File Type: rar Main.rar (6.3 KB, 23 views)
Reply With Quote
Sponsored Links
  #2  
Old 31-10-2014, 14:01
Dante1995 Dante1995 is offline
Banned
 
Join Date: Feb 2014
Location: Black Hole
Posts: 297
Thanks: 116
Thanked 481 Times in 162 Posts
Dante1995 is on a distinguished road
fix

Last edited by Dante1995; 28-12-2014 at 20:54.
Reply With Quote
The Following User Says Thank You to Dante1995 For This Useful Post:
Adonix (31-10-2014)
  #3  
Old 31-10-2014, 18:33
minh_k43sj minh_k43sj is offline
Registered User
 
Join Date: Oct 2014
Location: ho chi minh
Posts: 23
Thanks: 14
Thanked 1 Time in 1 Post
minh_k43sj is on a distinguished road
How to fix
#define AppSize = 18600
but when run setup it only show 18gb (not 18.6gb)

You can fix this main help me Dante

again ! thanks for everything
Attached Files
File Type: rar Main(Compact.Mode).rar (8.1 KB, 29 views)

Last edited by minh_k43sj; 31-10-2014 at 19:03.
Reply With Quote
  #4  
Old 31-10-2014, 20:26
minh_k43sj minh_k43sj is offline
Registered User
 
Join Date: Oct 2014
Location: ho chi minh
Posts: 23
Thanks: 14
Thanked 1 Time in 1 Post
minh_k43sj is on a distinguished road
Quote:
Originally Posted by Dante1995 View Post
GameSpaceLabel.Caption := ExpandConstant('Game Space : ') + MbOrTb({#AppSize}); = Show 18.6

GameSpaceLabel.Caption := ExpandConstant('Game Space : ') + ('{#AppSize}'); = Show 18600


18gb real is 18.432
600x1024=614,400
18.432+614,400=
It not working with main i was upload for you, if you can, please dowload main i was upload and test

and :
- 18gb real is 18.432 => i get it
- 600x1024=614,400 => what the 600x1024 ? i don't know
- 18.432+614,400 = put this size on #define AppSize ??

Last edited by minh_k43sj; 31-10-2014 at 20:31.
Reply With Quote
  #5  
Old 31-10-2014, 20:45
Dante1995 Dante1995 is offline
Banned
 
Join Date: Feb 2014
Location: Black Hole
Posts: 297
Thanks: 116
Thanked 481 Times in 162 Posts
Dante1995 is on a distinguished road
just remove the round to get the decimal




Code:

Function NumToStr(Float: Extended): String;
Begin
  Result:= Format('%.3n', [Float]); StringChange(Result, ',', '.');
  while ((Result[Length(Result)] = '0') or (Result[Length(Result)] = '.')) and (Pos('.', Result) > 0) do
  SetLength(Result, Length(Result));
End;

Function MbOrTb(Byte: Extended): String;
begin
if Byte < 1024 then Result:= NumToStr(Byte) + ' MB' else
  if Byte/1024 < 1024 then Result:= NumToStr((Byte/1024*100)/100) + ' GB' else
     Result:= NumToStr(((Byte/(1024*1024))*100)/100) + ' TB'
end;
18600 mb = 18.164 gb

Last edited by Dante1995; 31-10-2014 at 20:58.
Reply With Quote
  #6  
Old 31-10-2014, 21:26
minh_k43sj minh_k43sj is offline
Registered User
 
Join Date: Oct 2014
Location: ho chi minh
Posts: 23
Thanks: 14
Thanked 1 Time in 1 Post
minh_k43sj is on a distinguished road
Quote:
Originally Posted by Dante1995 View Post
just remove the round to get the decimal




Code:

Function NumToStr(Float: Extended): String;
Begin
  Result:= Format('%.3n', [Float]); StringChange(Result, ',', '.');
  while ((Result[Length(Result)] = '0') or (Result[Length(Result)] = '.')) and (Pos('.', Result) > 0) do
  SetLength(Result, Length(Result));
End;

Function MbOrTb(Byte: Extended): String;
begin
if Byte < 1024 then Result:= NumToStr(Byte) + ' MB' else
  if Byte/1024 < 1024 then Result:= NumToStr((Byte/1024*100)/100) + ' GB' else
     Result:= NumToStr(((Byte/(1024*1024))*100)/100) + ' TB'
end;
18600 mb = 18.164 gb
OK, great.

and how to hide button "Back" at second windows setup"

sorry if i ask you too much (google translate, sorry my english)


Last edited by minh_k43sj; 31-10-2014 at 21:47.
Reply With Quote
  #7  
Old 01-11-2014, 04:09
Dante1995 Dante1995 is offline
Banned
 
Join Date: Feb 2014
Location: Black Hole
Posts: 297
Thanks: 116
Thanked 481 Times in 162 Posts
Dante1995 is on a distinguished road
Code:
if CurPageID=wpSelectDir then begin
    WizardForm.BackButton.Hide;
  end;
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
Copy file with Inno Setup Script emrahcey Software 1 02-07-2010 08:24



All times are GMT -7. The time now is 22:35.


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