FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   BlackBox UA 2017 by razor (https://fileforums.com/showthread.php?t=99950)

rinaldo 28-12-2017 15:06

BlackBox UA 2017 by razor
 
2 Attachment(s)
I read a post that a guy was asking black box with latest updates, I just did copy paste (no test sorry) :o

pakrat2k2 28-12-2017 17:08

thanks for taking time to do it, I'm sure those who want it will appreciate it.

rinaldo 10-01-2018 10:55

Quote:

Originally Posted by Ranbo (Post 465699)

UltraArc is just a name of a modification created by razor, the old ISDone method can extract any archive in more leaves no .ini files like UltraArc if you want to enter a password will be visible with UltraArc with old method no. just to make things clear.

sorry no time for you code :o

Proxson 13-01-2018 18:55

Hi guys !

First of all, many thanks goes to the original Black Box script developer, Kurutucu. Thanks goes to you Rinaldo as well. :)

This adaptation works with UltraArc. I've tested it and there are no problems so far. But there is a 'tiny' problem...the progress bar stucks at 10%. In the original Black Box project
there is an Archive.ini. Place where you can adjust the installation progress. This adaptation doesn't have it and I'm getting a hard time to find it in the script. Any help I would appreciate.
Thanks in advance. :)

pakrat2k2 13-01-2018 23:22

it's not needed, in the archive from rinaldo, the output folder already has a records.ini, which should be deleted, as well as arc archive. From the UltraARC topic here >
http://www.fileforums.com/showthread.php?t=96619
grab the UltraARC 2801 R3 Hotfix.7z & extract it into the output folder.

Make necessary image changes, compile the script, then run ultraarc setting source / output directories. Don't forget that FirstVolumeSize=4480 is everything in the first folder ( if you have redists to install + setup.exe + setup.ico, those will be subtracted from 4480 to get firstvolumesize. More info is in the first post of topic I mentioned above.

doing all that the progressbar should progress as installation proceeds.

Proxson 14-01-2018 08:31

Hi @Pakrat,

it's not working mate. The game installs and unpacks correctly but the progress bar still stucks around 10%. :o

pakrat2k2 14-01-2018 10:51

maybe one of the more experienced coders can help with that.

rinaldo 14-01-2018 13:25

I do not know, I just copy paste, check ProgressCallback and set it from 100 to 1000 but I'm not sure it's not my script :o

Proxson 14-01-2018 17:57

@Rinaldo,

you nailed it ! By default it was 100 and I changed it to 1000. Now the progress bar is synchronized. :D The code is here -->

https://i.imgur.com/WlZJkMr.jpg

I was about to give up the whole thing. You saved my day. Thanks again.

:)

Proxson 16-01-2018 13:00

Here is my installer for Doom 4. I've made some changes but it's basically the same as Rinaldo's modification. The uninstaller will delete your save game folder which is in C:\Users\Username\Saved games\id software ! So beware if you're currently playing Doom. Anyways, the uninstaller will ask you for permission to delete this folder. Give some feedback. :)

Schabik 06-02-2018 23:27

1 Attachment(s)
Ok, I've made an Blackbox Installer for TS4 Deluxe but It manages to unpack only some folders from Data1.arc (in the attachment there is the original file from Black_Box_UA_2017.7z archive so don't be bothered by wrong password. I,ve compressed my files with SREPMAX+RZ+exe+exe2+LZ77 from UltraArc. Any suggestions how to make it work? Oh, I've forgot to mention, I've edited the code to use not only Visual C++ Redist. for 32-bit systems but also for 64-bit.

geotee2007 07-02-2018 12:30

I made a script for Injustice God Among Us and when its about to install directX
I have the error "Invalid Command line switch". How can i fix this?

KaktoR 07-02-2018 12:35

What switch you used for directx?

pakrat2k2 07-02-2018 14:08

Quote:

Originally Posted by geotee2007 (Post 466487)
I made a script for Injustice God Among Us and when its about to install directX
I have the error "Invalid Command line switch". How can i fix this?

for all redists use this topic for info
http://www.fileforums.com/showthread.php?t=95092

geotee2007 07-02-2018 15:26

1 Attachment(s)
I have one another problem. When i click uninstall it not open the script uninstaller, its open the typical uninstaller of windows. I use Blackbox script.

pakrat2k2 07-02-2018 18:01

Quote:

