FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   BlackBox v2 (https://fileforums.com/showthread.php?t=95595)

pakrat2k2 15-07-2015 08:43

don't specify drive letter just {app}

babak1 15-07-2015 08:49

Quote:

Originally Posted by pakrat2k2 (Post 441954)
don't specify drive letter just {app}

I want a steady installation path to the disk D:\

klaroqsim 04-08-2015 16:00

its compatible with ultra arc ?
i get error "incompatible compressed data format ...
an error ocurred when unpacking! unarc.dll returned an error code: -1 , ERROR archive data corrupted (decompression fails)
but with installer creator works

TREGAKLE 05-08-2015 06:51

how to use slideshows and videos i cant use them and please give a full tutorial video on this installer ...please requesting you all ... anyone HELP

TREGAKLE 05-08-2015 07:48

how to solve this error in the following pichttp://s5.postimg.org/ro1yicbp3/problem3.png

ivanlakersss666 06-08-2015 09:32

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

toto621 06-08-2015 10:18

Quote:

Originally Posted by ivanlakersss666 (Post 442351)
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


ivanlakersss666 06-08-2015 11:07

are you sure?

pakrat2k2 06-08-2015 11:14

yes its correct as posted

ivanlakersss666 06-08-2015 11:37

//----------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???

ivanlakersss666 07-08-2015 01:51

Any help?

Razor12911 07-08-2015 01:59

Quote:

Originally Posted by ivanlakersss666 (Post 442384)
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]

toto621 07-08-2015 02:09

Quote:

Originally Posted by Razor12911 (Post 442385)
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 ?

Razor12911 07-08-2015 02:21

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.

ivanlakersss666 07-08-2015 06:30

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


All times are GMT -7. The time now is 14:54.

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