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)

Proxson 26-04-2023 17:39

The fault was on my side. facepalm.jpg

Setting EnableFastInstall = 0, resolved the problem. I am so embarrassed ! :o
Next time I should ....READ THE F***ING MANUAL ! Sorry guys. :)

Anyways, EnableFastInstall should be set to zero by default. Me thinks it's proper.

Quote:

Originally Posted by Cesar82 (Post 500957)
Perhaps a solution would be to put an additional key to activate the behavior mode you suggested.
What do you think?

It's all up to you mate. Now it works as it should but if you catch some time you could add that additional key. Why not have both after all. :)

Proxson 29-04-2023 18:54

*bump

@Cesar mate,

is there an option to set a custom icon for the executable shortcuts which are placed in the Group and desktop. The installer picks the default exe icon. :confused:

Cesar82 29-04-2023 19:08

Quote:

Originally Posted by Proxson (Post 500987)
*bump

@Cesar mate,

is there an option to set a custom icon for the executable shortcuts which are placed in the Group and desktop. The installer picks the default exe icon. :confused:

Code:

[Executable#]

Icon={app}\myicon.ico


Proxson 29-04-2023 19:35

You're quick as always. :)

It won't budge mate. It's still placing the default icon. Dunno. :confused:

Code:

[Executable1]

Name=Play House of Ashes
Exe=HouseOfAshes.exe
ExePath=0
ShortcutProt=1
RunAsAdmin=0
Icon={app}\HouseOfAshes.ico


Edit: If it needs some huge script rewriting then leave it as it is. It's not that important.

Edit 2: Ok, I have managed it by disabling the executable key and created the shortcuts in the custom shortcuts section. But now the 'create shortcut on desktop' box is disabled.

Code:

//[Executable1]

Name=Play House of Ashes
Exe=HouseOfAshes.exe
ExePath=0
ShortcutProt=1
RunAsAdmin=0


Code:

[CustomShortcuts]


Shortcut6={group}\Play House of Ashes; Destination:{app}\HouseOfAshes.exe; IconFile:{app}\HouseOfAshes.ico
Shortcut7={commondesktop}\Play House of Ashes; Destination:{app}\HouseOfAshes.exe; IconFile:{app}\HouseOfAshes.ico


https://i.imgur.com/35RL6SL.jpg

Proxson 06-05-2023 04:34

*bump

Btw, guys. Maybe it's a stupido question but how do you generate external MD5 checksum files ? Which tools do you use ? Thanks

KaktoR 06-05-2023 06:18

Personally I use HashCheck to create MD5/Sha* files.

But you can use QuickSFV too for that purpose.

Proxson 06-05-2023 16:44

Thanks, Kaktor. :)

Ok, since I've never used external checksum files before and this thread is huge, where does this file go if I want to files be checked after the installation ? Setup folder ? I can't get it executed. :confused:

