|
|
|
#1
|
||||
|
||||
|
Hey so this is a bit of a dumb question but where do you put setup.dll when you've generated it
|
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
If you rename the Setup.exe file for example to Install.exe, you must also rename the Setup.dll file to Install.dll. The Setup.dll file is automatically generated by DiskSpan_GUI when compressing the game, but you can include different compressors as long as you also create the settings in the INI files. In the COMPRESSOR folder on DiskSpan_GUI you have a ".bat" file called "_Compress Optional DLL (Drop Folder or Setup.dll) .bat" that is especially useful for this situation. You just create a folder and put compressors, cls libraries and .ini files After placing all decompressor files in a folder just click on the folder and drop the folder on the .bat file to create Setup.dll file. The standard INI file names are: Code:
- ARC_Optimal_x64.ini / ARC_Standard_x64.ini / CLS_Optimal.ini for when installation is done on 64-bit systems. - ARC_Optimal_x64.ini / ARC_Standard_x64.ini / CLS_Standard.ini for when installation is done on 64-bit systems. Code:
- ARC_Optimal_x86.ini / ARC_Standard_x86.ini / CLS_Optimal.ini for when installation is done on 32-bit systems. - ARC_Optimal_x86.ini / ARC_Standard_x86.ini / CLS_Standard.ini for when installation is done on 32-bit systems. |
| The Following 2 Users Say Thank You to Cesar82 For This Useful Post: | ||
L33THAK0R (18-04-2021), pratikpatel8982 (29-04-2021) | ||
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
||||
|
||||
|
Quote:
Setup.dll must be next to Setup.exe (Same folder) when starting the decompression using ASIS. Complementing the answer, for those who did not understand: Setup.dll is not needed before build Setup.exe. ASIS will check if there is a file with the same name as the executable, but with a .dll extension and will extract it using UnArc.dll/IsDone.dll. Only these 2 libraries are included in ASIS and are required prior to build Setup.exe. Nothing else is needed inside Setup.exe during the build of Setup.exe. |
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
||||
|
||||
|
Quote:
Older versions may contain a bug that may have been fixed in the newer version. If you want you can include the Setup.dll file internally from Setup.exe just by adding 4 lines to the script (red lines below). But you must first create Setup.dll and include it with scritp.iss before compiling Setup.exe. To do this, change it in the script: In the [Files] section add. Code:
[Files]
....
///////////////////////////////////////////////////////////////////////////////////////////
//////////////// FreeArc/ISDone Files /////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////
Source: "{#SetupSetting("OutputBaseFilename")}.dll"; DestDir: "COMPRESSORS"; Flags: dontcopy nocompression
Source: "Resources\Includes\UnArc.dll"; DestDir: "COMPRESSORS"; Flags: dontcopy
Source: "Resources\Includes\ISDone.dll"; DestDir: "COMPRESSORS"; Flags: dontcopy
Code:
procedure UltraARC_Process;
var
Data: Array of TData;
I, MsgResult: Integer;
SourceDir, DataFile: String;
#if UseComponents == "1"
ComponentFile: String;
#endif
SysInfo: TSystemInfo;
Threads: Integer;
begin
ExtractTemporaryFile('{#SetupSetting("OutputBaseFilename")}.dll');
if CompareText('{#SetupSetting("OutputBaseFilename")}.dll', ExtractFileName(ChangeFileExt(ExpandConstant('{srcexe}'), '.dll'))) <> 0 then
FileCopy(ExpandConstant('{tmp}\{#SetupSetting("OutputBaseFilename")}.dll'), ExpandConstant('{tmp}\') + ExtractFileName(ChangeFileExt(ExpandConstant('{srcexe}'), '.dll')), False);
//BEGIN - DISK SPAN GUI CHANGES
I := 1;
ISDoneError := False;
ExtractTemporaryFile('UnArc.dll');
|
| The Following 3 Users Say Thank You to Cesar82 For This Useful Post: | ||
|
#7
|
||||
|
||||
|
Quote:
Thank you for being so patient with me man, really appreciate this, I wish I was more competent with python or whatever the script is written in, so that I could save you the trouble of doing this, thanks once again man, you're a hero! |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Help] need Advanced Installer script with Razor1911's UltraArc module | rez3vil | Conversion Tutorials | 3 | 15-04-2024 02:24 |
| Portable Installer Inno Setup Script | y_thelastknight | Conversion Tutorials | 59 | 23-10-2020 00:02 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Simple Arc Installer | 78372 | Conversion Tutorials | 1 | 15-06-2017 15:37 |
| MSC+Srep+lzma Simple Script Example | gozarck | Conversion Tutorials | 10 | 07-09-2015 16:31 |