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 27-07-2021 04:39

I have a question about [CMDCommands]

Are the commands executed from {app} or {tmp}?

I have to create a folder shortcut inside the {app} folder.

Code:

[CMDCommands]
@echo off
mklink /D ".\ModData\Data" ".\Data"


Masquerade 27-07-2021 06:57

Quote:

Originally Posted by KaktoR (Post 493453)
I have a question about [CMDCommands]

Are the commands executed from {app} or {tmp}?

You could try:

Code:

[CMDCommands]
@echo off
echo %cd% >> "C:\mylocation.txt"
pause

It will save the location to the specified text file

KaktoR 27-07-2021 08:03

I just found out you can use the IS constants inside the batch, so all ok :D

Cesar82 03-08-2021 22:46

Added CIU 3.0.0.1.b8.u3 HF4 in the previous post (Along with the latest CIU source code).
In a few days I will share a version of the CIU with support for "DiskSpan GUI 2.0.0.1".
I didn't have a lot of time to make the necessary changes to the CIU code because it's pretty messed up after testing the inclusion of protection for the design images.
Wait a little longer!

Cesar82 15-08-2021 02:23

CIU 3.0.0.0.1.b9 (beta 9)
 
2 Attachment(s)
Updated CIU 3.0.0.1.b9 compatible with DiskSpan_GUI 2.0.0.1.
For change information take a quick tour of the changelog files.

INFO:
1) Download the attachment and also the latest DiskSpan GUI from DiskSpan GUI thread and extract boot files 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.
Also read the changes in the changelog because many keys have changed or no longer exist, and also some files need to be renamed or are no longer supported.
It may contain some new bugs in CIU because a large part of the code has changed.
So I ask you to report the bugs found so they can be fixed.
Thanks to everyone who contributed testing and reporting bugs in previous versions!

EDIT:
Added hotfix 1.
- Fixed infinite loop (freezing installer) when reading records.ini files when using tasks and also when using maintenance page.

amin fear 16-08-2021 04:56

Quote:

Originally Posted by Cesar82 (Post 493654)
Updated CIU 3.0.0.1.b9 compatible with DiskSpan_GUI 2.0.0.1.
For change information take a quick tour of the changelog files.

INFO:
1) Download the attachment and also the latest DiskSpan GUI from DiskSpan GUI thread and extract boot files 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.
Also read the changes in the changelog because many keys have changed or no longer exist, and also some files need to be renamed or are no longer supported.
It may contain some new bugs in CIU because a large part of the code has changed.
So I ask you to report the bugs found so they can be fixed.
Thanks to everyone who contributed testing and reporting bugs in previous versions!

Thanks
Will test & report any bugs seen !

P.S
What is this entry in "Setup.ini" ?

Code:

AddDXFilter=1

mausschieber 16-08-2021 08:31

Quote:

Originally Posted by amin fear (Post 493661)
Thanks
Will test & report any bugs seen !

P.S
What is this entry in "Setup.ini" ?

Code:

AddDXFilter=1

this are the Video/audio codecs if you using Videos in your Projects

samadrahman74 25-08-2021 04:47

Quote:

Originally Posted by Cesar82 (Post 493654)
Updated CIU 3.0.0.1.b9 compatible with DiskSpan_GUI 2.0.0.1.
For change information take a quick tour of the changelog files.

INFO:
1) Download the attachment and also the latest DiskSpan GUI from DiskSpan GUI thread and extract boot files 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.
Also read the changes in the changelog because many keys have changed or no longer exist, and also some files need to be renamed or are no longer supported.
It may contain some new bugs in CIU because a large part of the code has changed.
So I ask you to report the bugs found so they can be fixed.
Thanks to everyone who contributed testing and reporting bugs in previous versions!

EDIT:
Added hotfix 1.
- Fixed infinite loop (freezing installer) when reading records.ini files when using tasks and also when using maintenance page.

Why not work?
[ExtractSettings]

mausschieber 25-08-2021 05:00

Quote:

