Log in

View Full Version : -+- COMPLETE - Inno Setup Script -+-


Dante1995
03-08-2014, 22:24
Al Installer v0.2

Autorun/Setup
Internal Compression
Various Effect

Dante1995
18-09-2014, 08:39
Done

Dante1995
18-09-2014, 08:44
Done
ISDone_ExitPanel (http://fileforums.com/attachment.php?attachmentid=9873&d=1410527118)

Dante1995
18-09-2014, 08:53
Repack1

Dante1995
18-09-2014, 09:06
Version Mod Dante1995
Script © Peterf1999
Version1 = Internal Compression

Required Custom Language (rus)
is not a conversion


thanks Sentinelk my brother for help me flags and labelbutton

Dante1995
18-09-2014, 09:17
Done

Dante1995
18-09-2014, 09:21
can be useful ISEE (u)

Functions = Isdone+Video+Splash.
Compression Work = Freearc,Precompress043,Srep,MSC.

Dante1995
18-09-2014, 09:26
fORM rEPACK example

Dante1995
18-09-2014, 09:31
ISDone v0.6 lite (ini)
source fileforums readapt
only Freearc,Prec,Srep,Msc (no rar,7z ecc.)

Dante1995
18-09-2014, 09:39
Video XviD Example

Dante1995
18-09-2014, 09:46
beta=internal
ISDone

Dante1995
18-09-2014, 09:54
Done

Dante1995
18-09-2014, 09:58
Slide Bitmap

Dante1995
18-09-2014, 10:00
Custom Form Width

Dante1995
18-09-2014, 10:04
[Batch] inside+full file add (compatible:arc,srep,precompress043,msc)
default=only srep.

Example Compress 1/2:
arc.exe a -ep1 -dses --dirs -s; -lc- -di -i2 -r -msrep:l256+lzma:a1:mfbt4:d200m:fb128:mc1000:lc8 data.arc datafile\*

arc a -ep1 -dses --dirs -s; -lc- -di -i2 -r -msrep:l256+lzma:a1:mfbt4:d200m:fb128:mc1000:lc8 data.bin datafile\*Example Decompress 1/2:
unarc.exe x -w.\ -dpDecompressed\ data.arc
unarc.exe x -w.\ -dpDecompressed\ data.bin

arc x -w.\ -dpDecompressed\ data.arc
arc x -w.\ -dpDecompressed\ data.bindataname no important
data.fileforums is equal :)


custom
@echo off
for /d %%X in (datafile) do "arc" a -ep1 -dses --dirs -s; -lc- -di -i2 -r -msrep:l256+lzma:a1:mfbt4:d200m:fb128:mc1000:lc8 "Data1.bin" "%%X\*"
pause

Dante1995
18-09-2014, 10:14
2 Version: Internal and ISDone (inno setup ee)

Info:
Slides+Video+SplashScreen+Music :)

idea y_thelastknight,Razor12911,Peterf

