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)

alucard1973 05-05-2021 01:13

Quote:

Originally Posted by Cesar82 (Post 491787)
CIU tasks/components/languages work differently than native Inno Setup tasks/components/languages.
The Tasks: / Components: / Languages: parametter (Native Inno Setup commands) is not supported by CIU.

There are two ways to use CIU.
CIU should always be used in the Check: parameter.

Code:

Root: HKCU; Subkey: "Software\Valve\Steam\Apps\6800"; ValueType: dword; ValueName: "Installed"; ValueData: "1"; Check: TasksCheck('2,3');

or

Root: HKCU; Subkey: "Software\Valve\Steam\Apps\6800"; ValueType: dword; ValueName: "Installed"; ValueData: "1"; Check: IsValid('','',2,3','');

P.S: For more information on the functions, or other functions compatible with the Registry, read the changelog that is in the "Help" folder of the CIU source code (In the part referring to CIU 3.0.0.0.u6)

Hello,
Thank you for your invaluable help.
I was able to do what I wanted except one thing, put Check: Not isWin64 because there is already Ckeck: Task
I would also like to know if it is normal that my installation all ends at 33.3% instead of going up to 100%?

sajmon83 09-05-2021 15:53

Quote:

Originally Posted by Cesar82 (Post 491123)
Updated DiskSpan_GUI to v1.0.0.4 [2021.03.26]. :rolleyes:
For information of the changes in the current DiskSpan_GUI see the changelog file in the "COMPRESSOR" folder.

P.S: To use the new version of DiskSpan_GUI with CIU, first delete the old "COMPRESSOR" folder from the CIU source code folder and then add the "COMPRESSOR" folder contained in the attachment file (do not overwrite).

EDIT:
I'm adding new features to DiskSpan_GUI.
Download the "DiskSpan_GUI 2.0 (demo)" version and run in CONFIG mode and see what's new.
If anyone has any useful suggestions for improving DiskSpan_GUI project, please collaborate.

Cesar82 why not create a separate thread for the DiscSpan GUI ^^ Really the tool is great and easy to customize to your needs ^^

Cesar82 17-05-2021 23:25

CIU 3.0.0.0.1.b8.u3 (beta 8)
 
7 Attachment(s)
Updated CIU 3.0.0.1.b8.u3 and DiskSpan_GUI 1.0.0.5.

INFO:
1) Download the two attachment files and extract using WinRar or 7Zip.
2) Move the "COMPRESSOR" folder from the DiskSpan_GUI attachment to the CIU source code folder.

P.S: I shared the attachments separately so that the same attachment from DiskSpan_GUI can be used for other installers such as ASIS, LIS or others installers.
For change information take a quick tour of the changelog files.

Edit:
Hotfix 1 - Fixed music loop and muti music files.
Hotfix 2 changes here (does not need the previous hotfix).
Hotfix 3 - Fixed to hide frame when window title bar (Windows native title bar) is displayed.
Hotfix 4 - Fixed displaying progress bar image in uninstall mode.

NOTES:
- No previous HF is needed (HF is cumulative).
- Delete the previous source code scripts and extract the HF# and replace the files in the CIU source code.
P.S: Attachment hotfix 1,2,3 has been kept because if there are any new bugs in last hotfix, use previous hotfix.

Please report if you find any errors.
Thanks!

pratikpatel8982 19-05-2021 09:20

Hi, how can I add archives that are freearc archives but are not made using UltraArc or DiskSpan and how can I import my own Compressors in CIU?? Thanks.

GaMEr_2077 19-05-2021 09:54

I also wanted that

:( Sad8669 19-05-2021 10:18

pratikpatel8982 - GaMEr_2077


Q) how can I import my own Compressors in CIU??

A)This is quite simple, you just need to edit your arc.ini according to your needs.

When adding a new compressor you need :
Code:

The compressor itself.
packcmd and unpackcmd for compression and decompression.
The compressor name.
Correct parameters.

Example :
Code:

[External compressor:xtool]
header    = 0
packcmd  = xtool.exe precomp -mzstd -c32mb -t100p --dbase - - <stdin> <stdout>
unpackcmd = xtool.exe decode -t100p - - <stdin> <stdout>

Red - The compressor name.
Orange - Compressing and Decompressing commands.
Purple - Used for the archive Input and Output.
Blue - Parameters telling compressor to limit its usage.
Pink - Where the executable is located. You can add directories by using " and " such as "PRE\XTool\64\xtool.exe"

Please forgive any mistake regarding English or my Knowledge about Compression.

KaktoR 19-05-2021 11:03

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

