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


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

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