SplashTime
ShowSplashScreen(WizardForm.Handle,ExpandConstant( '{tmp}\Splash.png'),{#SplashTime1},{#SplashTime2}, {#SplashTime3},0,255,True,$FFFFFF,10);


Code System Info is Old

Dante1995
18-09-2014, 10:22
[Setup]
AppName=OpenWeb
AppVersion=OpenWeb
DefaultDirName=OpenWeb_Dante1995
OutputDir=.


[Run]
//---> Open Browser After Installation + Check Confirm
//Filename: "http://YourWebSite.it/"; Flags: shellexec runasoriginaluser postinstall; Description:Open WebSite.

//---> Open Browser After Installation (does not close the Set-up)
//Filename: "http://google.com/"; Flags: shellexec runasoriginaluser

[Code_]
//---> Open Browser After Installation
procedure CurStepChanged(CurStep: TSetupStep);
var
ErrCode: integer;
begin
if (CurStep=ssDone) then
begin
ShellExec('open', 'http://google.it/', '', '', SW_SHOW, ewNoWait, ErrCode);
end;
end;

ChronoCross
18-09-2014, 15:20
can be useful ISEE (u)

Functions = Isdone+Video+Splash.
http://fileforums.com/attachment.php?attachmentid=9925&stc=1&d=1411057306
Compression Work = Freearc,Precompress043,Srep,MSC.

hello Dante1995 im hyper noob. and i have questions. but first thanks for this innovation.

Q1:when i launch the setup after the install the setup close automatically how to fixed?
Q2:after the intall and run again the setup, is possible the unistaller run silent?
many thanks

Dante1995
18-09-2014, 17:00
Q1:
want to view the page finish?
Q2:
does not want to see the progress bar when the program uninstall your game automatically?

ChronoCross
18-09-2014, 17:10
Q1:
want to view the page finish?
Q2:
does not want to see the progress bar when the program uninstall your game automatically?

Q1: Yes any finish message would be fine.

Q2: I prefer not unistall the game when the setup.exe launch again, but if do it message advice would be good.

thanks

Dante1995
18-09-2014, 18:21
Done

Q1: Yes any finish message would be fine.

Q2: prefer not unistall the game when the setup.exe launch again, but if do it message advice would be good.

Dante1995
21-09-2014, 18:11
Simple Installer ISDone

felice2011
22-09-2014, 09:18
You're great..Dante....!!!!!!:D:)

vinay sawan
22-09-2014, 10:33
Delete

Dante1995
22-09-2014, 13:04
Dante1995 please help me

how to change install page size like this image in this Script


I swear I did not understand :(

Compiler
22-09-2014, 23:52
I swear I did not understand :(

Yes it was hard to get it,but he says "How to change the wizardform size while installing."

Dante1995
23-09-2014, 02:54
Installing BG Video

Dante1995
23-09-2014, 22:20
Metro Installer K.Team

Dante1995
25-09-2014, 20:42
Info Hardware and Software (unicode Version)

mausschieber
25-09-2014, 23:40
Info Hardware and Software (unicode Version)

here are the german Messages

ger.CustomPageMsg=Hardware Software
ger.CustomPageMsg2=Folgende Hardware wurde auf Ihrem System erkannt.
ger.SytemMsg=Nicht alle Komponenten erfüllen die Mindestanforderungen
ger.SytemMsg2=Bitte überprüfen Sie die Positionen hervorgehoben in Orange.
ger.SytemMsg3=Alle Komponenten erfüllen die Mindestanforderungen.
ger.MemoryMsg=Verwendet für System-Cache
ger.MemoryMsg2=Gesamt,
ger.MemoryMsg3=Benutzt,
ger.MemoryMsg4=Frei
ger.AudioMsg=Soundkarten
ger.AudioMsg2=Gerätetreiber nicht gefunden.
ger.NextMsg=Wenn Sie bereit sind, um fortzufahren, klicken Sie auf «Weiter».
ger.Core=Prozessor Kerne
ger.Ram=RAM
ger.VideoCard=Video-Karte
ger.AudioCard=Soundkarten
ger.System=Betriebssystem
ger.FunctionError=Fehlerfunktion

vinay sawan
26-09-2014, 00:00
how to use this autorun source

DONT EVER Post like you originally did AGAIN!
NO Need to use large fonts & bold like that> pakrat2k2

Dante1995
26-09-2014, 00:35
how to use this autorun source

I do not know, is beyond my expertise :D

y_thelastknight
26-09-2014, 05:18
how to use this autorun source

what you mean how to use this source?
what you need?

Dante1995
26-09-2014, 05:59
y_thelastknight


want to know how you configure it, but if the guy screams so then nothing candy :)

vinay sawan
26-09-2014, 09:33
#define ValueExists1 "HKLM, 'Software\1C\UFO Trilogy\UFO Aftermath', 'InstallPath'"
#define ValueExists2 "HKLM, 'Software\1C\UFO Trilogy\UFO Aftershock', 'InstallPath'"
#define ValueExists3 "HKLM, 'Software\ALTAR\UFO Afterlight', 'Path'"
#define FileExists1 "GamePath1 + '\UFO.exe'"
#define FileExists2 "GamePath2 + '\UFO.exe'"
#define FileExists3 "GamePath3 + '\UFO.exe'"
#define QueryStringValue1 "HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\{D07D2A5B-0836-4583-A8C1-FEE86EBDDD48}_is1','UninstallString', UninsPath1"
#define QueryStringValue2 "HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\{7A891764-5569-4EA3-8402-713C4E8158C7}_is1','UninstallString', UninsPath2"
#define QueryStringValue3 "HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninsta ll\{BCEF5B82-A3C3-4F0D-A985-419D25A07B77}_is1','UninstallString', UninsPath3"

Razor12911
26-09-2014, 10:34
RegRead is missing
GamePath# is not defined. for 1 to 3.
GamePath# is not suppose to be under inverted commas if it is a variable.
if FileExists is a boolean then equate it to something.
and there are some mistakes that should be corrected.
you can check IC source script to see how did I set up the ISPP.

Dante1995
04-10-2014, 04:12
Advanced Version

Dante1995
04-10-2014, 06:26
.....

Dante1995
07-10-2014, 07:07
zcm compression

Valtus
07-10-2014, 18:49
good compressor, nanozip like, how you can include in the script?

Dante1995
10-10-2014, 06:10
freearc no compatible sorry..

try this I do not know :(


C:\Games:DefaultDirName={sd}\Game\FolderGamesName

Compiler
10-10-2014, 10:12
But you can use Isdone as well.


if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\yourfile.exe'), ExpandConstant('x -o+ "{src}\data.bin" "{app}\"'), ExpandConstant('{tmp}'), '...',false) then break;


You can edit parameters under ExpandConstant

Dante1995
10-10-2014, 11:12
I'm not sure that it works, but try you never know :)

Dante1995
10-10-2014, 15:10
EXAMPLE

//TestArcCompression = Copyright © by InnoUltra.ru :)

Dante1995
15-10-2014, 03:48
Delphi Multi Unpacked

PreSupport Precomp ecc...
Support Arc,Srep,7-zip ecc... and FreeArc.bin,FreeArc.cab extension

You have to update the files in the folder Bins for your needs :)

ChronoCross
15-10-2014, 06:23
Delphi Multi Unpacked

Unpacked Arc,Srep,Rar,7-zip,zip ecc..

hello Dante the application open very well and the path selection and save folder too, but the extraction not work, only i have void folders.

I use this 10197 and work fine, for srep and precomp.

maybe can you try this files.

Im working in GUI application too for extraction in VS

Dante1995
15-10-2014, 07:18
hello Dante the application open very well and the path selection and save folder too, but the extraction not work, only i have void folders.

I use this 10197 and work fine, for srep and precomp.

maybe can you try this files.

Im working in GUI application too for extraction in VS


your files are not equal to my MU, if you are using different compression from my arc.ini, the program will extract only the folders or anything-

you can not create a universal program, the maximum you can create a program that compresses and decompresses only specified methods in those methods :)

one creates its algorithmic methods and sets my MU, so you always have the decompressor ready to use, with regard arc, rar, zip, instead it is universal

Tested
-ep-- -r -lc- -mt1 -mrep:263mb+srep+exe+delta+lzma:150mb:normal:bt4:12 8

File:

ChronoCross
15-10-2014, 08:26
your files are not equal to my MU, if you are using different compression from my arc.ini, the program will extract only the folders or anything-

you can not create a universal program, the maximum you can create a program that compresses and decompresses only specified methods in those methods :)

one creates its algorithmic methods and sets my MU, so you always have the decompressor ready to use, with regard arc, rar, zip, instead it is universal

Tested
-ep-- -r -lc- -mt1 -mrep:263mb+srep+exe+delta+lzma:150mb:normal:bt4:12 8

File:

if you use 1-mrep:263mb+srep+exe+delta+lzma:150mb:normal:bt4:12 8

Data1.bin 37.426 bytes

if you use 2-msrep+exe2+delta+lzma:a1:mfbt4:d158m:fb273:mc1000: lc8

data2.bin 36.566 bytes

2 is better Why? because "rep" generate a entropy thats srep lzma can't compress and generate double compression.(innecesary)

Bulat says
rep= use files less 1GB
Srep= Use files more 1GB

10201

PD: maybe i have the wrong MU application?
10200

felice2011
15-10-2014, 08:30
your files are not equal to my MU, if you are using different compression from my arc.ini, the program will extract only the folders or anything-

you can not create a universal program, the maximum you can create a program that compresses and decompresses only specified methods in those methods :)

