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 07-02-2019 12:25

[PercentLabel] is for the label if you don't use smallinstaller. [PercentLabelSI] is for Smallinstaller only (I think).

houcine80 07-02-2019 16:36

Quote:

Originally Posted by KaktoR (Post 479373)
[PercentLabel] is for the label if you don't use smallinstaller. [PercentLabelSI] is for Smallinstaller only (I think).

[PercentLabel] withOut smallInstaller i think

Cesar82 07-02-2019 17:13

Quote:

Originally Posted by pakrat2k2 (Post 479372)
found what was wrong by your image. You have to have values in PercentLabelSI as well.
I was just using PercentLabel, works as I wanted now.

thanks

All sections with [xxxSI] refer only to the small installer (SI = SmallInstaller)

The options in [PercentLabel] are for the percent label of the "Installer" (BigInstaller)
The options in [PercentLabelSI] are for the percent label of the "SmallInstaller".
If you use SmallInstaller it is best to configure both sections.
For if you double click the SmallInstaller will change to the Installer (BigInstaller) and if it is not confugured the percent label will be at the center of the Installer progress bar.

?
In the next hotfix (If I do not forget), I will make sure that if the value does not exist in one section, read the value in the other section.
Example: If MoveX or MoveY does not exist in [PercentLabel] and exists in [PercentLabelSI], it will be read in the [PercentLabelSI] section, or vice versa.
What do you think. Would it look better this way, or leave it as it is?

KaktoR 08-02-2019 03:40

@Cesar:
I've found something strange.

If you install with diskspan and CIU asks for next archive, it seems that some files will be unpacked after this message pop up.

Installer was at 15,7% if the "Next Disc" message pop up, a few seconds later it was on 16,1% and unpacked some files. It seems to be a delay or something.

Cesar82 08-02-2019 06:29

@KaktoR

I did not realize that.
Are files also extracted, or only the percentage (including progress bar) changed?
Possibly this occurs inside some of the libraries (Isdone.dll, Unarc.dll, or DiskSpan.dll).
This bug is only visible using diskspan, because UltraArc does not pause progress while installing (does not request part .002, etc).
I think this is not so important to correct.

The progress of CIU I think very wrong as it is.
Example: If you put 2 ARC files. The first one with 1 MB and the second with 1 GB.
When extracting the first one (1 MB) will already be showing 50% progress and the remaining time will be equal to the time it took to extract the first 1 MB.
This could be fixed by adding a Size (Size of extracted files)
It would add up all the size and divide by the amount of files.

Code:

//Setup.ini (DiskSpan File)
[ExtractSettings]
ArcFile1=Data1.bin.001;DestDir:{app};Type:ARC;Disk:1; Size:1200;

//Records.ini (UltraArc or DiskSpan File)
[Record1]
Type=Freearc_Original
Source={src}\Data1.bin.001
Output={app}
Disk=1
Size=1200


KaktoR 08-02-2019 08:23

Files are extracted too (but only if you have many small files within the archive). But I can't tell you if the files actually are really extracting or just a delay is CurFile

---

Yes true. But I think yener did it so to keep things simple.

Size should be just optional in my opinion.

Cesar82 09-02-2019 20:05

News to CIU
 
I have posted a test preview of the checklistbox that I will add to CIU in the CIU Dev group.
You members of the CIU Dev group test and give feedback and suggestions on how it looks better.

pakrat2k2 23-02-2019 11:32

for UWP games do you use both setup.ini & Setup_EXTERNAL.ini ( named correctly ? )
as its the only file that has UWP. Also extract settings arent needed..

thanks

KaktoR 23-02-2019 12:13

Setup_EXTERNAL.ini is just meant for an override (like the old setup's where you could place Setup.ini file next to setup.exe to override the [ExtractSettings] options).

If you save UWP settings to Setup.ini, Setup will read this settings as long as no Setup_EXTERNAL.ini is present besides Setup.exe. If Setup_EXTERNAL.ini is present besides Setup.exe, Setup will take settings from Setup_EXTERNAL.ini.

Cesar82 23-02-2019 12:30

If I understood correctly, pakrat2k2 wants to know if it uses Setup.ini (External) with a section, it is necessary to have the information contained in the other sections too;

If this is the question:
The information you need (and if it is supported in external setup.ini) you can add it to the external INI.
If this information does not exist in the external INI, it will read the internal INI.

Except the [Registry#] section, if there is [Registry1], it will ignore all the internal INI registry sections.
I will change [Registry#] to the same default at the next update (Read external first, and if not, read the internal)

zirkhaki 26-02-2019 08:48

is it possible to automatically launch an exe file with "Run as Admin" after installation.
I've done this normally, but I want to do it with run as admin.
specifically I want to run InstallApp.exe for UWP games.
still I am unsuccessful to install a UWP game and also make a shortcut for it. so I just want to run that exe and play the game from Start Menu.

KaktoR 26-02-2019 08:56

Well you can use the built-in batch ([CMDCommands]).

zirkhaki 26-02-2019 09:01

OK good, but I couldn't find the command structure on web. I mean I don't know what to search.

could you please tell me what command should I put in [CMDCommands] section?

KaktoR 26-02-2019 09:08

I did a quick look in cmd

Code:

runas /?
gives you all possible settings to run a file with admin privileges.

PS: If I search for batch things, I always google for "batch [what you want to do]"

PPS: It seems that you only need to run the cmd window as admin if I got it right (if CIU doesn't do it by itself anyway). Just make a simple batch and try it out.

Cesar82 26-02-2019 14:41

Quote:

Originally Posted by zirkhaki (Post 479797)
is it possible to automatically launch an exe file with "Run as Admin" after installation.
I've done this normally, but I want to do it with run as admin.
specifically I want to run InstallApp.exe for UWP games.
still I am unsuccessful to install a UWP game and also make a shortcut for it. so I just want to run that exe and play the game from Start Menu.

Because you do not register the UWP game using the [UWPGame] section of setup.ini, instead of using InstallApp.exe to register the game?
- By doing so your shortcuts will be placed on the desktop and the PlayButton (if exists) of the autorun page will work properly.


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