Basic records.ini should look like this
Code:

[Record1]
Type=FreeArc_Original
Source={src}\data.arc
Output={app}\
Disk=1

How to use my own compressors with CIUv3?
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 m1 compression. Name this archive "Setup.dll" and place it next to Setup.exe. Inside this archive you can also include records.ini if you like.

GaMEr_2077 20-05-2021 05:12

Hey can u explain whats m1 compression?

pratikpatel8982 20-05-2021 21:08

1 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 492135)
I posted a hotfix for CIU in the previous #post.


Native FreeArc method.

It give errorcode 11 while installing, how can i fix this??
I use mini compressor and I imported all files inside _isdone folder, as said by mc creator.

Proxson 21-05-2021 16:26

@pratikpatel,

you haven't noticed anything else than the error message ? Look better. ;)

pratikpatel8982 21-05-2021 19:07

Quote:

Originally Posted by Proxson (Post 492280)
@pratikpatel,

you haven't noticed anything else than the error message ? Look better. ;)

I see, my username changed to PRATIK~1. I don't know why it happened? Can you help me???

Cesar82 22-05-2021 16:16

From what I could see in some recent posts the credits for DiskSpan_GUI and CLS-DiskSpan.dll is a little confusing for some users.

So I decided to explain the difference between DiskSpan_GUI and CLS-DiskSpan.dll.

CLS-DiskSpan.dll is a CLS created by Razor12911 to work together with FreeARC (Arc.exe/UnArc.dll) for splitting the compressed file into smaller parts, causing a large compression to be divided into parts of the specified size making so it is possible to extract the files without having to merge the parts before extraction.

DiskSpan_GUI is a tool created by me to work with external compressors, facilitating the selection of methods and configuration used in the compression. DiskSpan_GUI includes several compressors/decompressors including support for DiskSpan (using CLS-DiskSpan.dll). It also allows changes to the configuration file allowing new compressors to be added or compressors already configured to be removed.

So DiskSpan refers to the spanning of disk, and for that purpose CLS-DiskSpan.dll is used, but to make it easier to use, a configurable graphical interface was created DiskSpan_GUI for this purpose.
For those who are unsure about what to place regarding credits using C.I.U./DiskSpan_GUI I decided to post an example of credits for conversions using current CIU below.
The credits could be informed in this way:
Code:

-Credits:
InstallerScript: 3.0.0.1.b8.u3 [2021.05.18]
C.I.U. by: Yener90
Contributors: BAMsE; Razor12911; Simorq; KaktoR; Cesar82
CLS-DiskSpan.dll R3 by: Razor12911, modified version by Cesar82
DiskSpan GUI v1.0.0.5 by: Cesar82

Thank you all for your collaborations. :)

andreiutzu21 28-05-2021 09:35

https://ibb.co/ZXnhCnq
https://ibb.co/7zLCZGv

andreiutzu21 28-05-2021 09:36

https://ibb.co/ZXnhCnq
https://ibb.co/7zLCZGv

andreiutzu21 28-05-2021 09:39

hi houcine 80 it show me this error when i try to open setup

CREATOR MODE ENABLED

This Setup.ini file was not found near the executable of this installer

Put "Setup.ini" next to the executable or disable creator mode and recompile the script

pratikpatel8982 28-05-2021 20:40

Quote:

Originally Posted by andreiutzu21 (Post 492481)
hi houcine 80 it show me this error when i try to open setup

CREATOR MODE ENABLED

This Setup.ini file was not found near the executable of this installer

Put "Setup.ini" next to the executable or disable creator mode and recompile the script

It's not an error, and to disable creator mode, add ; before #define CREATOR, and it'll work Like this
Code:

Change this:
#define CREATOR
To this:
;#define CREATOR


mausschieber 07-06-2021 07:38

2 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 492637)
Hi guys!
I shared a new hotfix for CIU in #post.
P.S: Some changes will be in the beta 9 changelog, some will not.
Code:

HOTFIX CHANGES:
- Fixed bug of wrong caption on Next/Back buttons (Thanks Prettyboy099 for informing) mainly when running uninstall.exe (it displayed PAUSE where it should show UNINSTALL).
- Changed FlagSpace= key in [LangBox] section to support two values (FlagSpace=<X>,<Y>) separated by comma in "box" mode.
- Disabled inclusion of DXFilters filters in CREATOR mode to speed up interim compilation.
- Added ISPP option (temporary) to disable IsMediaLib functions inclusion before compile Setup.exe.
  >> If you don't use videos in your conversion and want to avoid memory leak errors that occur in some random systems, enable line 8 of the script by removing the ";" to disable IsMediLib.dll.
  >> The song ".mp3" will still be played, but by the BASS.dll library.