one creates its algorithmic methods and sets my MU, so you always have the decompressor ready to use, with regard arc, rar, zip, instead it is universal

Tested
-ep-- -r -lc- -mt1 -mrep:263mb+srep+exe+delta+lzma:150mb:normal:bt4:12 8

File:

I have almost stolen the idea...:D:D:D:D

I was working myself to one thing.:rolleyes:

Cazzo mi freghi le iddeee...:p:p:p:p

Dante1995
15-10-2014, 08:48
and the boys, this is a program done in 10 minutes and try a few things, then on pc dating is limited, no implementation to a relase from the first page .. :rolleyes:
ChronoCross me method this is an example, not a recommendation :)


then why use Visual Studio (VisualBasic, Visual C++), if you do not know Delphi code, use Inno Setup code:
example found in InnoUltra InnoSetup 5\Script


SHFileOperation.iss x Compressor

;************************************************* **************;
;****************** SHFileOperation.iss ************************;
;************************************************* **************;
;* Include this file in project. Example:
;* #include "SHFileOperation.iss"
;************************************************* **************;
;************************ 1 ************************************;
;* function CopyDir(const fromDir, toDir: string): Boolean;
;* Example 1 (without <fromDir> trailing backslash):
;* CopyDir('C:\TMP\MyApp', 'C:\TMP\Backup');
;* Result: C:\TMP\Backup\MyApp\..all <MyApp> subdirs and files
;* Example 2 (with <fromDir> trailing backslash):
;* CopyDir('C:\TMP\MyApp\', 'C:\TMP\Backup');
;* Result: C:\TMP\Backup\..all <MyApp> subdirs and files
;************************************************* **************;
;************************ 2 ************************************;
;* function MoveDir(const fromDir, toDir: string): Boolean;
;* Example 1 (without <fromDir> trailing backslash):
;* MoveDir('C:\TMP\MyApp', 'C:\TMP\Backup');
;* Result: C:\TMP\Backup\MyApp\..all <MyApp> subdirs and files
;* Example 2 (with <fromDir> trailing backslash):
;* MoveDir('C:\TMP\MyApp\', 'C:\TMP\Backup');
;* Result: C:\TMP\Backup\..all <MyApp> subdirs and files
;************************************************* **************;
;************************ 3 ************************************;
;* function DelDir(dir: string; toRecycle: Boolean): Boolean;
;* If <toRecycle> is True, <dir> deleted in Recycle Bin.
;************************************************* **************;
;************************ 4 ************************************;
;* function RenameDir(const fromDir, toDir: string): Boolean;
;************************************************* **************;
;************************************************* **************;
;************************************************* **************;

[_Code]
type
TSHFileOpStruct = record
Wnd: HWND;
wFunc: UINT;
pFrom: PANSICHAR;
pTo: PANSICHAR;
fFlags: Word; // FILEOP_FLAGS;
fAnyOperationsAborted: BOOL;
hNameMappings: HWND; // Pointer;
lpszProgressTitle: PANSICHAR; { only used if FOF_SIMPLEPROGRESS }
end;

const
// use in wFunc
{ $EXTERNALSYM FO_MOVE }
FO_MOVE = $0001;
{ $EXTERNALSYM FO_COPY }
FO_COPY = $0002;
{ $EXTERNALSYM FO_DELETE }
FO_DELETE = $0003;
{ $EXTERNALSYM FO_RENAME }
FO_RENAME = $0004;
// use in fFlags
{ $EXTERNALSYM FOF_MULTIDESTFILES }
FOF_MULTIDESTFILES = $0001;
{ $EXTERNALSYM FOF_CONFIRMMOUSE }
FOF_CONFIRMMOUSE = $0002;
{ $EXTERNALSYM FOF_SILENT }
FOF_SILENT = $0004; { don't create progress/report }
{ $EXTERNALSYM FOF_RENAMEONCOLLISION }
FOF_RENAMEONCOLLISION = $0008;
{ $EXTERNALSYM FOF_NOCONFIRMATION }
FOF_NOCONFIRMATION = $0010; { Don't prompt the user. }
{ $EXTERNALSYM FOF_WANTMAPPINGHANDLE }
FOF_WANTMAPPINGHANDLE = $0020; { Fill in
SHFILEOPSTRUCT.hNameMappings
Must be freed using
SHFreeNameMappings }
{ $EXTERNALSYM FOF_ALLOWUNDO }
FOF_ALLOWUNDO = $0040;
{ $EXTERNALSYM FOF_FILESONLY }
FOF_FILESONLY = $0080; { on *.*, do only files }
{ $EXTERNALSYM FOF_SIMPLEPROGRESS }
FOF_SIMPLEPROGRESS = $0100; { means don't show names of files }
{ $EXTERNALSYM FOF_NOCONFIRMMKDIR }
FOF_NOCONFIRMMKDIR = $0200; { don't confirm making any
needed dirs }
{ $EXTERNALSYM FOF_NOERRORUI }
FOF_NOERRORUI = $0400; { don't put up error UI }


function SHFileOperation(const lpFileOp: TSHFileOpStruct):Integer;
external '[email protected] stdcall';

{************************************************* ***************}
{************************************************* ***************}
{************************************************* ***************}

function BackupDir(const fromDir, toDir: string; IsMove: Boolean): Boolean;
var
fos: TSHFileOpStruct;
_fromDir, _toDir: string;
SR: TFindRec;
res: Boolean;
begin
ForceDirectories(toDir);
if IsMove then
fos.wFunc := FO_MOVE else
fos.wFunc := FO_COPY;
fos.fFlags := FOF_FILESONLY or FOF_SILENT or
FOF_NOCONFIRMATION or FOF_NOCONFIRMMKDIR;
_fromDir:= AddBackslash(fromDir);
_toDir := AddBackslash(toDir);
if (Length(fromDir) = Length(_fromDir)) then
begin
res:= FindFirst(_fromDir + '*', SR);
try
while res do
begin
if (SR.Name <> '') and (SR.Name <> '.') and (SR.Name <> '..') then
begin
if SR.Attributes = FILE_ATTRIBUTE_DIRECTORY then
begin
_fromDir:= _fromDir + SR.Name + #0#0;
_toDir := _toDir + #0#0;
fos.pFrom := PANSICHAR(_fromDir);
fos.pTo := PANSICHAR(_toDir);
end else
begin
_fromDir:= _fromDir + SR.Name + #0#0;
_toDir := _toDir + SR.Name + #0#0;
fos.pFrom := PANSICHAR(_fromDir);
fos.pTo := PANSICHAR(_toDir);
end;
Result := (0 = ShFileOperation(fos));
_fromDir:= ExtractFilePath(_fromDir);
_toDir:= ExtractFilePath(_toDir);
end;
res := FindNext(SR);
end;
finally
FindClose(SR);
end;
end else
begin
_fromDir:= RemoveBackslashUnlessRoot(_fromDir) + #0#0;
_toDir := RemoveBackslashUnlessRoot(_toDir) + #0#0;
fos.pFrom := PANSICHAR(_fromDir);
fos.pTo := PANSICHAR(_toDir);
Result := (0 = ShFileOperation(fos));
end;
end;

{************************************************* ***************}
function MoveDir(const fromDir, toDir: string): Boolean;
begin
Result := BackupDir(fromDir, toDir, True);
end;

{************************************************* ***************}
function CopyDir(const fromDir, toDir: string): Boolean;
begin
Result := BackupDir(fromDir, toDir, False);
end;

{************************************************* ***************}
function DelDir(dir: string; toRecycle: Boolean): Boolean;
var
fos: TSHFileOpStruct;
_dir: string;
begin
_dir:= RemoveBackslashUnlessRoot(dir) + #0#0;
fos.wFunc := FO_DELETE;
fos.fFlags := FOF_SILENT or FOF_NOCONFIRMATION;
if toRecycle then
fos.fFlags := fos.fFlags or FOF_ALLOWUNDO;
fos.pFrom := PANSICHAR(_dir);
Result := (0 = ShFileOperation(fos));
end;

{************************************************* ***************}
function RenameDir(const fromDir, toDir: string): Boolean;
var
fos: TSHFileOpStruct;
_fromDir, _toDir: string;
begin
_fromDir:= RemoveBackslashUnlessRoot(fromDir) + #0#0;
_toDir := RemoveBackslashUnlessRoot(toDir) + #0#0;
fos.wFunc := FO_RENAME;
fos.fFlags := FOF_FILESONLY or FOF_ALLOWUNDO or
FOF_SILENT or FOF_NOCONFIRMATION;
fos.pFrom := PANSICHAR(_fromDir);
fos.pTo := PANSICHAR(_toDir);
Result := (0 = ShFileOperation(fos));
end;

{************************************************* ***************}
function FilesMaskOperation(const fromDir, toDir, fileMask: string; FileOp: Integer; EmptyDirRemove: Boolean; toRecycle: Boolean): Boolean;
var
fos: TSHFileOpStruct;
_fromDir, _toDir: string;
FSR, DSR: TFindRec;
FindResult: Boolean;
APath: string;
begin
APath := AddBackslash(fromDir);
FindResult := FindFirst(APath + fileMask, FSR);
try
while FindResult do
begin
if FSR.Attributes and FILE_ATTRIBUTE_DIRECTORY = 0 then
begin
Case FileOp of
FO_COPY:
begin
fos.wFunc := FO_COPY;
end;
FO_MOVE:
begin
fos.wFunc := FO_MOVE;
end;
FO_DELETE:
begin
fos.wFunc := FO_DELETE;
if toRecycle then fos.fFlags := fos.fFlags or FOF_ALLOWUNDO;
end;
FO_RENAME:
begin
fos.wFunc := FO_RENAME;
end;
else
;
end;
fos.fFlags := fos.fFlags or FOF_FILESONLY or FOF_SILENT or
FOF_NOCONFIRMATION or FOF_NOCONFIRMMKDIR;
_fromDir:= APath + FSR.Name + #0#0;
_toDir:= AddBackslash(toDir) + FSR.Name + #0#0;
ForceDirectories(ExtractFilePath(_toDir));
fos.pFrom := PANSICHAR(_fromDir);
fos.pTo := PANSICHAR(_toDir);
Result := (0 = ShFileOperation(fos));
end;
FindResult := FindNext(FSR);
end;
FindResult := FindFirst(APath + '*.*', DSR);
while FindResult do
begin
if ((DSR.Attributes and FILE_ATTRIBUTE_DIRECTORY) = FILE_ATTRIBUTE_DIRECTORY) and
not ((DSR.Name = '.') or (DSR.Name = '..')) then
{Recursion} FilesMaskOperation(APath + DSR.Name, AddBackslash(toDir) + DSR.Name, fileMask, FileOp, EmptyDirRemove, toRecycle);
FindResult := FindNext(DSR);
end;
finally
FindClose(FSR);
FindClose(DSR);
if EmptyDirRemove then RemoveDir(APath);
end;
end;

function CopyFiles(const fromDir, toDir, fileMask: string): Boolean;
begin
Result := FilesMaskOperation(fromDir, toDir, fileMask,
FO_COPY, False, False);
end;

function MoveFiles(const fromDir, toDir, fileMask: string): Boolean;
begin
Result := FilesMaskOperation(fromDir, toDir, fileMask,
FO_MOVE, True, False);
end;

function DelFiles(const fromDir, fileMask: string; toRecycle: Boolean ): Boolean;
begin
Result := FilesMaskOperation(fromDir, '', fileMask,
FO_DELETE, True, toRecycle);
end;

Dante1995
21-10-2014, 16:14
Update today

Dante1995
24-10-2014, 09:40
correct the color of transparency, changing from white to black

ChronoCross
25-10-2014, 23:48
hello Dante1995.

Is possible make a menu setup with videos Like a DVD?
I try to make a menu setup like Assasin creed in unity but i think is wated time.
I try to make setup menu videos in after effects and exported in xvid.
But Idon't know how to add the correct buttons.
thanks

Dante1995
26-10-2014, 03:58
Yours is a question without reference to something I do not understand what you want to do

Dante1995
26-10-2014, 04:51
C.I.U SmallInstaller Phtoshop psd

Souvik Giri
26-10-2014, 06:14
Dante1995, can u give a PRECOMP+SREP+IZMA compressor?

Dante1995
26-10-2014, 07:09
Dante1995, can u give a PRECOMP+SREP+IZMA compressor?

ok

Dante1995
26-10-2014, 07:14
Spend Time :)

Dante1995
26-10-2014, 22:41
Ansi + Unicode + dll pack ver 121216

Dante1995
27-10-2014, 14:24
Tutorial..

read requests on the forum from time to time agree with the solution to the problem :)

minh_k43sj
28-10-2014, 06:47
I use compress with Dante was upload at post #57

Error when test compresss with a folder, not see output Data.bin when compress finish

http://i.imgur.com/RvcYUed.jpg

Dante1995
28-10-2014, 07:17
close background programs (antivirus,mail,java,fb,chrome ecc. )
limit memory -ld
example -ld200m

Adonix
31-10-2014, 20:53
Simple Installer ISDone

compiling error..

Dante1995
01-11-2014, 22:10
Use Inno EE (u) (http://fileforums.com/showpost.php?p=435465&postcount=58)

Adonix
01-11-2014, 22:32
use inno ee (u) (http://fileforums.com/showpost.php?p=435465&postcount=58)

done :d

ChronoCross
02-11-2014, 08:51
Spend Time :)

Hello Dante1995, there is any way to add below in the progress bar status

information about the how many KB remaining to complete the installation.


example:

||||||||||83%|||||........

12546/90000 KB


or mB

thanks advance

Dante1995
02-11-2014, 10:26
Hello Dante1995, there is any way to add below in the progress bar status

information about the how many KB remaining to complete the installation.


example:

||||||||||83%|||||........

12546/90000 KB


or mB

thanks advance

read the code of Bulat, it seems to me that he has already created the sequences

Adonix
03-11-2014, 20:44
Simple Installer ISDone

in output folder there is "data1.arc" what is it for ? should i delete it or it's important file ?

in main_2.iss file what we have to change for different games each time ?

do i have to change the marked things in images each time ??
http://i.imgur.com/XKh8HvR.jpg
http://i.imgur.com/k5sGf9Q.jpg

If i have the different output name like audio-1.bin file then where to make changes in main_2.iss script, please tell all places which we have to change.

if i have only 1 .bin file then do we have to change anything in script ? or if we have 2 or more bin files ??

Dante1995
03-11-2014, 22:43
in output folder there is "data1.arc" what is it for ? should i delete it or it's important file ?

in main_2.iss file what we have to change for different games each time ?

do i have to change the marked things in images each time ??
http://i.imgur.com/XKh8HvR.jpg
http://i.imgur.com/k5sGf9Q.jpg

If i have the different output name like audio-1.bin file then where to make changes in main_2.iss script, please tell all places which we have to change.

if i have only 1 .bin file then do we have to change anything in script ? or if we have 2 or more bin files ??

=-=-=-==-=-=-==-=-=-==-=-=-==-=-=-==-=-=-==-=-=-==-=-=-==-=-=-=
Components:

#Define DirectX 'True'
#Define VisualC 'True'
#Define Physx 'True'
#Define Frameworks 'True'

True = Active
False = Disable



the progress bar must always be 100% same as the final value, otherwise the process will end before reaching this value
Default is set to unpack a single file
to use multiple repositories (data.extension) must make a division
if we set 100% on (2) archives progress unpacked the archive (1) 100% and then continue with the store 2 came to 200%, and is not to arrive at this value.
then you'll have to set as follows.

Archives:
data1.arc 100% = 1 archive

2 Archives
data1.arc 50%
data2.arc 50%

3 Archives
data1.arc 33%
data2.arc 33%
data3.arc 34%

4 Archives
data1.arc 25%
data2.arc 25%
data3.arc 25%
data4.arc 25%

5 Archives
data1.arc 20%
data2.arc 20%
data3.arc 20%
data4.arc 20%
data5.arc 20%

Respect the name and extension, it is important that it is (data1, data2, data3) with extension (arc, bin or cab), you can also save with a different extension and give a name to your liking.

example name and extension custom:
data1.game or game.data

final example x 2 Archives:
#define bin1perc 50
#define bin2perc 50

#define bin1 "data1.game"
#define bin2 "data2.game"

Adonix
03-11-2014, 23:04
=-=-=-==-=-=-==-=-=-==-=-=-==-=-=-==-=-=-==-=-=-==-=-=-==-=-=-=
Components:

#Define DirectX 'True'
#Define VisualC 'True'
#Define Physx 'True'
#Define Frameworks 'True'

True = Active
False = Disable



the progress bar must always be 100% same as the final value, otherwise the process will end before reaching this value he store 2 came to 200%, and is not to arrive at this value.
then you'll have to set as follows.
.
.
.
.
.
.
.
.

#define bin1 "data1.game"
#define bin2 "data2.game"[/CODE]

Thanks......But :(

i tested this installer :- http://fileforums.com/showpost.php?p...0&postcount=22

everything was going good but reaching at 25-30% it showed error "precomp.exe has stopped working".
i tested other small file size also but again at 5% it showed precomp problem
please help me. i am using precomp version 0.42 and below compression script to make .bin files.
'''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''
arc a -lc8 -ep1 -ed -r -w.\ Data\Data-1.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
'''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''
Please help to fix the error.

Dante1995
04-11-2014, 09:49
:D BBoxScript :D is test
working 100%
lang english

Andrey167
04-11-2014, 10:35
:D BBoxScript :D

Great Work Bro, do not tell how to add the components page here?

Dante1995
04-11-2014, 13:31
Adonix

please do not post again in my topic .. this is spam
:mad:

Adonix
04-11-2014, 18:13
please do not post again in my topic .. this is spam
:mad:
sorry man i got exited too much.

minh_k43sj
04-11-2014, 20:00
:D BBoxScript :D is test
working 100%
lang english

great :)
you can add music background to scrip ? :)

Dante1995
05-11-2014, 00:47
great :)
you can add music background to scrip ? :)

[Files]
Source: File\Bass.dll; DestDir: {tmp}; Flags: dontcopy deleteafterinstall noencryption nocompression
Source: File\music.mp3; DestDir: {tmp}; Flags: dontcopy deleteafterinstall noencryption nocompression

[ Code]
type
HSTREAM = DWORD;

function BASS_Init(device: Integer; freq, flags: DWORD; win: hwnd; CLSID: Integer): Boolean;
external 'BASS_Init@files:BASS.dll stdcall delayload';
function BASS_StreamCreateFile(mem: BOOL; f: PAnsiChar; offset: DWORD; length: DWORD; flags: DWORD): HSTREAM;
external 'BASS_StreamCreateFile@files:BASS.dll stdcall delayload';
function BASS_Start(): Boolean;
external 'BASS_Start@files:BASS.dll stdcall delayload';
function BASS_Pause(): Boolean;
external 'BASS_Pause@files:BASS.dll stdcall delayload';
function BASS_ChannelPlay(handle: DWORD; restart: BOOL): Boolean;
external 'BASS_ChannelPlay@files:BASS.dll stdcall delayload';
function BASS_Stop(): Boolean;
external 'BASS_Stop@files:BASS.dll stdcall delayload';
function BASS_Free(): Boolean;
external 'BASS_Free@files:BASS.dll stdcall delayload';


const
BASS_SAMPLE_LOOP = 4;

var
MusicButton: TButton;
Name: string;
i : Integer;

procedure MusicButtonOnClick(Sender: TObject);
begin
if MusicButton.Caption = 'Music On' then
begin
MusicButton.Caption := 'Music Off';
BASS_Pause;
end else
begin
MusicButton.Caption := 'Music On';
BASS_Start;
end;
end;

procedure InitializeWizard();
begin
ExtractTemporaryFile('BASS.dll');
ExtractTemporaryFile('music.mp3');
if BASS_Init(-1, 44100, 0, 0, 0) then
begin
BASS_Start;
Name:=ExpandConstant('{tmp}\music.mp3');
i:=BASS_StreamCreateFile(FALSE, PAnsiChar(Name), 0, 0, 4);
if i <> 0 then
begin
BASS_ChannelPlay(i, True);
end;

MusicButton := TNewButton.Create(WizardForm);
MusicButton.Parent := WizardForm;
MusicButton.SetBounds(4,337,131,20);
MusicButton.Caption := 'Music On';
MusicButton.OnClick:=@MusicButtonOnClick;
end;
end;

procedure DeinitializeSetup();
begin
BASS_Stop;
BASS_Free;
end;

minh_k43sj
05-11-2014, 04:30
:D BBoxScript :D is test
working 100%
lang english

How to add skin.cjstyles to scrip, please help me :)

punchao
05-11-2014, 04:39
Bro,where I put data1.bin, before compiling?

Dante1995
05-11-2014, 18:54
How to add skin.cjstyles to scrip, please help me :)
Simply enter the code under the following headings in blue and if there is no paste all the code

