FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   INNO TROUBLESHOOT - Questions Here (https://fileforums.com/showthread.php?t=93193)

killkrazed 17-10-2013 04:24

Thanks!

I would have never realized I needed the "createvalueifdoesntexist" if you hadn't given me the example.

ASSAiL 22-10-2013 12:01

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?

McAntony 23-10-2013 07:05

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 :(

ASSAiL 24-10-2013 02:30

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?

reiji777 28-10-2013 13:15

please, how to join / merge setup.cab into setup.exe? I've tried internal instalation tutorial but I still don't quite understand :(

pakrat2k2 28-10-2013 15:03

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.

reiji777 28-10-2013 22:30

Quote:

Originally Posted by pakrat2k2 (Post 424950)
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.

http://i1076.photobucket.com/albums/...ps47003408.jpg

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.

ASSAiL 29-10-2013 02:13

Quote:

Originally Posted by reiji777 (Post 424961)
http://i1076.photobucket.com/albums/...ps47003408.jpg

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.

reiji777 29-10-2013 14:25

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 :o

pakrat2k2 29-10-2013 15:05

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.

ASSAiL 30-10-2013 22:48

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.

reiji777 01-11-2013 08:34

i want to make a nice, simple, fast and very effective installer like this:
http://img560.imageshack.us/img560/646/ainstall.jpg
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 :)

ASSAiL 01-11-2013 08:59

Quote:

Originally Posted by reiji777 (Post 425126)
i want to make a nice, simple, fast and very effective installer like this:
http://img560.imageshack.us/img560/646/ainstall.jpg
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


reiji777 01-11-2013 10:08

Quote:

Originally Posted by ASSAiL (Post 425127)
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 :D
btw is visual basic program capable to make the same exact installer like these scripts especially yener script?

Darkangel5 04-11-2013 08:58

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

http://img11.hostingpics.net/pics/580597Sanstitre4.jpg


All times are GMT -7. The time now is 17:16.

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