- Removed the use of the "Default.ini" file that compared in the compilation and included the keys only if the value is different from the default in IniMemory.
>> The purpose of this defult.ini was to speed up the reading of the ini keys a little, but the access time difference was small and whenever I changed a key it was necessary to include it in default.ini, this became laborious.


i saw that the HF2 haver bugs for smalbutton left Picture is HF1 Script and right Picture is HF2 Script

mausschieber 07-06-2021 14:31

Quote:

Originally Posted by Cesar82 (Post 492694)
Here too.
I'll check it out soon (in about 8h) and after correcting it, I'll replace the HF2 in the same post.
If you find other bugs, please report them.
Thanks for the information.

Edit:
Hotfix 2 updated in previous post.
@mausschieber, if possible let me know if everything worked as it should.

now it work perfect

Snake288 12-06-2021 16:36

Madness Engine

Games supported
Automobilista 2
Project Cars 1?? (someone test this plugin on this game and if it's not working, please upload a few samples)
Project Cars 2 (wait for R2)
Project Cars 3 (since bdt is buggy on this game, you can use this as an alternative) [also wait for R2]

Usage
Place madness.dll near xtool.exe along with required libraries and use -mmadness

Notes
Madness Engine
https://fileforums.com/showpost.php?...&postcount=131

Hello Cesar82
I want to use this plugin for the convenience of compressing the game Automobilista 2
Madness Engine I want to use this plugin DiskSpan_GUI 1.0.0.5 can I have your support?

Snake288 13-06-2021 00:21

Quote:

Originally Posted by Cesar82 (Post 492864)
DiskSpan_GUI will not have support for this "Madness Engine" plugin anytime soon.
DiskSpan_GUI 1.0.0.5 uses XTool 0.3.9 and the plugin "Madness Engine" is not compatible with this version of XTool (as far as I know) and XTool from version 0.3.12 had changes in the command line and it can't be just replaced in DiskSpan_GUI (Needs several code changes).
I also haven't updated DiskSpan_GUI to XTool_0.3.11_hotfix (latest version with same old command line) because many of the plugins that work on version 0.3.9 don't work on version 0.3.11 and I believe that the plugin updates that have been released lately don't work with 0.3.11.

Wait for DiskSpan_GUI 2.0.0.0 which will be released along with the final version 3.0.0.1 of the CIU (Or maybe even earlier, along with the upcoming 3.0.0.1.beta.9 of the CIU).

Edit:
You can create a .bat file with the current "XTool" and the "Madness Engine" plugin and the necessary compressors and compress the game.
To create the Setup.dll file create a folder and place all the decompressors file and the Arc.ini/CLS.ini file with the paths corresponding to the folder structure used for the decompressors and then drag and drop the folder over the "_Compress Optional file" DLL (Drop Folder or Setup.dll).bat" from the COMPRESSORS folder to create the Setup.dll file.

Hello Cesar82
I want to use this plugin for the convenience of compressing the game Automobilista 2
Madness Engine I want to use this pluginI couldn't run the Madness engine add-in (.bat) I couldn't run the madness engine plugin
Sorry, but I couldn't (.can I get help preparing the bat file if possible ?

Snake288 13-06-2021 05:12

Hi Cesar82
 
Hello Cesar82
Automobilista 2 DiskSpan_GUI 1.0.0.5 Madness Engine I added a plugin DiskSpan_GUI 1.0.0.5 DS_Methods.ini can you control the coding error I can't find where I made a mistake

Automobilista 2 Files I'm Working On
https://pixeldrain.com/u/TGoDkgDJ

mausschieber 13-06-2021 12:31

Quote:

Originally Posted by Snake288 (Post 492869)
Hello Cesar82
Automobilista 2 DiskSpan_GUI 1.0.0.5 Madness Engine I added a plugin DiskSpan_GUI 1.0.0.5 DS_Methods.ini can you control the coding error I can't find where I made a mistake

Automobilista 2 Files I'm Working On
https://pixeldrain.com/u/TGoDkgDJ

i think you can not mix the setup from CIU 3.0.0.0 with the DiskSpan_GUI 1.0.0.5 the tools are different thats why it do not work
i have updated the Conversion to new Script

Grumpy 18-06-2021 22:13

Quote:

Originally Posted by Cesar82 (Post 492932)
I would like anyone who tests and finds any error, to retaliate this error.

Nice work Cesar.

Are you sure the word 'retaliate' is the correct word you wanted to use?
Maybe 'autocorrect' is interfering?

'Retaliate' meaning:

Quote:

to hurt someone or do something harmful to someone because they have done or said something harmful to you

acal3000 19-06-2021 00:02

Quote:

Originally Posted by Grumpy (Post 492935)
Nice work Cesar.

Are you sure the word 'retaliate' is the correct word you wanted to use?
Maybe 'autocorrect' is interfering?

'Retaliate' meaning:


Maybe he wanted to say "Reiterate this
error.." ???..

Snake288 19-06-2021 02:26

Hello
Cesar82
First Off, Thanks
DiskSpan_GUI 2.0.0.0 [2021.06.18] (x64) (Preview references
I Choose The Game Folder I Choose The Compression Method
Start Compression I'm Talking About The Language Option
How to use instruction
CIU 3.0.0.1.b8.u3 (2021.05.18) Do you have support ?
When Exactly The Full Version Will Be Released
How Testing Works After You Finish Compressing Game Files

mausschieber 19-06-2021 02:41

Quote:

Originally Posted by Snake288 (Post 492940)
Hello
Cesar82
First Off, Thanks
DiskSpan_GUI 2.0.0.0 [2021.06.18] (x64) (Preview references
I Choose The Game Folder I Choose The Compression Method
Start Compression I'm Talking About The Language Option
How to use instruction
CIU 3.0.0.1.b8.u3 (2021.05.18) Do you have support ?
When Exactly The Full Version Will Be Released
How Testing Works After You Finish Compressing Game Files

DiskSpan_GUI 2.0.0.0 is not Compatible with CIU 3.0.0.1.b8.u3 (2021.05.18)
you have to wait for CIU 3.0.0.1.b9

Grumpy 19-06-2021 03:44

Quote:

Originally Posted by Cesar82 (Post 492939)
The word in my language was "relate" (Translated into eng: report).

Ahh yes 'report' makes more sense. :)

I actually used Google to see what 'retaliate' means in Portuguese thinking it may have just been a word that didnt translate well to English. ;)

sajmon83 23-06-2021 06:48

Cesar82 I can't figure out how [MusicIcon] it works properly together with MusicIcon.png. Could you give a simple example of what MusicIcon.png should look like. My guess is that it should have two states, but I've already tried vertically (39x78) and horizontally (78x39). And it looks bad all the time
Code:

[MusicIcon]
Width=39
Height=39


Prettyboy099 23-06-2021 09:20

1 Attachment(s)
Quote:

Originally Posted by sajmon83 (Post 492972)
Cesar82 I can't figure out how [MusicIcon] it works properly together with MusicIcon.png. Could you give a simple example of what MusicIcon.png should look like. My guess is that it should have two states, but I've already tried vertically (39x78) and horizontally (78x39). And it looks bad all the time
Code:

[MusicIcon]
Width=39
Height=39


MusicIcon has 8 parts....
So dimension of MusicIcon.png will be-
Code:

Weight=X (X=Weight of MusicIcon in Setup.ini, 39 in your case)
Height=Y*8 (Y=Height of MusicIcon in Setup.ini, 312 in your case)

8 parts of MusicIcon.png from top to bottom-
Code:

1-Normal (In music disabled state)
2-Selected (In music disabled state)
3-Clicked (In music disabled state)
4-Disabled (In music disabled state)
5-Normal (In music unabled state)
6-Selected (In music unabled state)
7-Clicked (In music unabled state)
8-Disabled (In music unabled state)

I think it is better to see some examples that I created in past...

Cesar82 23-06-2021 09:41

2 Attachment(s)
Quote:

Originally Posted by sajmon83 (Post 492972)
Cesar82 I can't figure out how [MusicIcon] it works properly together with MusicIcon.png. Could you give a simple example of what MusicIcon.png should look like. My guess is that it should have two states, but I've already tried vertically (39x78) and horizontally (78x39). And it looks bad all the time
Code:

[MusicIcon]
Width=39
Height=39


Icon buttons must have measurements: HEIGHT = WIDTH * 8

Code:

Image file:
MusicIcon.png = 26x208 pixels (8 * 26 = 208)

Setup.ini example
[MusicIcon]
Width=26
Height=26

Image Layout (Top to Bottom):
1) BTN NORMAL  - IF MUSIC CHECKED
2) BTN SELECTED - IF MUSIC CHECKED
3) BTN CLICKED  - IF MUSIC CHECKED
4) BTN DISABLED - IF MUSIC CHECKED
5) BTN NORMAL  - IF MUSIC UNCHECKED
6) BTN SELECTED - IF MUSIC UNCHECKED
7) BTN CLICKED  - IF MUSIC UNCHECKED
8) BTN DISABLED - IF MUSIC UNCHECKED