ex: only
UnloadSkin;
or
all
procedure DeinitializeUninstall;
begin
UnloadSkin;
end;

Simply enter the isSkin.dll files and Tiger.cjstyles in the folder style

#define SkinDll "isSkin.dll"
#define StyleName "Tiger.cjstyles"

[Setup]

[Files]
Source: "style\{#SkinDll}"; DestDir: "{app}"; Flags: ignoreversion; Attribs: hidden system;
Source: "style\{#StyleName}"; DestDir: "{app}"; Flags: ignoreversion; Attribs: hidden system;

[ Code]
procedure LoadSkin(lpszPath: PAnsiChar; lpszIniFileName: PAnsiChar); external 'LoadSkin@{tmp}\{#SkinDll} stdcall delayload';
procedure UnloadSkin; external 'UnloadSkin@{tmp}\{#SkinDll} stdcall delayload';
function ShowWindow(hWnd: Integer; uType: Integer): Integer; external '[email protected] stdcall';

function InitializeSetup: Boolean;
begin
ExtractTemporaryFile('{#SkinDll}');
ExtractTemporaryFile('{#StyleName}');
LoadSkin(ExpandConstant('{tmp}\{#StyleName}'), '');

Result:=True;
end;

procedure DeinitializeSetup;
begin
ShowWindow(StrToInt(ExpandConstant('{wizardhwnd}') ), 0);
UnloadSkin;
end;

