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
  #1  
Old 06-08-2015, 09:32
ivanlakersss666 ivanlakersss666 is offline
Registered User
 
Join Date: Mar 2015
Location: Miami beach
Posts: 105
Thanks: 10
Thanked 11 Times in 11 Posts
ivanlakersss666 is on a distinguished road
I should change to select the subfolder game.exe to my desktop shortcut to run me well???


http://s29.postimg.org/hf6omltqf/Sin_t_tulo.jpg
Reply With Quote
Sponsored Links
  #2  
Old 06-08-2015, 10:18
toto621 toto621 is offline
Registered User
 
Join Date: Jul 2015
Location: The World
Posts: 71
Thanks: 42
Thanked 47 Times in 23 Posts
toto621 is on a distinguished road
Quote:
Originally Posted by ivanlakersss666 View Post
I should change to select the subfolder game.exe to my desktop shortcut to run me well???


http://s29.postimg.org/hf6omltqf/Sin_t_tulo.jpg
Actually you will have to change two lines of the [Icons] section of the script to make it work.

Let's say the game exe is in the subfolder bin\release\ for example, you will have to modify those lines :
Code:
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExec}"; WorkingDir: "{app}"; Check: CheckError
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExec}"; WorkingDir: "{app}"; Check: CheckError
to
Code:
Name: "{group}\{#AppName}"; Filename: "{app}\bin\release\{#AppExec}"; WorkingDir: "{app}\bin\release"; Check: CheckError
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\bin\release\{#AppExec}"; WorkingDir: "{app}\bin\release"; Check: CheckError

Last edited by toto621; 06-08-2015 at 10:46.
Reply With Quote
  #3  
Old 06-08-2015, 11:07
ivanlakersss666 ivanlakersss666 is offline
Registered User
 
Join Date: Mar 2015
Location: Miami beach
Posts: 105
Thanks: 10
Thanked 11 Times in 11 Posts
ivanlakersss666 is on a distinguished road
are you sure?
Reply With Quote
  #4  
Old 06-08-2015, 11:14
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
yes its correct as posted
Reply With Quote
  #5  
Old 06-08-2015, 11:37
ivanlakersss666 ivanlakersss666 is offline
Registered User
 
Join Date: Mar 2015
Location: Miami beach
Posts: 105
Thanks: 10
Thanked 11 Times in 11 Posts
ivanlakersss666 is on a distinguished road
//----------This InstalShouldSkipPageler Uses Inno Setup Unicode Version----------\\
#define AppName "Lords Of The Fallen"
#define AppPublisher "Ivanlakersss666"
#define AppVersion "1.00"
#define AppExec "LordsOfTheFallen.exe"
#define AppURL "https://www.youtube.com"
#define AppSize "18000"
#define SetupName "Setup"
#define SetupOut "Output"

#define PrecompVer "Inside"

[Setup]
AppName={#AppName}
AppPublisher={#AppPublisher}
AppVersion={#AppVersion}
AppComments={#AppName}
DefaultDirName=C:\Program Files (x86)\Juegos\Lords of the Fallen
DefaultGroupName={#AppName}
OutputBaseFilename={#SetupName}
OutputDir={#SetupOut}
SetupIconFile=Style\Setup.ico
WizardImageFile=Style\Background.bmp
WizardSmallImageFile=Style\smallbitmap.bmp
//////////////
Compression=none

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


Are ok this???

Last edited by ivanlakersss666; 06-08-2015 at 13:12.
Reply With Quote
  #6  
Old 07-08-2015, 01:51
ivanlakersss666 ivanlakersss666 is offline
Registered User
 
Join Date: Mar 2015
Location: Miami beach
Posts: 105
Thanks: 10
Thanked 11 Times in 11 Posts
ivanlakersss666 is on a distinguished road
Any help?
Reply With Quote
  #7  
Old 07-08-2015, 01:59
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by ivanlakersss666 View Post
Any help?
Just be patient bro. Your question will be answered in time.
AppExec should be equal to the subdirectory + executable. "bin\game.exe", no need to edit [Icon]
Reply With Quote
  #8  
Old 07-08-2015, 02:09
toto621 toto621 is offline
Registered User
 
Join Date: Jul 2015
Location: The World
Posts: 71
Thanks: 42
Thanked 47 Times in 23 Posts
toto621 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Just be patient bro. Your question will be answered in time.
AppExec should be equal to the subdirectory + executable. "bin\game.exe", no need to edit [Icon]
If you just add subdirectory in AppExec, will the shortcut not be faulty because WorkingDir point only to {app} and not the right subdirectory ?
Reply With Quote
The Following User Says Thank You to toto621 For This Useful Post:
Behnam2018 (30-01-2020)
  #9  
Old 07-08-2015, 02:21
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
I forgot about that. Either way, I could make it work. It is very simple.
Make two functions name them GetAppExec and GetAppDir.
The result in GetAppExec must be ExpandConstant ('{#AppExec}');
The result in GetAppDir must be
ExtractFileDir(ExpandConstant ('{#AppExec}'));
then under Icon section.
the filename must be {code:GetAppExec}
and WorkingDir must be {code:GetAppDir}
Simple as that.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
Behnam2018 (30-01-2020), toto621 (07-08-2015)
  #10  
Old 15-08-2015, 02:07
ivanlakersss666 ivanlakersss666 is offline
Registered User
 
Join Date: Mar 2015
Location: Miami beach
Posts: 105
Thanks: 10
Thanked 11 Times in 11 Posts
ivanlakersss666 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
I forgot about that. Either way, I could make it work. It is very simple.
Make two functions name them GetAppExec and GetAppDir.
The result in GetAppExec must be ExpandConstant ('{#AppExec}');
The result in GetAppDir must be
ExtractFileDir(ExpandConstant ('{#AppExec}'));
then under Icon section.
the filename must be {code:GetAppExec}
and WorkingDir must be {code:GetAppDir}
Simple as that.

[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

Edit me this please....i need you suport M,R Razor for the game Lord of Fallen
Reply With Quote
  #11  
Old 07-08-2015, 06:30
ivanlakersss666 ivanlakersss666 is offline
Registered User
 
Join Date: Mar 2015
Location: Miami beach
Posts: 105
Thanks: 10
Thanked 11 Times in 11 Posts
ivanlakersss666 is on a distinguished road
You can correct me my share so that you can work for me either scripts M.r Razor??Thank you!!!

http://www64.zippyshare.com/v/wOpDN0SS/file.html

Last edited by ivanlakersss666; 07-08-2015 at 06:58.
Reply With Quote
  #12  
Old 07-08-2015, 07:03
TREGAKLE's Avatar
TREGAKLE TREGAKLE is offline
Registered User
 
Join Date: Aug 2015
Location: India
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
TREGAKLE is on a distinguished road
atlast i was succesfull making my own repack but i got one error all the time whenever i run the setup.exe it runs well but in the middle of installation of a game or program whenever i click on my logo the installation got stuck at XX.X%(e.g.-34.9%) and thus the installer cant continue and i have to close it from the task manager...please fix this ...and please update this blackbox installer setup so that we can use slideshows and videos and as well as we can attach our links to the installer.....please reply
Reply With Quote
  #13  
Old 07-08-2015, 23:41
ivanlakersss666 ivanlakersss666 is offline
Registered User
 
Join Date: Mar 2015
Location: Miami beach
Posts: 105
Thanks: 10
Thanked 11 Times in 11 Posts
ivanlakersss666 is on a distinguished road
Can you edit my scripts mr.razor??
Reply With Quote
  #14  
Old 17-08-2015, 09:07
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Bro, toto621 already explained it to you, The inno setup documentation explains it too.
Reply With Quote
  #15  
Old 17-08-2015, 16:46
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by toto621 View Post
Actually you will have to change two lines of the [Icons] section of the script to make it work.
Let's say the game exe is in the subfolder bin\release\ for example, you will have to modify those lines :
Code:
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExec}"; WorkingDir: "{app}"; Check: CheckError
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExec}"; WorkingDir: "{app}"; Check: CheckError
to
Code:
Name: "{group}\{#AppName}"; Filename: "{app}\bin\release\{#AppExec}"; WorkingDir: "{app}\bin\release"; Check: CheckError
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\bin\release\{#AppExec}"; WorkingDir: "{app}\bin\release"; Check: CheckError
Quote:
Originally Posted by ivanlakersss666 View Post
are you sure?
Quote:
Originally Posted by pakrat2k2 View Post
yes its correct as posted
Quote:
Originally Posted by ivanlakersss666 View Post
//----------This InstalShouldSkipPageler Uses Inno Setup Unicode Version----------\\
#define AppName "Lords Of The Fallen"
#define AppPublisher "Ivanlakersss666"
#define AppVersion "1.00"
#define AppExec "LordsOfTheFallen.exe"
#define AppURL "https://www.youtube.com"
#define AppSize "18000"
#define SetupName "Setup"
#define SetupOut "Output"
#define PrecompVer "Inside"
[Setup]
AppName={#AppName}
AppPublisher={#AppPublisher}
AppVersion={#AppVersion}
AppComments={#AppName}
DefaultDirName=C:\Program Files (x86)\Juegos\Lords of the Fallen
DefaultGroupName={#AppName}
OutputBaseFilename={#SetupName}
OutputDir={#SetupOut}
SetupIconFile=Style\Setup.ico
WizardImageFile=Style\Background.bmp
WizardSmallImageFile=Style\smallbitmap.bmp
//////////////
Compression=none
[Icons]
Name: {group}\Uninstall {#AppName}; Filename: {app}\unins000.exe; WorkingDir: {app}; Check: CheckError
Name: "{group}\{#AppName}"; Filename: "{app}\bin\{#AppExec}"; WorkingDir: "{app}\bin"; Check: CheckError
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\bin\{#AppExec}"; WorkingDir: "{app}\bin"; Check: CheckError

Are ok this???
Quote:
Originally Posted by ivanlakersss666 View Post
Any help?

Question was answered a long time ago, What more do you want? Plus, you are asking this question in the wrong thread, your script has nothing to do with BlackBox v2.
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
Blackbox Inno Setup Script Kurutucu Conversion Tutorials 1190 18-08-2019 22:43
Basic tutorial for beginners on blackbox install script dead4now Conversion Tutorials 5 20-07-2015 17:31
Blackbox Inno Setup Script how ti fix aj12345 PC Games - CD/DVD Conversions 3 05-12-2013 01:21



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


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