I recommend that you always create the button in the exact size it will appear in the project.
If your button image is larger, create a new project with the button's final dimensions and add the larger button as a smart object and save your final png in the dimensions specified in Setup.ini.

EDIT:
- Added CIU hotfix in previous post.

Kitsune1982 24-07-2021 15:11

hey cesar, are you and kaktor still working on CIU 3.0.0.1 b9?
 
hey cesar, <and the fileforums family> i know its been ages since you've heard from me. cesar, are you all still working on the CIU that will be compatible with DiskpanGUI v2+? i understand you and kaktor are very busy, just wondering if its still being planned on being released when you are able.. no rush, i understand you all have real lives too. just was curious. let me know if you all are still working on it! thanks, have a great one!

-Kitsune1982

"Sir! there are sea mammals from the lyran military! They are moving in fast!
and they are trained in the art of semi-otter-matic firearms!

Draco General: "Oh no! We're no match for their interstellar might! retreat!

Me, watching: Good, run for it! I'll just pick up whatever treasures remain thats just ly-ran around!

=^_^=

KaktoR 24-07-2021 15:59

Yes, Cesar is still working on it, but he is on "holidays" at the moment :D

There is no ETA for the new CIU version yet.

Kitsune1982 24-07-2021 18:22

thank you very much cesar, that will be very much appreciated!!
you and kaktor and everyone else who contributes to the CIU project please keep up the great work!!