function InitializeUninstall: Boolean;
begin
FileCopy(ExpandConstant('{app}\{#SkinDll}'), ExpandConstant('{tmp}\{#SkinDll}'), False);
FileCopy(ExpandConstant('{app}\{#StyleName}'), ExpandConstant('{tmp}\{#StyleName}'), False);
LoadSkin(ExpandConstant('{tmp}\{#StyleName}'), '');
Result:=True;
end;

procedure DeinitializeUninstall;
begin
UnloadSkin;
end;

Souvik Giri
06-11-2014, 17:25
Another request. Please, give metro.cjstyles.

Dante1995
06-11-2014, 17:54
metro no is .cjstyles is vcl styles

Dante1995
08-11-2014, 05:41
AutoRun

Dante1995
11-11-2014, 03:42
isdoneex

Dante1995
18-11-2014, 16:59
Simply Script ISDone

is the script that I use for my games :)
I do not respond to comments on changes ;)

felice2011
16-12-2014, 12:43
Hi Dante, I know you're competent in compiling installations with Inno Setup.:p

I would like to ask you if you are able to complete an installation on a single page containing the trailer, the choice of components and the installation of the game.:rolleyes:

I send you an example:

10659

Thanks Bro!!!!:D

Dante1995
16-12-2014, 14:43
if you need to throw with inno setup no problem (Single or not), but understand from this program on what to do, then that's problem .... the best thing to do, is to create a screenshot with photoshop detailed. you should also take care of the program you've zipped, simple things, you can enrich and treat in detail as the other, the designe, options and extras in short, know how to give a touch of magic is fine, but you can never forget elegance or lose the originality of the product :)

