|
|
|
#1
|
||||
|
||||
|
Quote:
|
| Sponsored Links |
|
#2
|
||||
|
||||
|
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: | ||
|
#3
|
||||
|
||||
|
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! |
|
#4
|
||||
|
||||
|
Quote:
I had to change the location of the Setup.dll file (After these changes above it will be in the temporary folder). It is also necessary to change just below by replacing in 3 lines. Code:
ChangeFileExt(ExpandConstant('{srcexe}'), '.dll')
Code:
ExpandConstant('{tmp}\') + ExtractFileName(ChangeFileExt(ExpandConstant('{srcexe}'), '.dll'))
Code:
//....
if FileExists(ExpandConstant('{tmp}\') + ExtractFileName(ChangeFileExt(ExpandConstant('{srcexe}'), '.dll'))) then
begin
if ISDoneInit(ExpandConstant('{tmp}\Records.inf'), $F777, 0,0,0, MainForm.Handle, 0, @UnpackDLLCallback) then
begin
if not ISArcExtract(0, 0, ExpandConstant('{tmp}\') + ExtractFileName(ChangeFileExt(ExpandConstant('{srcexe}'), '.dll')), ExpandConstant('{tmp}'), '', False, '', ExpandConstant('{tmp}\Arc.ini'), ExpandConstant('{tmp}'), False) then
begin
ISDoneError := True;
SysErrorMessage(DLLGetLastError);
end;
ISDoneStop;
UnloadDLL(ExpandConstant('{tmp}\ISDone.dll'));
end;
//...
|
| The Following 3 Users Say Thank You to Cesar82 For This Useful Post: | ||
|
#5
|
||||
|
||||
|
Quote:
Thanks man, really appreciate everything you've done! |
|
#6
|
|||
|
|||
|
Download link to ASIS
Can someone plz give link to latest ASIS version? I did not find it in the OP.
|
![]() |
| 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 |