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)

Cesar82 16-01-2020 17:08

DiskSpan.bat (NEW)
 
1 Attachment(s)
New DiskSpan.bat file with some fixes.

When the component name has special characters like: (^ & () <> |
Use the "^" character before the special character as an example "Kane ^& Lynch Dead Men".

Enjoy!

Proxson 21-01-2020 16:44

2 Attachment(s)
Guys, do you have this on your mind ? Windows 10 and black fonts on a black background ?

Edit: Found the culprit. It's Setup.vsf and disabling it, makes the window clear. But it's ugly then. Maybe some other theme/skin
will do the busines.

Edit 2: Ok, I fixed it by replacing Setup.vsf with Concave.cjstyles (now Setup.cjstyles).

Gupta 04-02-2020 09:52

Can anyone explain to me the LangBox.
Seems like left and top doesn't matter and it automatically aligns itself based on the alignment, also what's with this BoxLayout. What decides the flags by line thing

Gupta 16-02-2020 09:50

What's the difference between normal button and a small button

Cesar82 16-02-2020 19:44

Quote:

Originally Posted by Gupta (Post 484572)
Can anyone explain to me the LangBox.
Seems like left and top doesn't matter and it automatically aligns itself based on the alignment, also what's with this BoxLayout. What decides the flags by line thing

I didn't understand your question!
What are the keys in the [LangBox] section?
the keys FlagByLine, FlagBoxAlignment, FlagBoxWidth works only with box mode (Position=BOX).
FlagBoxAlignment >> Align the flags to the side informed when each row has different numbers of flags.

Quote:

Originally Posted by Gupta (Post 484572)
What's the difference between normal button and a small button

SmallButton refers to the group of small buttons and Button refers to the group of larger buttons.
The images for SmallButton and Button are used only if no specific image is used for each button such as Next, Back, SmallBrowse, etc.
SmallButton is just a smaller or different design for Smallbuttons and is used in SmallBrowse, SmallCancel and SmallMusic (These last 2 are shown in the smallinstaller).
The normal button is used on the Next, Back, Cancel and Music buttons.
The setup.ini [SmallButton] section refers to the group of small buttons (SmallCancel, SmallMusic and SmallBrowse). for normal buttons the corresponding section is [StandardButton]

Cesar82 23-02-2020 22:51

CIU 3.0.0.0.b4 (Beta 4)
 
1 Attachment(s)
I am sharing CIU v3.0.0.1.b4 here so that more users can test and report the bugs found.
In this version there is a slight performance gain when the conversion is simpler.

There are still some things to add and some problems with media reproduction are still to be solved.
After that I will be able to share a final version 3.0.0.1 leaving behind version 3.0.0.0.u#.

Thanks to KaktoR for the opportunity to allow me to develop CIU.
Several features have been included during this past year, but whenever possible I try to maintain compatibility with the previous features that Yener90 created, trying to maintain the roots of CIU...
Thank you all, and be sure to report errors that are found.

Updated Inno Setup [Repack]
Lite: Original Inno Setup + RESTOOL Interface (Selectable)
Full: Original Inno Setup + RESTOOL Interface + Various Additional Software + .cjstyles skins package (Optional Download). (All Items Selectables)
Interested, download it HERE.

FreshMen 01-03-2020 02:22

How can i use it pls reply me i wanted it so bad :D

pincoball 27-03-2020 09:22

Installer interface
 
Hi, I'm a newbie, is there a way to change the interface skin of the installer in CIU script and set the default one used in plain Inno Setup?

Cesar82 27-03-2020 10:58

Quote:

Originally Posted by pincoball (Post 484935)
Hi, I'm a newbie, is there a way to change the interface skin of the installer in CIU script and set the default one used in plain Inno Setup?

CIU is very flexible in creating the interface.
You create your design images in some image editing software such as PHOTOSHOP (Shareware software) or GIMP (Freeware software) or other image editing software.
Once created, the images must be saved with the names and formats supported by CIU for each image you wish to include.
After saving the images you configure the interface dimensions and position and dimensions of the components such as buttons, TextBG (Text area), etc. by editing the Setup.ini file.
Inside the "Help" folder contains a "_Setup.ini" file with all the configuration options for the graphics supported by CIU.
The names of the images for each button or other CIU objects can also be found in the first line below each section of the "_Setup.ini" in the Help folder.

pincoball 27-03-2020 12:39

Quote:

Originally Posted by Cesar82 (Post 484936)
CIU is very flexible in creating the interface.
You create your design images in some image editing software such as PHOTOSHOP (Shareware software) or GIMP (Freeware software) or other image editing software.
Once created, the images must be saved with the names and formats supported by CIU for each image you wish to include.
After saving the images you configure the interface dimensions and position and dimensions of the components such as buttons, TextBG (Text area), etc. by editing the Setup.ini file.
Inside the "Help" folder contains a "_Setup.ini" file with all the configuration options for the graphics supported by CIU.
The names of the images for each button or other CIU objects can also be found in the first line below each section of the "_Setup.ini" in the Help folder.

Thank you for answering, but what I was asking is if there is some already made Setup.ini (and other assets) that allows you to recreate the standard installation wizard interface of Inno Setup, since I am not practical with Photoshop e GUI design

Cesar82 27-03-2020 15:12

@pincoball
Do you want an interface similar to the standard interface of standard inno setup installers?
If this is it, then I don't think so. Only if someone creates and shares the design for you.

CIU's goal is to create installer for games with custom interface (CIU = "CUSTOM INSTALLER" ULTIMATE).
For standard interface like Inno Setup you can use a standard Inno Setup installer.

pincoball 28-03-2020 01:49

Quote:

Originally Posted by Cesar82 (Post 484940)
@pincoball
Do you want an interface similar to the standard interface of standard inno setup installers?
If this is it, then I don't think so. Only if someone creates and shares the design for you.

CIU's goal is to create installer for games with custom interface (CIU = "CUSTOM INSTALLER" ULTIMATE).
For standard interface like Inno Setup you can use a standard Inno Setup installer.

Hoping I'm not going OT, I was wondering then if there is a way to use the .arc files created with UltraARC and integrate them in a IS installer since I couldn't find anything in the forum.
I would be grateful if someone could link me something else for what I am looking for

Cesar82 28-03-2020 02:42

Quote:

Originally Posted by pincoball (Post 484944)
Hoping I'm not going OT, I was wondering then if there is a way to use the .arc files created with UltraARC and integrate them in a IS installer since I couldn't find anything in the forum.
I would be grateful if someone could link me something else for what I am looking for

The ASIS Installer by KaktoR is very similar to the standard installer of Inno Setup and has the same compressor features used in CIU.
With it you can use ultraArc and DiskSpan in the same way used in CIU

Bondpotter 29-03-2020 15:15

Where are the download links of older CIU in the #1 post?

Cesar82 29-03-2020 16:07

Quote:

Originally Posted by Bondpotter (Post 484967)
Where are the download links of older CIU in the #1 post?

KaktoR must be making updates.
Check later.

Bondpotter 29-03-2020 16:19

Hi, I was editing Fabioddq's Jedi Fallen Order Installer without a smaller installer and background, also added the license page, everything works fine except the Desktop shortcut is not creating.

Fabioddq created the installer on CIU 3.0.0.0u6
I'm using CIU 3.0.0.0u7

Setup.ini
https://www65.zippyshare.com/v/DkZp3NQJ/file.html


Please Help!

Cesar82 29-03-2020 19:06

@Bondpotter
Shortcuts are only created if the target executable exists.
If you do not compress the game files (REAL installation) the shortcut is not created.

In this game it is necessary to have the file starwarsjedifallenorder.exe in the folder "{app}\SwGame\ Binaries\Win64"
When finishing the installation so that the shortcut is created.

Bondpotter 29-03-2020 21:59

@Cesar82 Well, It exists. I tried many times I don't know why it is not creating the shortcut, also It's creating the shortcut with the Original Installer (CIU 3.0.0.0 u6) by Fabioddq with the same compressed file.

I changed Exe64Path= to ExePath64=

It worked.

Another query :

Anyhow, is it possible to make a checkbox in the "Select Destination Location" Page for Create Desktop Icon?

KaktoR 30-03-2020 01:59

Code:

----------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------
CHANGELOG CIU 3.0.0.0.u8
----------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------
- Fixed language selector for correct display of the flags when clicking on the Right/Up arrow (Now it has the same effect as the other arrow).
- Fixed bug in language selector (BOX mode) when calculating the number of flags per line when the FlagByLine key is not informed.
- Fixed bug in the IsUWPGame and IsGOGGame functions when there is "Records.ini" next to "Setup.exe" file.
- Fixed the creation and removal of shortcuts for UWP games.

- Fixed the correct path "{tmp}" for temporary files (within "Setup.exe" file) when the destination folder is not informed during compression.
- Fixed to properly display all the slides of images when using components and do not set the keys FirstBGImage= of each component.
- Fixed the "LabelCurrFileName" label to display the correct path of the file being extracted when using the components.

- Fixed a bug that appeared in the previous update that did not access the links when clicking on the linked labels on the About page.
- Fixed to display the correct installation path in DirEdit when the DefaultInstallDir= key is configured.

- Updated compressor/decompressor "RAZOR" from v1.03.7 (standard) to v1.03.7 (stdio patched from https://www.fileforums.com/showthread.php?t=103298).

- Added support for "PMT - Parallel Multithreaded Encoder/Decoder" for "RAZOR" compressor.
  >> PMT is a 4x4 like algorithm to make everything run parallelly.
  >> You can run any compressor/encoder that supports stdio/stdin/stdout or even nothing.
  >> The program can make a single threaded compressor multithreaded by using blocks, just like 4x4.
  >> For more information visit: https://fileforums.com/showthread.php?t=103230

Code:

[29.03.2020]
-Added PMT (thanks to 78372)
  > For now only razor is supported
-Added Inno Setup 6.0.4 Repack
-Updated Notepad++ to v7.8.5
-Removed PNGtoBMPConverter


Cesar82 30-03-2020 03:17

Quote:

Originally Posted by Bondpotter (Post 484973)
I changed Exe64Path= to ExePath64=

I didn't remember this change to the key Exe64Path = to ExePath64 =

Quote:

Originally Posted by Bondpotter (Post 484973)
Anyhow, is it possible to make a checkbox in the "Select Destination Location" Page for Create Desktop Icon?

This functionality is already present in version 3.0.0.1 of CIU.
In a few days I will share a new beta version of CIU 3.0.0.1 and possibly have a final version after the next beta.

andreiutzu21 30-03-2020 03:37

CIU 3.0.0.0 u8
 
in this version i have to use png to bmp for autorun / installer1 and smallinstaller bmp for those? thanks for your hard work guys and #stayhome

Cesar82 30-03-2020 04:21

Quote:

Originally Posted by andreiutzu21 (Post 484976)
in this version i have to use png to bmp for autorun / installer1 and smallinstaller bmp for those? thanks for your hard work guys and #stayhome

I don't know if this is your question...
The CIU has not changed these features in this u8.
Bitmap masks like Autorun.bmp, SmallInstaller.bmp, Installer.bmp, etc. are optional.
If you don't put them in, the installer will create them on initialization.
You really need to place them if you want to define a click area (Drag Installer) different from the non-transparent area of the equivalent PNG image.

andreiutzu21 30-03-2020 11:06

CIU 3.0.0.0 u8 FIRST BUG !!!
 
on setup page , no matter what component i chose setup will require Data1.bin.001 if i select only component 3 stil requires Data1.bin.001

what should i do?

P.S. i'm using EXTRACT SETTINGS from Setup.ini

with CIU 3.0.0.0 u7 no problem at all

Cesar82 30-03-2020 14:14

Quote:

Originally Posted by andreiutzu21 (Post 484983)
on setup page , no matter what component i chose setup will require Data1.bin.001 if i select only component 3 stil requires Data1.bin.001

what should i do?

P.S. i'm using EXTRACT SETTINGS from Setup.ini

with CIU 3.0.0.0 u7 no problem at all

I have already discovered the error.
The components are not being checked correctly using the [ExtractSettings] section.

Open the script u8 and go to line 9168 and you will find this line:
Code:

if (Data[i].Arc[0] <> '') and (Data[i].Arc[1] <> '') and ComponentsCheck(Data[i].Arc[7]) and TasksCheck(Data[i].Arc[5]) and LanguagesCheck(Data[i].Arc[6]) then
Only replace the value in blue with the value in red (Replace 7 with 4).
Code:

if (Data[i].Arc[0] <> '') and (Data[i].Arc[1] <> '') and ComponentsCheck(Data[i].Arc[4]) and TasksCheck(Data[i].Arc[5]) and LanguagesCheck(Data[i].Arc[6]) then
Thank you for reporting the error.

KaktoR 25-04-2020 02:14

I added the hotfix to first post and new tools archive.

Cesar82 28-04-2020 17:07

CIU 3.0.0.0.b5 (Beta 5)
 
1 Attachment(s)
I am sharing CIU v3.0.0.1.b5 :eek: here so that more users can test and report the bugs found.
In this version there is a slight performance gain when the conversion is simpler (basic design).

I left PROGRESSBAR mode on so that more lay users could view the full screen functions without having to change the script.
To use the source code, just put ";" (without quotes) at the beginning of line 7 of the script like this:
;#define PROGRESSBAR 1000

You can compile using Inno Setup [Repack].
Lite: Original Inno Setup + RESTOOL Interface (Selectable)
Full: Original Inno Setup + RESTOOL Interface + Various Additional Software + .cjstyles skins package (Optional Download). (All Items Selectables).

There is a visible bug in 4K monitors with windows magnification of 300% (scale and layout) when specified background or video in 1280x720 displays in full screen (If placing 200% displays correctly).
Thanks!

samadrahman74 08-05-2020 05:34

hi ,password to decompress error..

houcine80 08-05-2020 08:26

Quote:

Originally Posted by samadrahman74 (Post 485666)
hi ,password to decompress error..

does not exist the password for decompression!

samadrahman74 08-05-2020 09:02

http://s4.picofile.com/file/83964537...eenshot_1_.png
Code:

oo2recm+srep+lolz+diskspan:4430mb:4470mb -p'password'

Cesar82 08-05-2020 16:23

Quote:

Originally Posted by samadrahman74 (Post 485676)
Code:

oo2recm+srep+lolz+diskspan:4430mb:4470mb -p'password'

if use Records.ini file, add key Password=<password> in [Record#] section.
If use [ExtractSettings] section in Setup.ini file, add parametter Pass:<password>; in ArcFile#= key.

Prettyboy099 11-05-2020 07:51

What is the criteria for custom making the MusicIcon.png? I mean like W & H ratio of each icon part or something so it fits perfectly??

Cesar82 11-05-2020 11:11

1 Attachment(s)
Quote:

Originally Posted by Prettyboy099 (Post 485721)
What is the criteria for custom making the MusicIcon.png? I mean like W & H ratio of each icon part or something so it fits perfectly??

Width and height are specified in "Setup.ini'" file, so you can create any size, just create all parts with the same height and width.

I attached the PSD project of MusicIconAR.png used in CIU.

Prettyboy099 11-05-2020 22:36

Actually it was a mistake from my side. I didn't notice each have 4 buttons and I did with 3 from each. By the way, thanks for the help..

Kitsune1982 27-05-2020 17:55

cesar, is there a way you can use text fonts with a texture added? like say a font using the agarest generations of war logo style texture in it? or is it limited to the windows fonts and rgb/#ff0000 style hashtag color code system?

Cesar82 28-05-2020 08:34

Quote:

Originally Posted by Kitsune1982 (Post 486048)
cesar, is there a way you can use text fonts with a texture added? like say a font using the agarest generations of war logo style texture in it? or is it limited to the windows fonts and rgb/#ff0000 style hashtag color code system?

Only fonts of type .ttf (Types used in text editors).
A logo is usually composed of the original font + Texture layers and other effects.

Kitsune1982 07-06-2020 21:16

hey cesar82 can i use precomp/precompX/PMT with CIU? i want to compress with the newest ultraarc but was wondering if i can use the 3 above tools and have them extract properly in CIU v3? thanks.

Cesar82 07-06-2020 22:40

Quote:

Originally Posted by Kitsune1982 (Post 486218)
hey cesar82 can i use precomp/precompX/PMT with CIU? i want to compress with the newest ultraarc but was wondering if i can use the 3 above tools and have them extract properly in CIU v3? thanks.

Currently PMT is supported on the CIU for the RAZOR compressor.
Soon in CIU 3.0.0.0.u9 PMT will also be included for MPZ.

Among all compressors used in CIU, the PMT developer recommended using PMT only with RAZOR and MPZ compressors.
The others are already fast and will not bring better performance using PMT.

Regarding including precomp/precompX, it depends on KaktoR to find this inclusion useful (I understand very little about compression methods).

CIU also supports adding additional compressors to a extenal folder next to "Setup.exe" file.
It is only necessary to include the path in the "Records.ini" file or in the external "Setup.ini" file (If you do not use records.ini), as shown below
Code:

[Ressources]
Path={src}\COMPRESSORS
//Path32=
//Path64=

In the "COMPRESSORS" folder next to Setup.exe place the compressors you want to add and also place Arc.ini with the necessary information.
NOTES; The internal Arc.ini file will be replaced by the external Arc.ini from "COMPRESSORS" folder...

KaktoR 11-06-2020 10:35

Updated.

I removed changelogs from topic because each edit/save take up to 1 minute...

KaktoR 11-06-2020 22:08

I forgot to change something inside "DiskSpan.bat". Change it on your own :D

Code:

-cfgFA.ini

to

-cfgDiskSpan.ini


Prettyboy099 11-06-2020 22:42

1 Attachment(s)
I'm getting a error -

Attachment 27129

IT was missing in 'Includes' folder.


All times are GMT -7. The time now is 13:09.

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