ita
se ti serve lanciare con inno setup non c'è problema (sigola o non ), ma capire da questo programma il cosa fare, allora si che c'è problema.... la meglio cosa da fare, è creare uno screenshot con photoshop dettagliato. ti consiglio anche di curare il programma che hai zippato, le cose semplici, si possono arricchire e curare nel dettaglio come le altre, il designe,le opzioni e gli extra insomma, sai? dare un tocco di magia va bene, ma non bisogna mai trascurare l'eleganza o si perde l'originalità del prodotto

felice2011
17-12-2014, 05:46
The zip I posted is just an example to understand,it's just an old installation created by me compiled in HTA.
Simply a setup with a video trailer superimposed, with the possibility of choice in the same page of the components and the installation folder of the game.;)
Ex:
10660

10661

:D
Lo zip postato è solo una mia vecchia installazione di giochi, che usavo precedentemente.
In un unica pagina ho la possibilità di scelta dei componenti e dell'installazione del gioco, in piu' il trailer sovraimpresso del gioco, che l'utente puo' guardare nel tempo dell'installazione, per non rompersi le ballette, e rendersi conto del tipo di gioco.
Logicamente puoi sbizzarrirti come vuoi le immagini postate rimangono solo un esempio.
Grazie Fratello.

Dante1995
17-12-2014, 06:22
you need more in the trailer right?