Originally Posted by geotee2007 (Post 466496)
I have one another problem. When i click uninstall it not open the script uninstaller, its open the typical uninstaller of windows. I use Blackbox script.

it uses what's written in the script, a windows uninstaller, thats all. just a very basic installer nothing fancy.

geotee2007 08-02-2018 06:27

Is possible to make uninstaller menu like installer?

pakrat2k2 08-02-2018 07:18

Quote:

Originally Posted by geotee2007 (Post 466508)
Is possible to make uninstaller menu like installer?

use a different script, this one doesnt have one.

masen485 18-03-2018 07:38

Hi rinaldo,
Please, How to activate Elapsed Time & Remaining Time?
Thank

rinaldo 18-03-2018 14:08

Quote:

Originally Posted by masen485 (Post 469196)
Hi rinaldo,
Please, How to activate Elapsed Time & Remaining Time?
Thank


TimeStr1,TimeStr2,TimeStr3

ex:
Code:

Label1.Caption:=TimeStr1;

masen485 18-03-2018 15:09

Hi rinaldo
 
Hi rinaldo,
Please, How to activate Elapsed Time & Remaining Time?
Thank

I could not do it
I want you to help me
Could you see if I uploaded the file?

thank you for your time

Black_Box_UltraArc_Doom.rar - 30.3 MB

rinaldo 23-03-2018 14:13

Quote:

Originally Posted by masen485 (Post 469234)
Hi rinaldo,
Please, How to activate Elapsed Time & Remaining Time?
Thank

I could not do it
I want you to help me
Could you see if I uploaded the file?

thank you for your time

Black_Box_UltraArc_Doom.rar - 30.3 MB

send main to mp ;)

masen485 23-03-2018 14:21

Thank you for interest

masen485 24-03-2018 04:20

Hi! rinaldo
 
Hello
Help again

imposition C:\Program Files instead C:\Program Files (x86) address change help

example : C:\Program Files This Example unlikely
http://resimyukle.link/a/1-1.jpg
example : C:\Program Files (x86) This Example It's going to happen
http://resimyukle.link/a/2-2.jpg

Black_Box_UltraArc_Doom.7z - 24.4 MB

rinaldo 24-03-2018 04:33

Directory Constants

Code:

