|
|
|
#1
|
|||
|
|||
|
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 |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
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
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. |
|
#3
|
|||
|
|||
|
are you sure?
|
|
#4
|
||||
|
||||
|
yes its correct as posted
|
|
#5
|
|||
|
|||
|
//----------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. |
|
#6
|
|||
|
|||
|
Any help?
|
|
#7
|
||||
|
||||
|
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] |
|
#8
|
|||
|
|||
|
If you just add subdirectory in AppExec, will the shortcut not be faulty because WorkingDir point only to {app} and not the right subdirectory ?
|
| The Following User Says Thank You to toto621 For This Useful Post: | ||
Behnam2018 (30-01-2020) | ||
|
#9
|
||||
|
||||
|
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. |
| The Following 2 Users Say Thank You to Razor12911 For This Useful Post: | ||
Behnam2018 (30-01-2020), toto621 (07-08-2015) | ||
|
#10
|
|||
|
|||
|
Quote:
[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
|
|
#11
|
|||
|
|||
|
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. |
|
#12
|
||||
|
||||
|
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
|
|
#13
|
|||
|
|||
|
Can you edit my scripts mr.razor??
|
|
#14
|
||||
|
||||
|
Bro, toto621 already explained it to you, The inno setup documentation explains it too.
|
|
#15
|
||||
|
||||
|
Quote:
Quote:
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. |
![]() |
|
|
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 |