FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   [CIUv3] Custom Installer Ultimate v3 (https://fileforums.com/showthread.php?t=102510)

KaktoR 31-12-2018 02:46

[CIUv3] Custom Installer Ultimate v3
 
1 Attachment(s)

We present you the third big step in Custom Installer (Ultimate) history.

It all begun with yener90, who was the initial creator of old CI (Custom Installer) and later, after some developement, he released an improved version of CI, namely CIU.

Since then, CIU became one of the most popular tools to create custom installations with a ton of graphical and shape liberties to help you to create unique graphical installer for your game/program backups. For whatever reason you make them.

Someday yener90 left the developement, but it was not the end of the journey. There was a person who was interrested in proceed further with this project. His name was BAMsE.

He made some great additions to CIU and most of them are still a part of today's version. However, even BAMsE dropped the project for personal reasons after 2 years of developement.

After this, long time there was no progress. One day, I came up and made small additions and fixes (I'm not a programmer and changes/fixes were time consuming) with help of some of the community's greatest personalities:
peterf1999 (who implemented his own hardware detection library)
Razor12911 (for implementing UltraArc and gave us so much tools for compression)
altef_4 (for helped me out here and there)
Simorq (who has done different compression things and other things for CIU)
Cesar82 (he helped me out too lol).

A few months ago, Cesar82 came up to me and did a lot of stuff. From this point he took over the developement of CIU til today, which is great because since then the developement literally had a jump in light years.

But before this, Gupta decided to proceeed with BAMsE's latest script, v2.0.4 Beta 5, and released his own v2.0.5g.

Ok, enough of revel in memories!

Thanks goes out to all contributors. Just to name a few:
pakrat2k2, Simorq, omdj, houcine80, GTX590, mausschieber, Chayan Manna, sajmon83

Old source codes can be found here

HOW TO USE:
1) Download the attachment and also the latest DiskSpan GUI from DiskSpan GUI thread and extract both files using WinRar or 7Zip.
2) Move the "COMPRESSOR" folder from the DiskSpan_GUI attachment to the CIU source code folder.

Code:

Credits
==== CUSTOM INSTALLER ULTIMATE V3 ====
Initial Creator: Yener90
Former Modder: BAMsE
Current Modder: Cesar82

Inno Setup Unicode by Jordan Russell and Martijn Laan

=========== Libraries Used ===========
Bass Audio Library (BASS.dll) by un4seen developments
Botva2 Library (Botva2.dll) by South.Tver
CallbackCtrl Plugin (CallbackCtrl.dll) by RESTOOLS
Splash Plugin (IsGsg.dll) by South.Tver
Media Player Plugin (ISMediaLib.dll) by altef_4
Codejock Skin Library (ISSkin.dll) by Codejock Software
Slideshow Plugin (IsSlideShow.dll) by Dimon-na-domu
System Information Plugin (ISSysInfo.dll) by peterf1999
Packer Library (Pckr.dll) by altef_4
VCL Style Plugin (VclStylesInno.dll) by Rodrigo Ruz
Library for archive unpacking, PB and other stuff (ISDone.dll) by ProFrager
Library for FreeArc unpacking (UnArc.dll) by Bulat Ziganshin

============ Other Things ============
FreeArc by Bulat Ziganshin
DiskSpan by Razor12911
Quick Ani2Icon by Carifred

Quote:

F A Q

Q - What's the difference between UltraArc and DiskSpan?
A - DiskSpan is a CLS module created by Razor12911 initially to replace UltraArc. DiskSpan doesn't have to merge splitted archives back to a single original archive like UltraArc. It is the same principle as a splitted WinRAR / 7zip archive. In UltraArc, splitted archives have to be merged back to original archive before extraction starts, which is - depending on the size - time consuming. In some cases it could double the installation time and even double (or more) the installation size temporaly.

Q - How to use non-DiskSpan/UltraArc freearc archives?
A - Just create one and add it to records.ini.

Q - How to use my own compressors with CIUv3?
A - Make a folder with all your tools need to decompress the archive (arc.ini, cls.ini, cls files, etc.......), mark all files and create a simple freearc archive with any internal freearc compression you want. Name this archive "Setup.dll" and place it next to Setup.exe. Inside this archive you can also include records.ini if you like.

Q - I just see blank pages in help CHM file. What can I do?
A - Right click on the file -> Properties -> check the "Allow" checkbox on the bottom, then click Ok. Now you can see the file contents.

--- May be continued ---