DefaultDirName={pf}\{#AppName}
DefaultDirName={pf64}\{#AppName}
DefaultDirName={sd}\{#AppName}


masen485 24-03-2018 05:22

I could not help please

rinaldo 25-03-2018 07:02

is an elementary thing the directory :mad:

example dir + custom progress (I used isdone v0.6)

Code:

#DEFINE Dir '0'
0 is default, you change to 1,2 or 3 for you game directory.

example isdone:
Code:


#define NeedSize "500000"
#define NeedMem 512
;#define facompress
;#define SrepInside
;#define MSCInside
;#define XDelta
;#define PackZIP

#DEFINE Data1 'data1.arc'

#DEFINE Dir '2'

[Setup]
AppName=ISDone
AppVerName=ISDone
#ifdef Dir
#if Dir == "0"
DefaultDirName={pf}\ISDone
#else
#if Dir == "1"
DefaultDirName={pf32}\ISDone
#else
#if Dir == "2"
DefaultDirName={pf64}\ISDone
#else
#if Dir == "3"
DefaultDirName={sd}\ISDone
#endif
#endif
#endif
#endif
#endif
DefaultGroupName=ISDone Example
AllowNoIcons=yes
OutputDir=.
OutputBaseFilename=Setup
VersionInfoCopyright=ProFrager
#ifdef NeedSize
ExtraDiskSpaceRequired={#NeedSize}
#endif

[Icons]
Name: {commondesktop}\Disinstalla ISDone; Filename: {app}\unins000.exe; WorkingDir: {app}; Check: CheckError

[Files]
Source: Include\arc.ini; DestDir: {tmp}; Flags: dontcopy
Source: Include\English.ini; DestDir: {tmp}; Flags: dontcopy
Source: Include\unarc.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\InnoCallback.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\ISDone.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\Italian.ini; DestDir: {tmp}; Flags: dontcopy
#ifdef SrepInside
Source: Include\CLS-srep.dll; DestDir: {tmp}; Flags: dontcopy
#endif
#ifdef MSCInside
Source: Include\CLS-MSC.dll; DestDir: {tmp}; Flags: dontcopy
#endif
#ifdef facompress
Source: Include\facompress.dll; DestDir: {tmp}; Flags: dontcopy
Source: Include\facompress_MT.dll; DestDir: {tmp}; Flags: dontcopy
#endif
#ifdef XDelta
Source: Include\XDelta3.dll; DestDir: {tmp}; Flags: dontcopy
#endif
#ifdef PackZIP
Source: Include\7z.dll; DestDir: {tmp}; Flags: dontcopy
#endif

[CustomMessages]
ITA.ExtractedFile=Processo:
ITA.Extracted=Estrazione dei Files...
ITA.CancelButton=Cancella
ITA.Error=ERRORE!
ITA.ElapsedTime=Trascorso
ITA.RemainingTime=Rimanente
ITA.EstimatedTime=Stimato
ITA.AllElapsedTime=Totale Impiegato
ITA.hour=ora
ITA.hours=ore
ITA.minute=minuto
ITA.minutes=minuti
ITA.second=secondo
ITA.seconds=secondi

[Languages]
Name: ITA; MessagesFile: compiler:Languages\Italian.isl

[UninstallDelete]
Type: filesandordirs; Name: {app}

[Code ]
procedure InitializeWizard();
begin
WizardForm.FilenameLabel.Visible:=False;
end;

const
PCFonFLY=true;
notPCFonFLY=false;
var
ProgrssLbl,CurrentFileNameLbl,Time1Lbl,Time2Lbl,Time3Lbl: TLabel;
ISDoneProgressBar: TNewProgressBar;
MyCancelButton: TButton;
TimeIncrease,ISDoneError:boolean;
OveralPct,ISDoneCancel,CProgress,Time, Time2, minutes, hours, seconds :integer;
TimerID: LongWord;

type
TCallback = function (OveralPct,CurrentPct: integer;CurrentFile,TimeStr1,TimeStr2,TimeStr3:PAnsiChar): longword;
TTimerProc = procedure();

function WrapCallback(callback:TCallback; paramcount:integer):longword;external 'wrapcallback@files:ISDone.dll stdcall delayload';

function ISArcExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutPath, ExtractedPath: AnsiString; DeleteInFile:boolean; Password, CfgFile, WorkPath: AnsiString; ExtractPCF: boolean ):boolean; external 'ISArcExtract@files:ISDone.dll stdcall delayload';
function IS7ZipExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutPath: AnsiString; DeleteInFile:boolean; Password: AnsiString):boolean; external 'IS7zipExtract@files:ISDone.dll stdcall delayload';
function ISRarExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutPath: AnsiString; DeleteInFile:boolean; Password: AnsiString):boolean; external 'ISRarExtract@files:ISDone.dll stdcall delayload';
function ISPrecompExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutFile: AnsiString; DeleteInFile:boolean):boolean; external 'ISPrecompExtract@files:ISDone.dll stdcall delayload';
function ISSRepExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutFile: AnsiString; DeleteInFile:boolean):boolean; external 'ISSrepExtract@files:ISDone.dll stdcall delayload';
function ISxDeltaExtract(CurComponent:Cardinal; PctOfTotal:double; minRAM,maxRAM:integer; InName, DiffFile, OutFile: AnsiString; DeleteInFile, DeleteDiffFile:boolean):boolean; external 'ISxDeltaExtract@files:ISDone.dll stdcall delayload';
function ISPackZIP(CurComponent:Cardinal; PctOfTotal:double; InName, OutFile: AnsiString;ComprLvl:integer; DeleteInFile:boolean):boolean; external 'ISPackZIP@files:ISDone.dll stdcall delayload';
function ShowChangeDiskWindow(Text, DefaultPath, SearchFile:AnsiString):boolean; external 'ShowChangeDiskWindow@files:ISDone.dll stdcall delayload';

function Exec2 (FileName, Param: PAnsiChar;Show:boolean):boolean; external 'Exec2@files:ISDone.dll stdcall delayload';
function ISFindFiles(CurComponent:Cardinal; FileMask:AnsiString; var ColFiles:integer):integer; external 'ISFindFiles@files:ISDone.dll stdcall delayload';
function ISPickFilename(FindHandle:integer; OutPath:AnsiString; var CurIndex:integer; DeleteInFile:boolean):boolean; external 'ISPickFilename@files:ISDone.dll stdcall delayload';
function ISGetName(TypeStr:integer):PAnsichar; external 'ISGetName@files:ISDone.dll stdcall delayload';
function ISFindFree(FindHandle:integer):boolean; external 'ISFindFree@files:ISDone.dll stdcall delayload';
function ISExec(CurComponent:Cardinal; PctOfTotal,SpecifiedProcessTime:double; ExeName,Parameters,TargetDir,OutputStr:AnsiString;Show:boolean):boolean; external 'ISExec@files:ISDone.dll stdcall delayload';

