Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #766  
Old 17-10-2013, 04:24
killkrazed killkrazed is offline
Registered User
 
Join Date: May 2013
Location: Johannesburg
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
killkrazed is on a distinguished road
Thanks!

I would have never realized I needed the "createvalueifdoesntexist" if you hadn't given me the example.
Reply With Quote
Sponsored Links
  #767  
Old 22-10-2013, 12:01
ASSAiL ASSAiL is offline
Registered User
 
Join Date: Dec 2011
Location: USA
Posts: 7
Thanks: 4
Thanked 4 Times in 3 Posts
ASSAiL is on a distinguished road
Hey REV0 and Yener

Hey guys I am Vishal.

I was going through your CI installscript...it is awesome.

but

this script adds and compress files from DVD(original file)...whereas i want to modify your script according to my game repack(external files that i run through "RUN and UNINSTALLRUN"....but was unable to do so.

I can make a basic setup with splash screen...I need my setup to be good looking with minimum possible size...so can you guys help me out?

also can i use ogg vorbis(small size) for music?
Reply With Quote
  #768  
Old 23-10-2013, 07:05
McAntony's Avatar
McAntony McAntony is offline
Registered User
 
Join Date: Aug 2010
Location: Vietnamese
Posts: 8
Thanks: 33
Thanked 0 Times in 0 Posts
McAntony is on a distinguished road
How to create shourtcut in one folder with innoide? I do not know of one folder created with Inno shourtcut it just created in the home directory.
Please!

Sorry my bad english
Reply With Quote
  #769  
Old 24-10-2013, 02:30
ASSAiL ASSAiL is offline
Registered User
 
Join Date: Dec 2011
Location: USA
Posts: 7
Thanks: 4
Thanked 4 Times in 3 Posts
ASSAiL is on a distinguished road
can anyone help me how to create a setup like this?

http://fileforums.com/showthread.php?t=91778

when i put my mouse over the install button it zooms out.

can anyone gimme source code of this?
Reply With Quote
  #770  
Old 28-10-2013, 13:15
reiji777's Avatar
reiji777 reiji777 is offline
Registered User
 
Join Date: May 2011
Location: Tokyo
Posts: 53
Thanks: 50
Thanked 3 Times in 3 Posts
reiji777 is on a distinguished road
please, how to join / merge setup.cab into setup.exe? I've tried internal instalation tutorial but I still don't quite understand
Reply With Quote
  #771  
Old 28-10-2013, 15:03
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
using CIU you must have
#define Internal ( like it is in BOTH Installerscript / Langscript ISS files.
In Installerscript.iss the ;#define ProgramFiles .... line MUST have the ; in front.

Then the files from Setup.cab MUST be extracted in Setup subfolder. Then files from setup.cab will be included into the setup.exe.
Reply With Quote
  #772  
Old 28-10-2013, 22:30
reiji777's Avatar
reiji777 reiji777 is offline
Registered User
 
Join Date: May 2011
Location: Tokyo
Posts: 53
Thanks: 50
Thanked 3 Times in 3 Posts
reiji777 is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
using CIU you must have
#define Internal ( like it is in BOTH Installerscript / Langscript ISS files.
In Installerscript.iss the ;#define ProgramFiles .... line MUST have the ; in front.

Then the files from Setup.cab MUST be extracted in Setup subfolder. Then files from setup.cab will be included into the setup.exe.


but when i deleted the setup.cab. setup.exe is still looking for the setup.cab
And seems like the game not loaded into the script.
Reply With Quote
  #773  
Old 29-10-2013, 02:13
ASSAiL ASSAiL is offline
Registered User
 
Join Date: Dec 2011
Location: USA
Posts: 7
Thanks: 4
Thanked 4 Times in 3 Posts
ASSAiL is on a distinguished road
Quote:
Originally Posted by reiji777 View Post


but when i deleted the setup.cab. setup.exe is still looking for the setup.cab
And seems like the game not loaded into the script.
hey m8

compile script first (with #define Internal) and then

run file "Convert_AutorunToDLL.bat".

after running this file you can delete setup.cab.
Reply With Quote
The Following User Says Thank You to ASSAiL For This Useful Post:
reiji777 (29-10-2013)
  #774  
Old 29-10-2013, 14:25
reiji777's Avatar
reiji777 reiji777 is offline
Registered User
 
Join Date: May 2011
Location: Tokyo
Posts: 53
Thanks: 50
Thanked 3 Times in 3 Posts
reiji777 is on a distinguished road
I've seen the scripts from some installer.
1st installer (tombraider survival) didn't put any registry code
Quote:
[Registry]
2nd installer (sleeping dog) put one line of registry code
Quote:
[Registry]
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueName: UninstallString; ValueData: {uninstallexe}; ValueType: string; Flags: UninsDeleteKey;
3rd installer (mass effect 3) put many line of registry code on their scripts
Quote:
[Registry]
Root: HKLM; SubKey: "SOFTWARE\BioWare\Mass Effect 3"; ValueName: Install Dir; ValueData: {app}\{code:GetMyAppExePath}; ValueType: string; Flags: UninsDeleteKey;
Root: HKLM; SubKey: "SOFTWARE\BioWare\Mass Effect 3"; ValueName: Display Name; ValueData: Mass Effect™ 3 ; ValueType: string; Flags: UninsDeleteKey;
Root: HKLM; SubKey: "SOFTWARE\BioWare\Mass Effect 3"; ValueName: GDFBinary; ValueData: {app}\Mass Effect 3\GDFBinary_en_US.dll ; ValueType: string; Flags: UninsDeleteKey;

etc..
all the script can install and uninstall perfectly.
what is the difference between three of them?
how do i recognize a game which required alot of registry code to be inserted in the script or not at all?
if I don't insert the registry key, then the game wouldn't compatible for the future updates of the game? (like in the first ver. splinter cell blacklist installer)
sorry for my bad english

Last edited by reiji777; 29-10-2013 at 14:37.
Reply With Quote
  #775  
Old 29-10-2013, 15:05
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
some games don't care if they have any registry entries at all. The uninstall entry is only for INNO version, to uninstall properly. ( much like #1 & #2 installers )

Then there is the 3rd type of game which will NOT run at all, or allow any updates to be installed if the proper registry entries are not found.

You need to search thru registry for entries that the particular game your doing, entered any. IF it has you MAY need to copy those types of entries into your INNO script.
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
reiji777 (29-10-2013)
  #776  
Old 30-10-2013, 22:48
ASSAiL ASSAiL is offline
Registered User
 
Join Date: Dec 2011
Location: USA
Posts: 7
Thanks: 4
Thanked 4 Times in 3 Posts
ASSAiL is on a distinguished road
Can anyone modify the installerscript?

I don't want to include "include" folder...that means no arc...no 7z...and nothing else....i want to use my custom files.

and also i don't need disk spanning for three disk or more.

I just need 1 disk slice.

can any one modify the script???...i can't do that because everything is related to each other.
Reply With Quote
  #777  
Old 01-11-2013, 08:34
reiji777's Avatar
reiji777 reiji777 is offline
Registered User
 
Join Date: May 2011
Location: Tokyo
Posts: 53
Thanks: 50
Thanked 3 Times in 3 Posts
reiji777 is on a distinguished road
i want to make a nice, simple, fast and very effective installer like this:

with extra music on/off button
the function is simple : install game => install support drivers (directx, phsyx dll.) in silent mode.
is it possible? can someone share how to make it?
it would be wonderful. thanks

Last edited by reiji777; 01-11-2013 at 08:46.
Reply With Quote
  #778  
Old 01-11-2013, 08:59
ASSAiL ASSAiL is offline
Registered User
 
Join Date: Dec 2011
Location: USA
Posts: 7
Thanks: 4
Thanked 4 Times in 3 Posts
ASSAiL is on a distinguished road
Quote:
Originally Posted by reiji777 View Post
i want to make a nice, simple, fast and very effective installer like this:

with extra music on/off button
the function is simple : install game => install support drivers (directx, phsyx dll.) in silent mode.
is it possible? can someone share how to make it?
it would be wonderful. thanks
just change the wizard image...for logo...music button has to be created with [code]

and run files thru batch file

like this
Code:
#Soft#\vc80_redist\Vcredist_x86.exe /q:a /c:"msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x86.log" 
#Soft#\DirectX\dxwebsetup.exe
Reply With Quote
The Following User Says Thank You to ASSAiL For This Useful Post:
reiji777 (01-11-2013)
  #779  
Old 01-11-2013, 10:08
reiji777's Avatar
reiji777 reiji777 is offline
Registered User
 
Join Date: May 2011
Location: Tokyo
Posts: 53
Thanks: 50
Thanked 3 Times in 3 Posts
reiji777 is on a distinguished road
Quote:
Originally Posted by ASSAiL View Post
just change the wizard image...for logo...music button has to be created with [code]

and run files thru batch file

like this
Code:
#Soft#\vc80_redist\Vcredist_x86.exe /q:a /c:"msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x86.log" 
#Soft#\DirectX\dxwebsetup.exe
I hope someone could give the detail tutorial. or maybe the basic template of the script
btw is visual basic program capable to make the same exact installer like these scripts especially yener script?

Last edited by reiji777; 01-11-2013 at 10:16.
Reply With Quote
  #780  
Old 04-11-2013, 08:58
Darkangel5 Darkangel5 is offline
Registered User
 
Join Date: Oct 2013
Location: FRANCE
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Darkangel5 is on a distinguished road
good evening

sorry to use google translation to translate
i have the same problem that buttignol
a solution?
thank you

Quote:
Inno setup help disk space
Friends disk size and space available to install is the same when you switch to install on another HD how to fix it
If possible also how to put the point size ex: 149 Gb to 149.50 Gb
Ex: script my script is in two parts.
Quote:

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

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;
procedure InitializeWizard3();
var
Page: TWizardPage;
lbl: TLabel;
Path: String;
FreeMB, TotalMB: Cardinal;
begin
Path := ExpandConstant('{pf}');
GetSpaceOnDisk(Path, True, FreeMB, TotalMB);
Page := PageFromID(wpSelectDir);

lbl := TLabel.Create(Page);
lbl.Width := ScaleX(105);
lbl.Height := ScaleY(43);
lbl.Caption := ExpandConstant('Espaço total do disco : ') + MbOrTb(TotalMB);
lbl.Left := 0;
lbl.Top := 155;
lbl.Parent := Page.Surface;

lbl := TLabel.Create(Page);
lbl.Width := ScaleX(75);
lbl.Height := ScaleY(23);
lbl.Caption := ExpandConstant('Espaço em disco disponível: ') + MbOrTb(FreeMB) + ' (' + IntToStr((FreeMB * 100) div TotalMB) + '%)';
lbl.Left := 0;
lbl.Top := 175;
lbl.Parent := Page.Surface;

lbl := TLabel.Create(Page);
lbl.Width := ScaleX(75);
lbl.Height := ScaleY(23);
lbl.Caption := ExpandConstant('Espaço do Game : ') + MbOrTb(24000);
lbl.Left := 0;
lbl.Top := 195;
lbl.Parent := Page.Surface;
end;
procedure InitializeWizard();
begin
//InitializeWizard1();
//InitializeWizard2();
InitializeWizard3();
end;
Attached Images

Last edited by Darkangel5; 04-11-2013 at 09:18.
Reply With Quote
Reply


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 10:32.


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