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)

leotrim77 04-12-2014 09:51

PLEASE HELP ME I AM LOOKING FOR THIS BUT NOBODY REPLY ME ... ?
I have Script Black Box old not V2 .. is okay but my game has 2 .exe or two shorcuts how to put these exe on desktop what to add on script to put two exe on desktop pleasee ... ??

my half of script : WHAT SHOULD I EDIT HERE IN THIS SCRIPT : ....

Quote:

//----------This Installer Uses Inno Setup Unicode Version----------\\
#define AppName "Subway Surfers"
#define AppPublisher "LeoO Globe"
#define AppVersion "1.0.0"
#define AppExec "Subway_Surfers.exe"
#define AppURL "https://www.youtube.com/mr316dx"
#define AppSize "610"
#define SetupName "Setup"
#define SetupOut "Output"

#define PrecompVer "Inside"

[Setup]
AppName={#AppName}
AppPublisher={#AppPublisher}
AppVersion={#AppVersion}
AppComments={#AppName}
DefaultDirName={pf}\{#AppPublisher}\{#AppName}
DefaultGroupName={#AppName}
OutputBaseFilename={#SetupName}
OutputDir={#SetupOut}
SetupIconFile=Style\Setup.ico
WizardImageFile=Style\Background.bmp
WizardSmallImageFile=Style\smallbitmap.bmp

[Icons]
Name: {group}\Uninstall {#AppName}; Filename: {app}\unins000.exe; WorkingDir: {app}; Check: CheckError
Name: {group}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError
Name: {commondesktop}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError

[Files]
Source: Include\*.*; DestDir: {tmp}; Flags: dontcopy
Source: Style\*.*; DestDir: {tmp}; Flags: dontcopy

[Messages]
SetupWindowTitle=Welcome to The Setup Wizard «{#AppName}»

[CustomMessages]
SoundCtrlButtonCaptionSoundOn=Music on
SoundCtrlButtonCaptionSoundOff=Music off

[Languages]
Name: eng; MessagesFile: compiler:Default.isl

[Components]
Name: "directx"; Description: "Install DirectX"
Name: "visualc"; Description: "Install Visual C++"
Name: "nvidiaphysx"; Description: "Install Nvidia Physx"
Name: "framework"; Description: "Install Framework"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[UninstallDelete]
Type: filesandordirs; Name: {app}

[Code]
const
BASS_SAMPLE_LOOP = 4;
BASS_ACTIVE_STOPPED = 0;
BASS_ACTIVE_PLAYING = 1;
BASS_ACTIVE_STALLED = 2;
BASS_ACTIVE_PAUSED = 3;
BASS_UNICODE = $80000000;
BASS_CONFIG_GVOL_STREAM = 5;
const
#ifndef UNICODE
EncodingFlag = 0;

leotrim77 04-12-2014 11:20

please help me .... ??

by_pbh 04-12-2014 12:09

Quote:

Originally Posted by leotrim77 (Post 436653)
PLEASE HELP ME I AM LOOKING FOR THIS BUT NOBODY REPLY ME ... ?
I have Script Black Box old not V2 .. is okay but my game has 2 .exe or two shorcuts how to put these exe on desktop what to add on script to put two exe on desktop pleasee ... ??

my half of script : WHAT SHOULD I EDIT HERE IN THIS SCRIPT : ....

Code:

#define AppName "Subway Surfers"
#define AppExec "Subway_Surfers.exe"
#define AppName1 "Subway Surfers two"
#define AppExec1 "Subway_Surfers_two.exe"

[Icons]
Name: {group}\Uninstall {#AppName}; Filename: {app}\unins000.exe; WorkingDir: {app}; Check: CheckError
Name: {group}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError
Name: {group}\{#AppName1}; Filename: {app}\{#AppExec1}; WorkingDir: {app}; Check: CheckError
Name: {commondesktop}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError
Name: {commondesktop}\{#AppName1}; Filename: {app}\{#AppExec1}; WorkingDir: {app}; Check: CheckError


leotrim77 04-12-2014 16:04

Quote:

Originally Posted by by_pbh (Post 436658)
Code:

#define AppName "Subway Surfers"
#define AppExec "Subway_Surfers.exe"
#define AppName1 "Subway Surfers two"
#define AppExec1 "Subway_Surfers_two.exe"

[Icons]
Name: {group}\Uninstall {#AppName}; Filename: {app}\unins000.exe; WorkingDir: {app}; Check: CheckError
Name: {group}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError
Name: {group}\{#AppName1}; Filename: {app}\{#AppExec1}; WorkingDir: {app}; Check: CheckError
Name: {commondesktop}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError
Name: {commondesktop}\{#AppName1}; Filename: {app}\{#AppExec1}; WorkingDir: {app}; Check: CheckError



you know what ...

I LOVE YOU SO MUCH thank youuuuuuuuuuuuuuuuuuuuu :)
thank you bro

leotrim77 06-12-2014 08:26

hey guys I have only last question I just want to know why is registry important to add to script or to inno setup , what does mean registry ... please explain me somebody , Why should I add registry of game to script ... ?

Inge 06-12-2014 08:39

Quote:

Originally Posted by leotrim77 (Post 436685)
hey guys I have only last question I just want to know why is registry important to add to script or to inno setup , what does mean registry ... please explain me somebody , Why should I add registry of game to script ... ?

The Registry is Important for some older Games (mostly no Steam Games) to start the Game (like Assassins Creed 2, Brotherhood, ect) to define Game Languages, bla, bla...

Search in your Registry (regedit) if Games needed a Reg entry.

leotrim77 06-12-2014 16:29

Quote:

Originally Posted by Inge (Post 436686)
The Registry is Important for some older Games (mostly no Steam Games) to start the Game (like Assassins Creed 2, Brotherhood, ect) to define Game Languages, bla, bla...

Search in your Registry (regedit) if Games needed a Reg entry.

so does it work even if you don't put registry on script ... ?

pakrat2k2 06-12-2014 16:49

yes it still works without reg entries. SOME games don't need them to work. BUT some games wont run without them there.

leotrim77 14-01-2015 08:43

please help me where can I fine any tutorial how to get registry from games , please tell me somebody how can I find registry of games ... ???

Inge 14-01-2015 10:21

2 Attachment(s)
Quote:

Originally Posted by leotrim77 (Post 437294)
please help me where can I fine any tutorial how to get registry from games , please tell me somebody how can I find registry of games ... ???

Click Windows Button + R Button on your Keyboard, in the following Window enter the Words 'regedit'.
Now go to HKEY_LOKAL_MACHINE->Software->Wow6432Node->Search your Game.
Make a right click on the Folder and click Export. Now edit .reg Data for your Script.

leotrim77 14-01-2015 13:44

Quote:

Originally Posted by Inge (Post 437295)
Click Windows Button + R Button on your Keyboard, in the following Window enter the Words 'regedit'.
Now go to HKEY_LOKAL_MACHINE->Software->Wow6432Node->Search your Game.
Make a right click on the Folder and click Export. Now edit .reg Data for your Script.

thank you bro , quick tutorial but powerfuel :) thank you

pakrat2k2 14-01-2015 15:48

along with that goto this topic & grab Reg to INNO Converter ENG.rar which will create a iss file so you can put those exported reg entries into your Inno script. They will of course need to be edited. IE in screenshot above shows InstallDir=E:\Program Files (x86)\Resident Evil 5, which would be changed to {app} so that anyone can install to where they want to & not to 1 specific location.

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

GhostSystem 09-02-2015 03:41

how to disable cancel button in welcome page and second back button innosetup..

pakrat2k2 09-02-2015 06:10

Quote:

Originally Posted by GhostSystem (Post 437866)
how to disable cancel button in welcome page and second back button innosetup..

if referring to yener's script, simply enter values bigger then image, or use negative values.

Razor12911 09-02-2015 06:37

on a normal script, this is what you do.

[Code]
procedure CurPageChanged(CurPageID: Integer);
begin
case CurPageID of
wpWelcome:
begin
WizardForm.CancelButton.Enabled:=False; // to disable;
WizardForm.CancelButton.Visible:=False; // to hide;
WizardForm.BackButton.Enabled:=False; // to disable;
WizardForm.BackButton.Visible:=False; // to hide;
end;
end;
end;


All times are GMT -7. The time now is 15:11.

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