function SrepInit(TmpPath:PAnsiChar;VirtMem,MaxSave:Cardinal):boolean; external 'SrepInit@files:ISDone.dll stdcall delayload';
function PrecompInit(TmpPath:PAnsiChar;VirtMem:cardinal;PrecompVers:single):boolean; external 'PrecompInit@files:ISDone.dll stdcall delayload';
function FileSearchInit(RecursiveSubDir:boolean):boolean; external 'FileSearchInit@files:ISDone.dll stdcall delayload';
function ISDoneInit(RecordFileName:AnsiString; TimeType,Comp1,Comp2,Comp3:Cardinal; WinHandle, NeededMem:longint; callback:TCallback):boolean; external 'ISDoneInit@files:ISDone.dll stdcall';
function ISDoneStop:boolean; external 'ISDoneStop@files:ISDone.dll stdcall';
function ChangeLanguage(Language:AnsiString):boolean; external 'ChangeLanguage@files:ISDone.dll stdcall delayload';
function SuspendProc:boolean; external 'SuspendProc@files:ISDone.dll stdcall';
function ResumeProc:boolean; external 'ResumeProc@files:ISDone.dll stdcall';

function WrapTimerProc(callback:TTimerProc; Paramcount:Integer): longword;
external 'wrapcallback@{tmp}\innocallback.dll stdcall delayload';
function SetTimer(hWnd, nIDEvent, uElapse, lpTimerFunc: LongWord): LongWord;
external '[email protected] stdcall';
function KillTimer(hWnd, nIDEvent: LongWord): LongWord;
external '[email protected] stdcall';

function TimeTextFormater(clock:String):String;
begin
case clock of
'hours': begin
if hours = 1 then
Result := CustomMessage('hour')
else
Result := CustomMessage('hours');
end;
'minutes': begin
if minutes = 1 then
Result := CustomMessage('minute')
else
Result := CustomMessage('minutes');
end;
'seconds': begin
if seconds = 1 then
Result := CustomMessage('second')
else
Result := CustomMessage('seconds');
end;
end;
end;

function TimeFormater(secondp:Integer):String;
begin
seconds := secondp
minutes := 0
hours := 0
if seconds >= 60 then begin
minutes := seconds / 60
seconds := seconds mod 60
end;
if minutes >= 60 then begin
hours := minutes / 60
minutes := minutes mod 60
end;
if hours <> 0 then
Result := IntToStr(hours) + ' ' + TimeTextFormater('hours') + ' ' +  IntToStr(minutes) + ' ' + TimeTextFormater('minutes')
else begin
if minutes <> 0 then
Result := IntToStr(minutes) + ' ' + TimeTextFormater('minutes') + ' ' +  IntToStr(seconds) + ' ' + TimeTextFormater('seconds')
else
Result := IntToStr(seconds) + ' ' + TimeTextFormater('seconds')
end;
end;

procedure Progress;
begin
with ISDoneProgressBar do begin
CProgress := (Position *1000) / Max;
if TimeIncrease then TimeIncrease := False else TimeIncrease := True;
if TimeIncrease then begin
Time := Time + 1;

if CProgress <> 0 then
Time2 := ((Time * 1000) / CProgress) - Time;
Time1Lbl.Caption := CustomMessage('ElapsedTime')    + ': ' + TimeFormater(Time);
Time2Lbl.Caption := CustomMessage('RemainingTime')  + ': ' + TimeFormater(Time2);
Time3Lbl.Caption := CustomMessage('AllElapsedTime') + ': ' + TimeFormater(Time2+Time);
if Copy(IntToStr(CProgress),0,Length(IntToStr(CProgress)) -1 ) = '' then
ProgrssLbl.Caption := '0.' + Copy(IntToStr(CProgress),Length(IntToStr(CProgress)), 1 ) + ' %'
else
ProgrssLbl.Caption := Copy(IntToStr(CProgress),0,Length(IntToStr(CProgress)) -1 ) + '.' + Copy(IntToStr(CProgress),Length(IntToStr(CProgress)), 1 ) + ' %';
end;
end;
end;