Originally Posted by samadrahman74 (Post 493751)
Why not work?
[ExtractSettings]

From the Changelog:
Removed [ExtractSettings] section with all its keys.
>> Now CIU only works with Records.ini settings (Externally or inside Setup.dll).

regisgay 27-08-2021 01:27

Hello, the Unpacker GUI I was using no longer works with the latest version of DiskSpan_GUI. I'm currently using the example script that came with the newest DiskSpan_GUI to make a new very simple installer, but I cannot figure out how to remove the "Start Menu Folder" part of the script. Does anyone know how I can do that?

Also there has been one little typo in DiskSpan_GUI for awhile. It's in the "LOLZ Final Compressor" section, the typo is "Hight". I believe it should probably be "High".

regisgay 29-08-2021 02:54

Quote:

Originally Posted by Cesar82 (Post 493786)
To unpack it is now possible with DiskSpan GUI 2.0.0.1 ("Tools" button was included), just copying DiskSpan_GUI.exe to the folder where the conversion is (DVD_1).

Yeah I figured this out after posting haha. Thanks for the reply.

Cesar82 08-09-2021 19:27

I decided to share here about a way to avoid future mistakes.
Whenever compiling an executable containing videos with the CIU it is highly recommended to include the necessary LAV filters by enabling in the AddDXFilter=1 key of the [InstallOptions] section of Setup.ini.

I recently upgraded my system from Intel (3rd Generation) to AMD (Current Generation) and I noticed that installers created with CIU 3.0.0.1 beta 8 (I tested u2) doesn't work if filters haven't been included inside setup. exe using the AddDXFilter=1 key in the [InstallOptions] section of Setup.ini before compilation (CIU 3.0.0.1.b8 use old ISMediaLib.dll).
When running the installer and it has music or video, when trying to add the music or video the installer exits.
Maybe it's some K-Lite Codec Pack update as I also recently updated the K-Lite Codec pack to version 16.4.0.

In version CIU 3.0.0.1 beta 9 it is working perfectly including or not the LAV filters internally in Setup.exe.
Perhaps the error has to do with playing ".mp3" files because now in version 3.0.0.1 beta 9 who plays ".mp3" songs is the BASS.dll library. The ISMediaLib.dll library plays video files only, and there were no errors when using the current filters with K-Lite Codec Pack 16.40 installed.

KaktoR 12-09-2021 01:17

After a long time, I added the newest CIU source code to first post:
CIU 3.0.0.1.b9.u1 (2021.09.11)

Read changelog to know what's new.

KaktoR 27-09-2021 09:34

Added a help CHM file to first post. This help file explains every single feature of CIUv3.

Thanks to mausschieber to make this one.

Cesar82 24-11-2021 10:39

CIU 3.0.0.1.b9.u1 (HF1)
 
1 Attachment(s)
CIU 3.0.0.1.b9.u1 hotfix 1
- Fixed LAV filter inclusion on use Video# or VideoAR# files.
- Updated script to support new DiskSpan GUI 2.0.0.5.

EDIT: The attachment has been reuploaded.
Please test it out and let me know if it's OK now.
I'm formatting the PC and I have almost nothing installed yet.

mausschieber 24-11-2021 11:38

Quote:

Originally Posted by Cesar82 (Post 495012)
CIU 3.0.0.1.b9.u1 hotfix 1
- Fixed LAV filter inclusion on use Video# or VideoAR# files.
- Updated script to support new DiskSpan GUI 2.0.0.5.

after i compile a Script there came an error message
line 14313 column 18 unknown identifier GetCPUThreads

After your reupload it worked

fabrieunko 04-12-2021 22:40

hello, until now I use Windows phone installer (DSG) that I know more about. I wanted to switch to CIU but that's another story. I find it much more complex on the modifications to be made to adapt the skin. is there a doc somewhere? a tutorial? to read to know what to modify when you start a small can ?. thank you

andreiutzu21 05-12-2021 06:07