ti serve in più il trailer giusto?

felice2011
17-12-2014, 06:27
ti serve in più il trailer giusto?
That's Right:)
Se si può ringrandire anche la schermata dell'installazione in modo che la dimensione del video non resti troppo piccola.
Sai...!!!...per quelli come me che portano gli occhiali...:cool::cool:

Dante1995
17-12-2014, 07:33
spero di avere capito..
i jpg per lo slideshow, devono essere ingranditi 800x430 per il fullscreen, poi vedi tu...






I hope you understand ..
jpg for the slideshow, should be enlarged to 800x430 fullscreen, then see you

felice2011
17-12-2014, 08:41
Great work brother!!!
You can select the video or slide? the video hides slides during installation:p

Ottimo lavoro, quello che cercavo, ma vorrei selezionare la possibilità di scelta nel visualizzare solo gli slide o solo il video, dato che il video mi va a coprire gli slide durante l'installazione.

Dante1995
17-12-2014, 12:11
perchè! il picture-in-pictures non è bello ;) ops movie-in-pictures

because the picture-in-picture or movie-in-pictures is not beautiful

felice2011
17-12-2014, 13:44
Nooo Set me one switch somewhere :D:D:D
P.S = most important thing you do not hear the audio to the video..:o:o:(

:eek:Dai vedi di mettermi un interruttore da qualche parte, se non è possibile preferisco eliminare gli slides.
Nel video non si sente l'audio, il video è un *.avi come da esempio codificato con audio AAC/LC:confused:

Dante1995
17-12-2014, 16:16
il video è senza traccia, metti un tuo avi e vedrai che si sente...
tornato a noi, prova questo se funziona.
manca il file bg.bitmap da inserire nella cartella InstallFiles 800x430


the video is no track, put a your ancestors and see that you feel ...
got back to us, try this if it works.

felice2011
18-12-2014, 01:03
Very good better and better.:D:D:D
Brother you know that the video contains no audio in the zip.:p
I downloaded a trailer WD, converted to avi, but installation can not hear the audio.:confused:

Veramente ottimo, il file video nello zip sapevo che non conteneva l'audio, scaricato un trailer da internet convertito in avi, nell'installazione non si sente l'audio , logicamente se apro con un qualsiasi riproduttore windows si sente WMP o VLC:)
P.S: Perchè quando apro il menù a tendina "Config_Off/On" mi si blocca lo slides e mi si chiude il video??????:(:(:o:o

Dante1995
18-12-2014, 02:41
to me it feels good



ciccio a me se sente tutto


Video (http://youtu.be/l2nBLTdgdSU)

felice2011
18-12-2014, 03:34
to me it feels good



ciccio a me se sente tutto

Ok audio codec was to be in mp3, could say before brother:D:D:D

Il Codec audio del file video deve essere in mp3, altri tipi di codec audio più recenti innosetup non li codifica..

Dante1995
18-12-2014, 04:57
no è lo stesso legge molti formati traccia, mp3, wav,ac3 ecc.


Law also wav

felice2011
18-12-2014, 05:29
no è lo stesso legge molti formati traccia, mp3, wav,ac3 ecc.


Law also wav
Brother, would you do me one last favor in order to have perfection in this installer, when I open the drop-down menu with the button config, and possible not be stop the slide or video.
I managed to fix the video, eliminating this:

KillTimer(0, TimerID);
DeinitializeSlideShow;
BmpFile.Show;
mciSendString('Close AVIFile','',0,0);
if Panel1.Top = 0 then
KillTimer(WizardForm.Handle, Timer);

Can not seem to do the same thing with the slide:mad:

Se riusciresti a non far fermare il video o lo slide, dipende da quale dei 2 è selezionato, quando apro il menu a tendina, sarebbe perfetto, sono riuscito a far funzionare solo il video, togliendo il codice che vedi, il video continua a girare anche aprendo e chiudendo il menù, stessa cosa vorrei fare selezionando lo slides , ma non ci sono riuscito.

P.S:il mio video era codificato con traccia audio AAC..forse l'unico che non leggeva....:D:D

Dante1995
18-12-2014, 06:45
Ferma lo Slideshow

DeinitializeSlideShow;

Ferma il Video

mciSendString('Close AVIFile','',0,0);


Congela il codice cosi, e non ferma il video o Slide
//DeinitializeSlideShow;
//mciSendString('Close AVIFile','',0,0);



Stop the Slideshow
DeinitializeSlideShow;

Stop Video
mciSendString ('Close avifile', '', 0,0);


Freeze the code so, and does not stop the video or Slide
// DeinitializeSlideShow;
// mciSendString ('Close avifile', '', 0,0);





Sappi che io compilo installatori con una mia idea definitiva, modifiche aggiuntive a volte richiedono di ragionare da 0 il codice quasi completamente, almeno quando faccio uso di pannelli,finestre,diapositive,video,bottoni ecc.. A TEMPO

however, the panel in this script remains behind the video, not the board of DO NOT STOP, at least that is not under the lower end of the panel

Know that I build installers with my idea Ultimately, additional changes sometimes require reasoning from 0 code almost completely, at least when I make use of panels, windows, slides, videos, buttons etc .. A TIME

felice2011
18-12-2014, 09:41
Nothing to be done brother when I start the slide and I click on the button config_Off / On. I open the drop-down menu, the slides stops, returning the background image :"bg.bitmap"

Nulla da fare fratello quando faccio partire lo slide e clicco sul bottone config_Off/On che mi si apre il menù a tendina, lo slides si ferma e mi ritorna l'immagine di background "bg.bitmap quella inserita nella cartella InstallFiles"

Dante1995
18-12-2014, 09:42
Code Example+InternalInstaller

Video+SlideShow.

Dante1995
20-12-2014, 15:46
Aero Repack ISDone

Dante1995
24-12-2014, 19:31
ISComps Installer only Arc file :D


Fix error Components:

comp1:=DirectX
comp2:=Redist x86
comp3:=Redist x64
comp4:=Nvidia PhysX


comp1:=Check: IsComponent2(1) and CheckError
comp2:=Check: not IsWin64 and IsComponent2(2) and CheckError
comp3:=Check: IsWin64 and IsComponent2(3) and CheckError
comp4:=Check: IsComponent2(4) and CheckError

Correct:
Filename: {src}\Redist\DirectX\DXSETUP.exe; Parameters: /Silent; StatusMsg: {cm:install2} Microsoft DirectX 9.0c...; Flags: skipifdoesntexist; Check: IsComponent2(1) and CheckError
Filename: {src}\Redist\Redist\vcredist_x86.exe; Parameters: /q; StatusMsg: {cm:install2} Microsoft Visual C++ Redist x86...; Flags: skipifdoesntexist; Check: not IsWin64 and IsComponent2(2) and CheckError
Filename: {src}\Redist\Redist\vcredist_x64.exe; Parameters: /q; StatusMsg: {cm:install2} Microsoft Visual C++ Redist x64...; Flags: skipifdoesntexist; Check: IsWin64 and IsComponent2(3) and CheckError
Filename: {src}\Redist\PhysX.exe; Parameters: /qn; StatusMsg: {cm:install2} Nvidia PhysX...; Flags: skipifdoesntexist; Check: IsComponent2(4) and CheckError

Dante1995
26-12-2014, 08:51
Fix error Components

comp1:=DirectX
comp2:=Redist x86
comp3:=Redist x64
comp4:=Nvidia PhysX


comp1:=Check: IsComponent2(1) and CheckError
comp2:=Check: not IsWin64 and IsComponent2(2) and CheckError
comp3:=Check: IsWin64 and IsComponent2(3) and CheckError
comp4:=Check: IsComponent2(4) and CheckError

ShadowEagle
14-01-2015, 04:41
Where to download your script Dante?

Tixo56
27-02-2015, 04:31
I fully support ShadowEagle and ask the same question =)

Razor12911
27-03-2015, 15:34
Moderator, Thread with missing attachments, probably deleted by user.

Grumpy
26-05-2015, 07:58
Moderator, Thread with missing attachments, probably deleted by user.

I have restored the first 4 posts, will restore the rest tomorrow. All attachments 'should' be available again within 12-24 hours. ;)

felice2011
26-05-2015, 15:18
I have restored the first 4 posts, will restore the rest tomorrow. All attachments 'should' be available again within 12-24 hours. ;)

Excellent work, strange that Dante has behaved in that way.:confused::rolleyes:

Grumpy
26-05-2015, 19:22
The first '40' posts have been fully restored, the rest will be done at a later date. ;)