function ProgressCallback(OveralPct,CurrentPct: integer;CurrentFile,TimeStr1,TimeStr2,TimeStr3:PAnsiChar): longword;
begin
if OveralPct<=1000 then ISDoneProgressBar.Position := OveralPct;
CurrentFileNameLbl.Caption:=ExpandConstant('{cm:ExtractedFile} ')+MinimizePathName(CurrentFile, CurrentFileNameLbl.Font, CurrentFileNameLbl.Width-ScaleX(100));
Result := ISDoneCancel;
end;

procedure CancelButtonOnClick(Sender: TObject);
begin
SuspendProc;
ISDoneProgressBar.State:=npbsPaused;
if MsgBox(SetupMessage(msgExitSetupMessage), mbConfirmation, MB_YESNO) = IDYES then ISDoneCancel:=1;
ISDoneProgressBar.State:=npbsNormal;
ResumeProc;
end;

procedure HideControls;
begin
WizardForm.FileNamelabel.Hide;
ISDoneProgressBar.Hide;
ProgrssLbl.Hide;
CurrentFileNameLbl.Hide;
Time1Lbl.Hide;
Time2Lbl.Hide;
MyCancelButton.Hide;
end;

procedure CenterText(txt: TControl);
begin
if Assigned(txt) and Assigned(txt.Parent) then
begin
txt.Left := (txt.Parent.Width - txt.Width) div 2;
end;
end;

procedure CreateControls;
begin
ISDoneProgressBar := TNewProgressBar.Create(WizardForm);
with ISDoneProgressBar do begin
Parent  := WizardForm.InstallingPage;
Height  := WizardForm.ProgressGauge.Height;
Left    := WizardForm.ProgressGauge.Left;
Top      := WizardForm.ProgressGauge.Top;
Width    := WizardForm.ProgressGauge.Width;
Max      := 1000;
end;
ProgrssLbl := TLabel.Create(WizardForm);
with ProgrssLbl do begin
Parent      := WizardForm.InstallingPage;
AutoSize    := False;
Height      := 25;
Left        := 0;
Top        := ISDoneProgressBar.Top+30;
Width      := ScaleX(120);
Font.Style  :=[fsBold];
Font.Height :=-22;
CenterText(ProgrssLbl);
end;
CurrentFileNameLbl := TLabel.Create(WizardForm);
with CurrentFileNameLbl do begin
Parent  := WizardForm.InstallingPage;
AutoSize := False;
Width    := ISDoneProgressBar.Width+ScaleX(30);
Left    := ScaleX(0);
Top      := ScaleY(27);
end;
Time1Lbl := TLabel.Create(WizardForm);
with Time1Lbl do begin
Parent  := WizardForm.InstallingPage;
AutoSize := False;
Width    := ISDoneProgressBar.Width div 2;
Left    := ScaleX(0);
Top      := ScaleY(115);
end;
Time2Lbl := TLabel.Create(WizardForm);
with Time2Lbl do begin
Parent  := WizardForm.InstallingPage;
AutoSize := False;
Width    := Time1Lbl.Width+ScaleX(40);
Left    := 0;
Top      := Time1Lbl.Top+20;
end;
Time3Lbl := TLabel.Create(WizardForm);
with Time3Lbl do begin
Parent  := WizardForm.FinishedPage;
AutoSize := False;
Width    := 300;
Left    := 180;
Top      := 200;
end;
MyCancelButton:=TButton.Create(WizardForm);
with MyCancelButton do begin
Parent:=WizardForm;
Width:=ScaleX(135);
Caption:=ExpandConstant('{cm:CancelButton}');
Left:=ScaleX(360);
Top:=WizardForm.CancelButton.Top
OnClick:=@CancelButtonOnClick;
end;
end;   

Procedure CurPageChanged(CurPageID: Integer);
Begin
if (CurPageID = wpInstalling) then begin
TimerID := SetTimer(0, 0, 500 , WrapTimerProc(@Progress,0));
end;
if (CurPageID = wpFinished) then begin
KillTimer(0, TimerID);
end;
if (CurPageID = wpFinished) and ISDoneError then
begin
WizardForm.Caption:= ExpandConstant('{cm:Error}');
WizardForm.FinishedLabel.Font.Color:= clRed;
WizardForm.FinishedLabel.Caption:= SetupMessage(msgSetupAborted) ;
end;
end;