Edit: Ok, I got it working. I placed the sucker ( .MD5 file ) next to the script but in this post (#854) was the solution. Cesar mate, you have not fixed the script yet ! :) ;) Btw, my script version is CIU 3.0.0.1.b9.u4 (2022.12.30).

Quote:

Originally Posted by Cesar82 (Post 499639)
There is a small error in the script, sorry.
Just edit line 178 of the script replacing "!=" with "==" (see in green color).
Code:

#if defined(CREATOR) || (Trim(ReadIni(IniFile, "HashSettings", "EnableHash", "1")) == "1")


Proxson 03-07-2023 12:05

*bumpson

Hm, I can't make a video (videoAR.mp4) appear before autorun page kicks in. Something to act as a splash screen. I've tried everything but the setup won't call this process. :(

Code:


[VideoPlayerAR]

Left=10
Top=10
Width=898
Height=480

FrameLeft=20
FrameTop=20
FrameWidth=1280
FrameHeight=1024

Mute=0
Loop=0
Volume=100
Stretch=0
Track=internal
//Source1=


KaktoR 03-07-2023 12:22

That's because VideoAR will be played on Autorun screen :)

There is no way to play a video as splash image.

Proxson 03-07-2023 12:48

Thanks Kaktor for you quick answer. It's a shame. It could have been a nice feature. :(

Edit: I have converted the mp4 video file into gif and named it as splashAR.gif. Works but there are sometimes flickers.

KaktoR 01-08-2023 07:14

Code:

B9 UPDATE 5:
- Updated BASS.dll from v2.4.16.7 to v2.4.17.0
- Updated CIU_Tools to build 230730, updated help files.
- Updated XHashEx.dll library to v1.0.0.0 build 230729 no UPX version.
- Updated (redone) translation of ChineseS, ChineseT (@wangfeilong0317) and Romanian (@andreiutzu21) language files.
- Fixed bug where Hash page would not enable.
- Fixed the ChineseS and ChineseT language flags (the images of the flags were inverted).
- Fixed bug on click in next button on maintenance page when selecting "Reinstall" option.
- Fixed Registrer, Unregister, Play game from Autorun installer page for UWP games that contain Wildcard characters like "[", "]", etc in the installation path.
- Fixed not to display decimal point in space required labels on Components, Tasks and SelectDir pages when values are integers.
- Fixed getting the correct VRAM value on some laptops (Value is now read from Windows registry).
  >> After this correction, VRAM may not be correctly detected when using graphics cards in SLI/Crosfire.
- Changed name of key OnlyLabel= to OnlyLabelClick= (It is necessary that the label is being displayed).
  >> This key only serves to disable the click outside the label area even if it is inside the button image area.
- Changed name of the key Exe= to ExeFile= in [Executable#] section.
- Changed name of the key Icon= to IconFile= in [Executable#] section.
- Added new key IconIndex= to [Executable#] section to choice index image if IconFile= is a executable file.
- Added new key ShowMaintenanceAlways= in [InterfaceSettings] section.
  >> This option is active by default, but if you use value 0, when you run "Setup.exe" after all components or tasks are already installed.
  >> It will not display the maintenance page, displaying the uninstall page directly.
- Added new "Repair" option on maintenance page that allows to re-install previously installed items.
- Added new key ShowImage= in all buttons sections and group buttons section.
  >> If use value 0 in this key disable the loading of the button image loading a transparent image (It is necessary that the label is being displayed).
- Added new key Language= to the [Component#] section.
  >> The corresponding item will be disabled if the key value does not match.
- Added new keys Component= and Language= to the [Task#] section.
  >> The corresponding item will be disabled if the key value does not match.
- Added new keys Component=, Task= and Language= to the [Launch#] section.
  >> The corresponding item will be disabled if the key value does not match.
- Added new keys Component=, Task= and Language= to the [Executable#] section.
  >> These 3 new keys will be analyzed and the creation of shortcuts or AddToGameExplorer will only be done for the executable that matches the key information.
  >> After installed, only the play buttons will be shown on the autorun page that match with information about components, tasks and language.
- Added new key CreateShortcut= to the [Executable#] section.
  >> This key allows you to deactivate the creation of shortcuts for the executable of the current section.
  >> This will allow you to attach a Play button to the executable that the shortcut will be created on.
- Added support for new Edit.bmp image to delimit the OnMouse access area when using DirectoryEditOnMouse=1.
- Added support for hexadecimal result using "0x" in GetLangNR function like below:
  >> Example to english language use GetLangNR('0x') to return hexadecimal format 0x409, GetLangNR('$') to return hexadecimal format $409 or GetLangNR('') to return decimal value 1033.
- Removed key Type= from [Play#Button] sections.
  >> Now the "Type" information will be inherited from the [Executable#] section appended from the ExecutableID= key in the [Play#Button] sections.

Thanks to César

Cesar82 18-09-2023 17:52

CIU 3.0.0.1.b9.u5 (Hotfix 1 & 2)
 
2 Attachment(s)
CIU_3.0.0.1.b9.u5 hotfix 1 fixes a compilation error that locks the compiler in preprocessing mode when using more than 1 executables in INTERNAL mode (mode without Setup.bin).
The same error also compromised the use of PNG images as icons in UWP games.
Thanks to user @mausschieber for reporting the bug.

EDIT:
CIU_3.0.0.1.b9.u5 hotfix 2 fixes some errors related to the [CMDCommands] section of Setup.ini.

KaktoR 30-12-2023 09:35

Commenting to let you know that a fix was shared :D

K4miKaZe 27-01-2024 18:44

Hi guys, after some long time i came back and wanted to start all over again with CIU. So i got the latest xx.b9 version from the first post and the hf2. Everything was turning great till i was testing the installer. Besides that i couldn't get hash to work like on old version were i manually put the .md5 (i solved this by just using the diskspan option) i had a problem with the Executable entry to create a desktop shortcut. I've been struggling for the last hour trying to fix it and got it working. It's actually an error on the setup.ini that comes with the CIU package, the Executable1 entry is named to Executable_1 (it shouldnt have the _). Just to let you know, in case anyone else starts over with the default setup.ini that comes with CIU.

Regards !!!

PD: Also thank's KaktoR and Cesar for keeping working on CIU, you guys are amazing as always.

EDIT 2:

Also i found this two strings not translated in the SpanishES.txt file, i corrected them myself but will share them here too:

Code:

CreateDesktopIcon=Crear acceso directo en el escritorio
OptimalInstallation=Instalación óptima (Más rápido)

And changed an already translated one from
DiskSpaceGBLabel=Setup requiere [size] en:
to
DiskSpaceGBLabel=La instalación requiere [size] en:

That's for the SpanishES but should be fine for the MX too


K4miKaZe 08-02-2024 18:50

So i might have found a long standing bug (or maybe im just too dumb to make it work xD). It's about the [CustomIniFile] section. To make it simple, i've used a copy paste from the CIU Documentation to test it out and the Value entry never got applied to the .ini file, it always put into Value the path and .ini name instead.

Setup.ini:
Code:

{app}\IniFile3.ini; Section: Settings; Key: Language; Create: 1; Value: EN=english|ES=Spanish|FR=French|DE=German
After installation the IniFile3.ini is created, the section also is created inside the .ini and the Key also works too. But the Value returns the path instead of the value.

IniFile3.ini created by CIU after install:
Code:

[Settings]
Language={app}\IniFile3.ini

I've tried out a few diff ways on the .ini but none worked, so i took a look into the .iss file and found this:

Code:

          begin
            if FileExists(IniName) or (StrToIntDef(LineDecode(TmpStr, 'Create', '0'), 0) = 1) then
            begin
              IniValue := LineDecode(TmpStr, '', '');

And changed it to this:

Code:

IniValue := LineDecode(TmpStr, 'Value', '');
On the setup.ini now its working fine, just needs to remove the spacing between Value: and the value, like this:

Code:

{app}\IniFile3.ini; Section: Settings; Key: Language; Create: 1; Value:EN=english|ES=Spanish|FR=French|DE=German
Not sure if this was intended on the .iss and i'm just using a wrong string on the setup.ini. I just leave it here if you want to take a look into it.

Regards !!!


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

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