nasir ahmad
02-03-2016, 00:09
beta=internal
ISDone
your isdone project have setup.ini or no?
please answer me.

ChronoCross
02-03-2016, 06:26
Dante1995 was banned. Ask to rinaldo.

rinaldo
02-03-2016, 07:48
Dante1995 was banned. Ask to rinaldo.
I should respond to a troll?

vinay sawan
08-04-2016, 03:17
http://fileforums.com/attachment.php?attachmentid=11748&stc=1&d=1432687577Version Mod Dante1995
Script © Peterf1999
Version1 = Internal Compression

Required Custom Language (rus)
is not a conversion


thanks Sentinelk my brother for help me flags and labelbutton

please add external Compression

Dibyendu Maity
10-12-2016, 02:48
Give Me A Download Link For Core Pack Installer INNO Script.......Please

unarc 125
10-12-2016, 05:05
Give Me A Download Link For Core Pack Installer INNO Script.......Please
It's not "corepacks" installer. It's windows phone installer created by Razor12911 you will find it here:
Windows Phone Installer (http://fileforums.com/showthread.php?t=96242)

Sonansyach_10
23-12-2017, 07:44
ISDone v0.6 lite (ini)
source fileforums readapt
only Freearc,Prec,Srep,Msc (no rar,7z ecc.)

how to add custom message "remaining time and percent" like that please tell me ..

Kral
28-04-2019, 10:58
Simple Installer ISDone

Please help us write the necessary system requirements for games

MarioFiglio
30-06-2023, 12:42
http://fileforums.com/attachment.php?attachmentid=11748&stc=1&d=1432687577

please add external Compression

I giochi offrono una varietà di forme di intrattenimento e permettono di godere di storie, grafica e gameplay unici. Possono essere un ottimo modo per rilassarsi e dimenticare i problemi quotidiani. Alcuni giochi di https://affiliazionescommesse.com/ (https://affiliazionescommesse.com/) richiedono pensiero strategico, reazione, logica e cooperazione con altri giocatori. Questo può aiutare a sviluppare e migliorare tali capacità. Molti giochi possono essere giocati insieme agli amici o alla famiglia, il che può creare bei ricordi e rafforzare i rapporti.
Tuttavia, è importante ricordare che i giochi devono essere moderati ed equilibrati nell'uso del tempo. È importante mantenere un sano equilibrio tra gioco, lavoro, istruzione e altri aspetti della vita.