go to first page and download Custom Installer Ultimate v3 - Help FIX.7z

Snake288 06-12-2021 11:26

hello mausschieber

i think you can watch the video I sent to you and you can see the problem I'm having

i've been trying to compress this game for exactly 15 days now and I'm having trouble restoring the files



https://files.fm/f/5h3sdwbyc

KaktoR 06-12-2021 11:38

This is windows 11?

Snake288 06-12-2021 11:46

Yes Wındow 11

KaktoR 06-12-2021 11:54

I don't know if CIU and all the tools are working correctly on Win11. Maybe try to add Setup.exe to Win7 or Win10 compatibility.

Snake288 06-12-2021 12:03

i'm having the same problem again

KaktoR 06-12-2021 12:58

Use another OS then

Cesar82 06-12-2021 14:11

Quote:

Originally Posted by Snake288 (Post 495088)
hello mausschieber

i think you can watch the video I sent to you and you can see the problem I'm having

i've been trying to compress this game for exactly 15 days now and I'm having trouble restoring the files

https://files.fm/f/5h3sdwbyc

From the LOG file in the video I see that you used DiskSpan GUI 2.0.0.5.
Have you compiled the Setup.exe executable using the CIU hotfix script?
I don't know if that's it, but since you used LOLZ, in DSG version 2.0.0.5, in ARC.ini the temporary directory is set to {app}, but this value is replaced by the corresponding value from the installation folder when starting the extract. But only the hotfix script has the necessary changes for this replacement.

Snake288 06-12-2021 17:36

Hello
Cesar82

CIU 3.0.0.1.b9.u1 (2021.09.11) HF1 hotfix script I used it, but there is a problem that I don't understand
I Used a Different Compression Method When Recording a new video The Same Problem Persists
I actually want to Have a Compression Method (LOLZ_ULTRA) that I would Like to Use, But I am Not Succeeding
I Used the Updated DiskSpan GUI 2.0.0.5 Compression Tool I'm Having the Same Problem with Older Versions

https://files.fm/f/kk73a4ycz

Cesar82 06-12-2021 20:01

I can't test it here.
I use Windows 10, and on Windows 10 it seems to work fine.

You can redirect OutputDir in line 8 of the script and enable debug mode (line 103), and run and check where execution paused. Check procedure Unpack_Process up to which line is processed (a blue dot will be added before the line in Inno Setup IDE when running in debug mode).

You can try compiling with version 6.20 of Inno Setup for testing, but I don't think that's it.

mausschieber 07-12-2021 03:13

i test it on windows 10 and it worked fine. i think it a windows 11 problem
i dont have windows 11 to test

you can use the method i used to compress that worked, so we can exclude witch method didn't work

andreiutzu21 07-01-2022 22:12

CIU 3.0.0.1 b9 u1
 
hei guys and HAPPY NEW YEAR.

Cesar82

it seems i have found a bug with this update of CIU. not creating UNINSTALL.exe in my setup.ini at section [InstallOptions] Uninstallable is set to 1 but dont create. please can you fix the problem. thank you for your hard work

P.S. im using windows 10 pro x64

Cesar82 08-01-2022 00:56

Quote:

Originally Posted by andreiutzu21 (Post 495366)
hei guys and HAPPY NEW YEAR.

Cesar82

it seems i have found a bug with this update of CIU. not creating UNINSTALL.exe in my setup.ini at section [InstallOptions] Uninstallable is set to 1 but dont create. please can you fix the problem. thank you for your hard work

P.S. im using windows 10 pro x64

I can't install Windows 11 here. At least not yet. But as soon as possible I will analyze this.

andreiutzu21 08-01-2022 00:57

Quote:

Originally Posted by Cesar82 (Post 495367)
I can't install Windows 11 here. At least not yet. But as soon as possible I will analyze this.

im using windows 10 pro x64 not 11. thanks

mausschieber 08-01-2022 01:29

Quote:

Originally Posted by andreiutzu21 (Post 495368)
im using windows 10 pro x64 not 11. thanks