function CheckError:boolean;
begin
result:= not ISDoneError;
end;

procedure ExtractTempFile;
begin
ExtractTemporaryFile('InnoCallBack.dll');
ExtractTemporaryFile('arc.ini');
ExtractTemporaryFile('English.ini');
ExtractTemporaryFile('Italian.ini');
ExtractTemporaryFile('unarc.dll');
#ifdef SrepInside
ExtractTemporaryFile('CLS-srep.dll');
#endif
#ifdef MSCInside
ExtractTemporaryFile('CLS-MSC.dll');
#endif
#ifdef facompress
ExtractTemporaryFile('facompress.dll');
ExtractTemporaryFile('facompress_MT.dll');
#endif
#ifdef XDelta
ExtractTemporaryFile('XDelta3.dll');
#endif
#ifdef PackZIP
ExtractTemporaryFile('7z.dll');
#endif
end;


procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssPostInstall then begin
//WizardForm.ProgressGauge.Hide;
WizardForm.CancelButton.Hide;
CreateControls;
WizardForm.StatusLabel.Caption:=ExpandConstant('{cm:Extracted}');
ISDoneCancel:=0;

ISDoneError:=true;
if ISDoneInit(ExpandConstant('{src}'), $F777, 0,0,0, MainForm.Handle, {#NeedMem}, @ProgressCallback) then begin
repeat
ChangeLanguage('Italian');
if not SrepInit('',512,0) then break;


if not ISArcExtract    ( 0, 100, ExpandConstant('{src}\{#Data1}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;


ISDoneError:=false;
until true;
ISDoneStop;
end;
HideControls;
WizardForm.CancelButton.Visible:=true;
WizardForm.CancelButton.Enabled:=false;
end;
if (CurStep=ssPostInstall) and ISDoneError then begin
Time3Lbl.Visible:=False;
WizardForm.ProgressGauge.Width:=417;
WizardForm.ProgressGauge.State:=npbsError;
WizardForm.StatusLabel.Caption:=SetupMessage(msgStatusRollback);
Exec2(ExpandConstant('{uninstallexe}'), '/VERYSILENT', false);
end;
end;

function InitializeSetup: Boolean;
begin
ExtractTempFile;
Result:=True;
end;

procedure DeinitializeSetup;
begin
  KillTimer(0,TimerID);
end;

progress code by yener90

masen485 26-03-2018 22:11

I have not been able to fix the file I gave you in the above topic I need correction assistance and help in the case of the above topic content

Hello
Help again

imposition C:\Program Files instead C:\Program Files (x86) address change help

example : C:\Program Files This Example unlikely
http://resimyukle.link/a/1-1.jpg
example : C:\Program Files (x86) This Example It's going to happen
http://resimyukle.link/a/2-2.jpg

Black_Box_UltraArc_Doom.7z - 24.4 MB

rinaldo 26-03-2018 23:03

remove
Code:

ArchitecturesInstallIn64BitMode=x64

masen485 27-03-2018 09:19

Setup]
AppName={#AppName}
AppPublisher={#AppPublisher}
AppVersion={#AppVersion}
AppComments={#AppName}
DefaultDirName={pf64}\{#AppPublisher}\{#AppName}
DefaultGroupName={#AppPublisher}\{#AppName}
OutputBaseFilename={#SetupName}
OutputDir={#SetupOut}
SetupIconFile=Setup files\Misc\Setup.ico
WizardImageFile=Setup files\Misc\Background.bmp
WizardSmallImageFile=Setup files\Misc\smallbitmap.bmp
Compression=lzma/ultra64
//MinVersion="6.1.1.2058"
InternalCompressLevel=none
UninstallDisplayIcon={uninstallexe}
UninstallDisplaySize=49928994816
AppId={{B7088B59-F587-435A-A67E-AFE6C3816C18}
PrivilegesRequired=none
DisableWelcomePage=False
;ShowTasksTreeLines=yes
;InternalCompressLevel=ultra64
;InfoBeforeFile=_Files\info.rtf
;LicenseFile=_Files\license.txt
DirExistsWarning=no
AppSupportURL=https://help.bethesda.net/app/home/p/704/Platform/3/pf/PC/session/

Hello master Help

rinaldo 27-03-2018 09:44

Quote:

Originally Posted by masen485 (Post 469670)
Setup]
AppName={#AppName}
AppPublisher={#AppPublisher}
AppVersion={#AppVersion}
AppComments={#AppName}
DefaultDirName={pf64}\{#AppPublisher}\{#AppName}
DefaultGroupName={#AppPublisher}\{#AppName}
OutputBaseFilename={#SetupName}
OutputDir={#SetupOut}
SetupIconFile=Setup files\Misc\Setup.ico
WizardImageFile=Setup files\Misc\Background.bmp
WizardSmallImageFile=Setup files\Misc\smallbitmap.bmp
Compression=lzma/ultra64
//MinVersion="6.1.1.2058"
InternalCompressLevel=none
UninstallDisplayIcon={uninstallexe}
UninstallDisplaySize=49928994816
AppId={{B7088B59-F587-435A-A67E-AFE6C3816C18}
PrivilegesRequired=none
DisableWelcomePage=False
;ShowTasksTreeLines=yes
;InternalCompressLevel=ultra64
;InfoBeforeFile=_Files\info.rtf
;LicenseFile=_Files\license.txt
DirExistsWarning=no
AppSupportURL=https://help.bethesda.net/app/home/p/704/Platform/3/pf/PC/session/

Hello master Help

DefaultDirName={pf}\{#AppPublisher}\{#AppName}

Kitsune1982 06-06-2018 17:29

problem with resizing black box frame
 
hi guys, i am playing with the black box 2017 script rinaldo posted, and i cannot for the life of me figure out how to make a full screen welcome page bitmap. i have tried resizing it in photoshop, and adjusting the parameters in main.iss. here is my code

ExtractTemporaryFile ('Background.bmp');
WizardForm.WizardBitmapImage.Cursor:=crHand;
WizardForm.WizardBitmapImage.OnClick:=@LogoLabelOn Click;
WizardForm.ClientWidth:=800;
WizardForm.ClientHeight:=600;
WizardForm.InnerNotebook.Show;
WizardForm.OuterNotebook.Show;
WizardForm.WizardBitmapImage.Stretch:=True;
WizardForm.WizardBitmapImage.Parent:=WizardForm;


am i doing this wrong? i also cant seem to figure out how to line up the buttons either :< can someone tell me what i need to do or post a code snippet on how to add a background.bmp to the extracttemporaryfile variable? thanks!!

-Kitsune

Stor31 23-06-2018 10:04

Plz rinaldo how to fix that

https://nsa39.casimages.com/img/2018...0600509711.png

pakrat2k2 23-06-2018 12:43

check this post & see if its correct in script as well.
https://www.fileforums.com/showpost....24&postcount=9

Schabik 26-06-2018 05:46

I've been trying to compress The Sims 3 Collection (base and all addons).


Compression method I've used:
pZLib3+SREPMAX+LZMAII
pZLib3+SREPMAX+RZ


No matter what installer I use, every time -12 error appear.
Attachment 22191


What Can I do to preserve the compression ratio ~33GB->~7GB

ffmla 26-06-2018 06:51

Quote:

Originally Posted by Schabik (Post 472106)
I've been trying to compress The Sims 3 Collection (base and all addons).


Compression method I've used:
pZLib3+SREPMAX+LZMAII
pZLib3+SREPMAX+RZ


No matter what installer I use, every time -12 error appear.
Attachment 22191

First of all, check the config file{arc.ini},that included in setup extraction process.
Make sure correct unarc.dll version used.{Lot of out there}
Make sure enough space for installation.

{if error came at start,then different version of unarc.dll as the problem{use correct one}.
or while extraction process that may be memory issue.}

Schabik 26-06-2018 12:14

Quote:

Originally Posted by ffmla (Post 472109)
First of all, check the config file{arc.ini},that included in setup extraction process.
Make sure correct unarc.dll version used.{Lot of out there}
Make sure enough space for installation.

{if error came at start,then different version of unarc.dll as the problem{use correct one}.
or while extraction process that may be memory issue.}

Tested on various free space, from 100GB to 1TB

Memory on my PC is 16-20GB

Tomorrow I'll be testing various unarc.dll but where to get it?

By the way, isn't there a problem with srep? My mind thoughts are going this way for a solution.

The problem occurs about 0,4% of the setup so It's at the beginning.


Edit:
Ok, I think I've solved the problem.
I've been using Srep/Srep64 version 3.93a beta, if I remember there was a problem with this version, so I've found version 3.92 beta and I'll test it.


All times are GMT -7. The time now is 20:50.

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