doofoo24 31-12-2018 02:58

Wow
 
very cool :cool:

Razor12911 31-12-2018 04:04

GUI designer coming? :D

yasitha 31-12-2018 04:46

Quote:

Originally Posted by Razor12911 (Post 478323)
GUI designer coming? :D

Long time no see huh :D

KaktoR 31-12-2018 06:54

Quote:

Originally Posted by Razor12911 (Post 478323)
GUI designer coming? :D

Not yet. Would like to start on it in the next few weeks. Still have to figure out some things ;)

Archives uploaded. Have fun.

Happy new year everyone!

yasitha 31-12-2018 08:31

Quote:

Originally Posted by KaktoR (Post 478332)
Not yet. Would like to start on it in the next few weeks. Still have to figure out some things ;)

Archives uploaded. Have fun.

Happy new year everyone!

Super!!! Thanks.. :)

pakrat2k2 31-12-2018 15:28

Very cool, huge thanks for all the hard work in the background for all those concerned.

masen485 01-01-2019 05:04

[CIUv3] Custom Installer Ultimate v3 do you know how to share the training video?

Golden-Mask 01-01-2019 05:50

Just upload it @masen485 to the Tutorial Index.

zirkhaki 02-01-2019 11:14

I couldn't install a game compressed with srep+lolz. it showed an error popup and closed the installer.

Replaced cls-lolz_x64 with the one in CIUv2 v2.0.3.9 U15.2 folder and the installer worked.
should we use the new cls-lolz_x64.exe to compress the games to be able to use this new exe to decopress?

another problem:
when installer prompt to insert disk 2, I clicked on OK button to address the next folder but installer closed instantly. I tried again but this time I could choose the second folder. maybe a temporary problem.

KaktoR 02-01-2019 11:19

Yes seems so
https://fileforums.com/showpost.php?...8&postcount=10

Don't use VCL skin with diskspan (sometimes installer crash, sometimes it works. It's a diskspan cls problem).

Simorq 02-01-2019 13:20

Hi KaktoR
It's better to update these two.

Code:

7-Zip 18.06
Changelog
    The speed for LZMA/LZMA2 compressing was increased by 3-10%,
    And there are minor changes in compression ratio.
    Some bugs were fixed.
    The bug in 7-Zip 18.02-18.05 was fixed: there was memory leak in xz decoder.
    7-Zip 18.02-18.05 used only one CPU thread for bz2 archive creation.

Code:

Zstandard v1.3.8
Detailed list of changes

    perf: better decompression speed on large files (+7%) and cold dictionaries (+15%)
    perf: slightly better compression ratio at high compression modes
    api : finalized advanced API, last stage before "stable" status
    api : new --rsyncable mode, by @terrelln
    api : support decompression of empty frames into NULL (used to be an error) (#1385)
    build: new set of build macros to generate a minimal size decoder, by @felixhandte
    build: fix compilation on MIPS32, reported by @clbr (#1441)
    build: fix compilation with multiple -arch flags, by @ryandesign
    build: highly upgraded meson build, by @lzutao
    build: improved buck support, by @obelisk
    build: fix cmake script : can create debug build, by @pitrou
    build: Makefile : grep works on both colored consoles and systems without color support
    build: fixed zstd-pgo target, by @bmwiedemann
    cli : support ZSTD_CLEVEL environment variable, by @yijinfb (#1423)
    cli : --no-progress flag, preserving final summary (#1371), by @terrelln
    cli : ensure destination file is not source file (#1422)
    cli : clearer error messages, notably when input file not present
    doc : clarified zstd_compression_format.md, by @ulikunitz
    misc: fixed zstdgrep, returns 1 on failure, by @lzutao
    misc: NEWS renamed as CHANGELOG, in accordance with fb.oss policy


KaktoR 02-01-2019 13:27

They are already updated

Edit: Ok zstd is on 1.3.7 in CIU. Updated version will come with next update.

zirkhaki 05-01-2019 10:55

Quote:

Originally Posted by KaktoR (Post 478382)

Don't use VCL skin with diskspan (sometimes installer crash, sometimes it works. It's a diskspan cls problem).

how to do that? what exactly I should do? I'm using Diskspan like before CIUv3. I didn't change anything but now this problem occurs.

KaktoR 05-01-2019 11:06

Delete Setup.vsf file

mahmoudmakhamra 06-01-2019 03:19

Can I disable [SmallInstaller]؟

mausschieber 06-01-2019 03:34

Quote:

Originally Posted by mahmoudmakhamra (Post 478462)
Can I disable [SmallInstaller]؟

i think under

[InstallOptions]
---------------------------------------------------------------
AllowWithoutSmallInstaller=1

mahmoudmakhamra 06-01-2019 04:17

Quote:

Originally Posted by mausschieber (Post 478464)
i think under

[InstallOptions]
---------------------------------------------------------------
AllowWithoutSmallInstaller=1

do not work

KaktoR 06-01-2019 04:33

Just delete Background folder

mahmoudmakhamra 06-01-2019 04:58

Quote:

Originally Posted by kaktor (Post 478467)
just delete background folder

tnx you

Cesar82 06-01-2019 07:08

Quote:

Originally Posted by mausschieber (Post 478464)
i think under

[InstallOptions]
---------------------------------------------------------------
AllowWithoutSmallInstaller=1

This key is to allow the end user to disable the SmallInstaller through an external setup.ini (But smallInstaller files must be added)
The same goes for the key AllowWithoutAutorun= but to allow the end user to turn off the autorun page:
Code:

[InstallOptions]
AllowWithoutAutorun=1

Summing up: It allows the end user to choose whether to use smallInstaller and autorun pages.

In the external setup.ini the end user should use to diable smallInstaller or :
Code:

[InstallOptions]
WithoutAutorun=1
WithoutSmallInstaller=1

In the external setup.ini the end user must use to disable the smallInstaller or Autorun pages only if the conversion creator allows through the keys in setup.ini before compile setup.exe:
Code:

[InstallOptions]
AllowWithoutAutorun=1
AllowWithoutSmallInstaller=1

As kakoR has replied, for the creator of the conversion does not use SmallInstaller, just delete the backgroud folder or just rename it.

Simorq 08-01-2019 03:19

Fixed a font problem in the Licenses Accepted

http://uupload.ir/files/myx8_bug.png

http://uupload.ir/files/mtq2_fix.png

Code:

..................
 LicenseCheckLabel.Lbl := TLabel.Create(WizardForm);
  LicenseCheckLabel.Shd := TLabel.Create(WizardForm);
  with LicenseCheckLabel.Lbl do begin
    Parent := WizardForm;
    Autosize := False;
    Caption := Wizardform.LicenseAcceptedRadio.Caption;
.............

Edit
....................
 LicenseCheckLabel.Lbl := TLabel.Create(WizardForm);
  LicenseCheckLabel.Shd := TLabel.Create(WizardForm);
  with LicenseCheckLabel.Lbl do begin
    Parent := WizardForm;
    Autosize := True;
    Caption := Wizardform.LicenseAcceptedRadio.Caption;
.....................


Simorq 08-01-2019 03:25

Fixed a font problem in the ComponentsDiskSpaceLabel
http://uupload.ir/files/x2ij_bug.png
http://uupload.ir/files/6mtg_fix.png

Code:

..................... ComponentsPage := CreateCustomPage(SystemPage.ID, '', '');

  ComponentsDiskSpaceLabel.Lbl := TLabel.Create(WizardForm);
  ComponentsDiskSpaceLabel.Shd := TLabel.Create(WizardForm);
  with ComponentsDiskSpaceLabel.Lbl do begin
    Parent := WizardForm;
    Transparent := True;
    AutoSize := False;
.....................

Edit
.....................
 ComponentsPage := CreateCustomPage(SystemPage.ID, '', '');

  ComponentsDiskSpaceLabel.Lbl := TLabel.Create(WizardForm);
  ComponentsDiskSpaceLabel.Shd := TLabel.Create(WizardForm);
  with ComponentsDiskSpaceLabel.Lbl do begin
    Parent := WizardForm;
    Transparent := True;
    AutoSize := True;
....................


Gupta 08-01-2019 07:30

Awesome

pakrat2k2 12-01-2019 20:29

Hotfix corrected issue just fine. :D

pakrat2k2 18-01-2019 16:36

Could a small change be made when it asks for next disk with file bla bla....
Actually have the disk number included ? If testing it only asks for filename not disk# / filename.

Cesar82 18-01-2019 19:54

Quote:

Originally Posted by pakrat2k2 (Post 478920)
Could a small change be made when it asks for next disk with file bla bla....
Actually have the disk number included ? If testing it only asks for filename not disk# / filename.

I did not understand his question for sure.
When prompted the first volume of the disk displays the message stating which disk and file name to look for.
For diskspan files only before starting the extract prompts for the disk telling which disk number (Done within the CIU). In the diskspan extension files ".002",. "003", etc. the search is done internally inside the DiskSpan library and it is not possible to pass the information of the disk number that needs to be inserted. This is why the messages are different for files with ".002", ".003", etc. extensions.

Titeuf 19-01-2019 02:22

Hello everyone,
Tell me how and how to use the following tools in the "_Tools (2019-01-01)" directory: Setup Patch Maker
Thanks in advance

houcine80 19-01-2019 11:11

Hi
@Cesar82
this line (LineHeight = 1) on Equalizer does not work

mausschieber 19-01-2019 16:04

Quote:

Originally Posted by houcine80 (Post 478949)
Hi
@Cesar82
this line (LineHeight = 1) on Equalizer does not work

in my chase it work

NumberOfStripes=10
NumberOfBlocks=6
BlockWidth=5
BlockHeight=2
LineHeight=1

houcine80 20-01-2019 02:37

Quote:

Originally Posted by mausschieber (Post 478951)
in my chase it work

NumberOfStripes=10
NumberOfBlocks=6
BlockWidth=5
BlockHeight=2
LineHeight=1

ok i'm going to test with other setup.ini

houcine80 20-01-2019 03:12

Quote:

Originally Posted by mausschieber (Post 478951)
in my chase it work

NumberOfStripes=10
NumberOfBlocks=6
BlockWidth=5
BlockHeight=2
LineHeight=1

yes it works with other ini :)

Cesar82 20-01-2019 14:06

Quote:

Originally Posted by houcine80 (Post 478949)
Hi
@Cesar82
this line (LineHeight = 1) on Equalizer does not work

It's working perfectly here.

Open Setup.ini with Notepad ++ and enable the Show All Characters option on the button shown in the image.
Note that they do not contain any non-numeric characters after the "=" in any of the lines (Except line "Position=" which is a string)
https://i.imgur.com/9kew1HM.png

Cesar82 21-01-2019 22:57

Quote:

Originally Posted by pakrat2k2 (Post 478976)
I've noticed that if 64BitOnly=1 that it makes no difference if you use
Exe=game.exe
ExePath=
Exe64=
Exe64Path=

shouldnt the exe/path match 64BitOnly if its selected as 1?

The keys Exe64= ExePath64= only serves when it has different executables for 32-bits or 64-bits.
Using 64BitOnly=1 you can use any one of the keys (keys with 64 number or without 64 number).
If there is no key with number 64 the CIU use the information from the keys without 64 number.

houcine80 22-01-2019 13:52

Hi
Music=0
on autorun it works for you ??

mausschieber 22-01-2019 15:08

Quote:

Originally Posted by houcine80 (Post 479014)
Hi
Music=0
on autorun it works for you ??

no the music play with Music=0

houcine80 24-01-2019 06:32

Hi
I noticed there is a problem between (checkbox license agreement) and button next times when you click on next it check (license agreement checkbox)

houcine80 24-01-2019 06:42

the bug it comes when I used (OnlyLabel =1) and you click on the empty of button and it unchecks or check.
but I do not know it's bug or it's like that

houcine80 24-01-2019 14:45

works perfectly now thx :)

K4miKaZe 03-02-2019 08:51

Hi !!!

I started to use CIU since yesterday for testings. I have a few questions. Maybe i didnt looked right into the code but isnt there a CRC checker included on CIU like on Asis? Also i have a strange problem with the registry entries, when i uninstall any game the registry files didnt get deleted with the uninstaller. On the registry script file it tells to not delete those two rows at the end but it doesnt work for me. So far i have not found more problems, had to include some more code for default dir and other stuff that i couldnt get to work. Also i had to replace Lolz too as my already created conversion were not working with the version included on latest CIU (i think its a newer version).

But overall it looks very nice, great job !!!

Edit: Finally i have succefuly added a crc check with quicksfv, so this problem is solved. But im still having trouble with the registry entries, they dont get deleted by the CIU uninstaller. Also the installation folder (game folder) isnt removed either, its empty but still there. I just enabled on inno script the inno uninstaller to make some checks, with the inno uninstaller those registry entries will be removed without problem. Also this happens also on ciu v2 (checked it some minutes ago). Just wondering if it was already mentioned here, have searched a bit but didnt found anything related to this. Anyway i will still look into the script tomorrow, lets see if this can be solved, never liked to have files or reg entries after uninstalling.

Regards !!!


All times are GMT -7. The time now is 16:12.

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