much love to all of my fileforums family!!

-Kitsune

FIFA_LOVER 24-07-2021 22:39

Am new here
Any tutorial on how to customize and use this installer

sajmon83 25-07-2021 01:02

Quote:

Originally Posted by FIFA_LOVER (Post 493412)
Am new here
Any tutorial on how to customize and use this installer

A bit old, but here's all the basics to get you started with Custom Installer Ultimate v3
Custom Installer Ultimate v2 Wiki

I am also looking forward to the new CIU 3 version with DiskSpan GUI 2.0.0 support ^_^
Cesar82 enjoyable holidays :D best regards Beer ;)

FIFA_LOVER 25-07-2021 08:12

Quote:

Originally Posted by sajmon83 (Post 493413)
A bit old, but here's all the basics to get you started with Custom Installer Ultimate v3
Custom Installer Ultimate v2 Wiki

I am also looking forward to the new CIU 3 version with DiskSpan GUI 2.0.0 support ^_^
Cesar82 enjoyable holidays :D best regards Beer ;)

if anyone can help

What is FirstBGImage in

[Component1]
Name=DLC 02
Size=1700
Checked=1
ShowInstallLabel=0
FirstBGImage=7

Cesar82 25-07-2021 16:38

Quote:

Originally Posted by FIFA_LOVER (Post 493419)
if anyone can help

What is FirstBGImage in

[Component1]
Name=DLC 02
Size=1700
Checked=1
ShowInstallLabel=0
FirstBGImage=7

FirstBGImage= key serves to inform which first slide image belongs to each component.

Example, if you have three components (games), and you put 5 images of each game, then if you correctly set FistBGImage as 1,6,11 respectively for components 1,2,3 then when selecting only components 1 and 3 the images 6 to 10 will not be displayed on the slides as component 2 has not been checked.

FIFA_LOVER 25-07-2021 21:52

Quote:

Originally Posted by Cesar82 (Post 493423)
FirstBGImage= key serves to inform which first slide image belongs to each component.

Example, if you have three components (games), and you put 5 images of each game, then if you correctly set FistBGImage as 1,6,11 respectively for components 1,2,3 then when selecting only components 1 and 3 the images 6 to 10 will not be displayed on the slides as component 2 has not been checked.

Got that Cesar
Thanks

FIFA_LOVER 25-07-2021 23:02

hey cesar, one more question.........
How to change these round edged corners https://ibb.co/T8944n0

https://i.ibb.co/sw8KKD1/Annotation-...-26-112931.jpg

Prettyboy099 25-07-2021 23:17

Quote:

Originally Posted by FIFA_LOVER (Post 493427)
hey cesar, one more question.........
How to change these round edged corners https://ibb.co/T8944n0

https://i.ibb.co/sw8KKD1/Annotation-...-26-112931.jpg

That depends on ur image editing skills.....
U can create Autorun.png/Installer#.png yourself without any rounded corner in any photo editing software.....


All times are GMT -7. The time now is 19:30.

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