i think you should read this https://fileforums.com/showthread.php?t=104533

andreiutzu21 08-01-2022 02:59

Quote:

Originally Posted by Cesar82 (Post 495367)
I can't install Windows 11 here. At least not yet. But as soon as possible I will analyze this.

just a notice. the game i have tested is DEVIL MAY CRY 5 and if i compress files with FA-STORE after instalation he creates UNINSTALL.exe / if i compress files using methods not creating UNINSTALL.exe at all. both methods i used BD25 size . maybe that will help you for fixing

Snake288 16-01-2022 10:02

Exec2(ExpandConstant('{app}\WemTool.exe'), '-d')

the above code is located below (Installer Script_3.0.0.1.b9_[2021.09.11].isp) I want to add can I get help?

InstallerScript_3.0.0.1.b9_[2021.09.11].iss

KaktoR 16-01-2022 10:06

Quote:

Originally Posted by Snake288 (Post 495457)
Exec2(ExpandConstant('{app}\WemTool.exe'), '-d')

the above code is located below (Installer Script_3.0.0.1.b9_[2021.09.11].isp) I want to add can I get help?

InstallerScript_3.0.0.1.b9_[2021.09.11].iss

You have to make it in Setup.ini

Code:

[CMDCommands]
cd /D "{app}"
"{app}\WemTool.exe" -d
del /S /F "{app}\WemTool.exe"


Snake288 16-01-2022 10:10

Quote:

Originally Posted by KaktoR (Post 495458)
You have to make it in Setup.ini

Code:

[CMDCommands]
cd /D "{app}"
"{app}\WemTool.exe" -d
del /S /F "{app}\WemTool.exe"



Exec2(ExpandConstant('{app}\WemTool.exe'), '-d')

the above code is located below (Installer Script_3.0.0.1.b9_[2021.09.11].isp) I want to add can I get help?

InstallerScript_3.0.0.1.b9_[2021.09.11].iss

.iss.html]InstallerScript_3.0.0.1.b9_[2021.09.11].iss - 1.1 MB


Setup.ini - 123 KB

can I get help about adding codes please?

andreiutzu21 03-02-2022 22:13

CIU 3.0.0.1 b9 u1 bug
 
it seems it is a bug in this updated script . not creating uninstall.exe at all
i have tried with multiple games. for EX: CYBERPUNK2077 \ BATMAN ARKHAM KNIGHT \ DEVIL MAY CRY 5 \ FORZA HORIZON 4 ETC. please Cesar82 can you fix this annoying bug. thank all for your hard work

mausschieber 04-02-2022 02:01

1 Attachment(s)
Quote:

Originally Posted by andreiutzu21 (Post 495661)
it seems it is a bug in this updated script . not creating uninstall.exe at all
i have tried with multiple games. for EX: CYBERPUNK2077 \ BATMAN ARKHAM KNIGHT \ DEVIL MAY CRY 5 \ FORZA HORIZON 4 ETC. please Cesar82 can you fix this annoying bug. thank all for your hard work

it work very well see Picture

andreiutzu21 04-02-2022 05:55

ok. i have tested me too . under 1 bd25 size he creates uninstall.exe. but if you have more than 1 bd25 not create al all. for example GTA 4 is under 1bd25 and create uninstall.exe and if i compress forza or cyperpunk or batman arkham knight not creating at all. i dont know what causes this. thanks for your reply and for your work

EDIT: i have compiled setup.exe and just noticed if i just run setup.exe without installing from compression he creates uninstall.exe so i think the problem is with DISKPAN_GUI maybe.

andreiutzu21 04-02-2022 22:44

Quote:

Originally Posted by Cesar82 (Post 495670)
- Compile your executable using the attached script.
- Run the BAT file and install your game.
- Send me by PM the Setup_LOG.txt file generated with Setup.exe.

ok.i will test it several ways . i will install after compression and then i will install after creating iso . thank you Cesar82


All times are GMT -7. The time now is 22:51.

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