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 14-10-2013 23:50

If A game has it's registry keys in 2 different places based on if it's 64 or 32-bit how would I add that to innosetup?

EG:
The Game on 32-bit windows has it's registry in "HKEY_LOCAL_MACHINE\SOFTWARE", But in 64-bit windows it instead goes into "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE".

Would I simply add registry for both editions, changing the "HKLM; SubKey: "SOFTWARE\" to "HKLM; SubKey: "SOFTWARE\WOW6432NODE\". Or does innosetup sort it out itself?

Thanks in advance.

Razor12911 15-10-2013 04:29

Quote:

Originally Posted by killkrazed (Post 424392)
If A game has it's registry keys in 2 different places based on if it's 64 or 32-bit how would I add that to innosetup?

EG:
The Game on 32-bit windows has it's registry in "HKEY_LOCAL_MACHINE\SOFTWARE", But in 64-bit windows it instead goes into "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE".

Would I simply add registry for both editions, changing the "HKLM; SubKey: "SOFTWARE\" to "HKLM; SubKey: "SOFTWARE\WOW6432NODE\". Or does innosetup sort it out itself?

Thanks in advance.

you must use "Check: IsWin64;" if you want Inno to add the registry is running under x64 and "Check: not IsWin64" if running in x86.
But remove this line in both x86 and x64 OS in your registry (\WOW6432NODE)

Razor12911 15-10-2013 04:31

Quote:

Originally Posted by danswano (Post 424376)
Using tta is really good for wave files, i wonder why the hell ISDone is extracting all the files and at the end gives that error, i mean ISDone managed to uncompress the file properly but the error at the end will rollback everything to nothing.

gimme all the files for the compression and will solve and will give you the results.

killkrazed 17-10-2013 01:36

Quote:

Originally Posted by Razor12911
you must use "Check: IsWin64;" if you want Inno to add the registry is running under x64 and "Check: not IsWin64" if running in x86.
But remove this line in both x86 and x64 OS in your registry (\WOW6432NODE)

Could you please give an Example?

I am trying to add the registry for PES2014, it works fine off the original installer but every time I convert it the registry doesn't seem to be added correctly.

altef_4 17-10-2013 02:05

Quote:

Originally Posted by killkrazed (Post 424512)
Could you please give an Example?

I am trying to add the registry for PES2014, it works fine off the original installer but every time I convert it the registry doesn't seem to be added correctly.

you are not ask for me but here:
[Registry]
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Valve\Steam; ValueType: string; ValueName: InstallPath; ValueData: C:\Program Files (x86)\Steam; Flags: createvalueifdoesntexist; Check: isWin64;
Root: HKLM; SubKey: SOFTWARE\Valve\Steam; ValueType: string; ValueName: InstallPath; ValueData: C:\Program Files\Steam; Flags: createvalueifdoesntexist; Check: not isWin64;

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

y_thelastknight 04-11-2013 11:41

1 Attachment(s)
Quote:

Originally Posted by Darkangel5 (Post 425265)
good evening
sorry to use google translation to translate
i have the same problem that buttignol
a solution?
thank you

it helps you

Darkangel5 05-11-2013 02:38

Quote:

Originally Posted by y_thelastknight (Post 425270)
it helps you

thank thank it works

Andre Jesus 05-11-2013 15:48

1 Attachment(s)
Hello,
I want to change the default progress bar by a with image PNG customized.
Is possible also, change use only wizardform?
Anybody can show me in both case?

Attachment 7516

reiji777 06-11-2013 14:33

please how to make button for 'custom install', 'default install' and finish button?
and on ci 8.x.x.x i can get play button turn on after install. but in ciu after install the play button won't work and the feature of EnableAutorunMenu=0 isn't there.
why upgrading the script but taking off the best feature of the previous script?

Darkangel5 09-11-2013 08:06

good evening

I have a small problem
I use the script kucukutu 1.8 and I want to add a background, I added the line windowsvisible = yes but the problem is that it launches the splash at the same time as the background (see screen)
I would like to launch the splash then the background
a solution?

thank you

http://img4.hostingpics.net/pics/608531Sanstitre.jpg

Razor12911 09-11-2013 08:12

well maybe you should disable windowsvisible. what's the function of it anyways?

Darkangel5 10-11-2013 09:54

Quote:

Originally Posted by Razor12911 (Post 425609)
well maybe you should disable windowsvisible. what's the function of it anyways?

if I disables I can put more in the background image

this function (windowsvisible) displays a window in the background
You just add a line of code to display the image

reiji777 10-11-2013 13:24

please help what are the meaning of these arguments in launcher section:
/i --no-display --i-accept-the-pb-eula
/qn
/q /norestart
/S
/q:a

i want all component installing automatically without displays. is it possible?
and what is the correct code for each component such phsyx, punkbuster, etc ?

Razor12911 10-11-2013 18:38

Here

Darkangel5 14-11-2013 06:33

Hello

can one remove what have to surround in red on image

thank you

http://img4.hostingpics.net/pics/692002Sanstitre.jpg

Razor12911 15-11-2013 13:30

procedure InitializeWizard;
begin
WizardForm.BorderStyle:=bsNone;
end;

Darkangel5 16-11-2013 09:24

Quote:

Originally Posted by Razor12911 (Post 425926)
procedure InitializeWizard;
begin
WizardForm.BorderStyle:=bsNone;
end;

Thank you

chuotchu001 18-11-2013 03:28

i don't know how to fix this text. Please help me.

http://i.minus.com/i08D5mklBkyvh.jpg

I use CI Designer 0.4a, and script CIU 1.0.0.6. Thanks

kassane 18-11-2013 05:07

Quote:

Originally Posted by chuotchu001 (Post 426014)
i don't know how to fix this text. Please help me.

http://i.minus.com/i08D5mklBkyvh.jpg

I use CI Designer 0.4a, and script CIU 1.0.0.6. Thanks

This software is programmed to configure the CI and not CIU.

chuotchu001 18-11-2013 05:26

Quote:

Originally Posted by kassane (Post 426016)
This software is programmed to configure the CI and not CIU.

So, what program used to configure CIU 1.0.0.6? I working on LEGO Marvel Super Heroes, but I don't kown how to config install step. can you help me? Thanks.

pakrat2k2 18-11-2013 16:00

Quote:

Originally Posted by chuotchu001 (Post 426017)
So, what program used to configure CIU 1.0.0.6?

everything is done in setup.ini, placement of buttons, where the text shows up, etc

chuotchu001 18-11-2013 18:40

Quote:

Originally Posted by pakrat2k2 (Post 426029)
everything is done in setup.ini, placement of buttons, where the text shows up, etc

I know setup.ini placement anything, but went i open setup.ini, i dont know how to placement it with manual. So, I think must have a programe same CI designer 0.4a to config setup.ini for CIU 1.0.0.6 and place button, text.. etc. Thanks

y_thelastknight 21-11-2013 05:42

Fixed Thanks ;)

buttignol 21-11-2013 15:08

Friends can not add an empty folder I use this file.txt
Example [arc a - ep1 -r -w.\ -m0 -dp"%choice1%" [email protected] .\Final\%dat%)] have to add some command
The empty folder that is in the ([email protected]) does not appear

Example [[email protected]]

multi (empty)
Support\*
pb\*

KaktoR 21-11-2013 15:14

Why you want to add a empty folder to archive?

Just place a dummy file in this folder.


All times are GMT -7. The time now is 06:37.

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