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)

Gehrman 10-06-2022 15:20

Quote:

Originally Posted by lolaya (Post 496940)
problem scale on 4k resolution :(

Code:

Setup.bat
Code:

Reg.exe add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%~dp0Setup.exe" /t REG_SZ /d "~ DPIUNAWARE" /f | START Setup.exe
Reg Delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%~dp0Setup.exe"  /f
Exit


Cesar82 13-06-2022 10:28

1 Attachment(s)
Quote:

Originally Posted by lolaya (Post 496940)
problem scale on 4k resolution :(

By default CIU has an encoding to enter the value "~DPIUNAWARE" in the registry and relaunch Setup.exe.
I don't have a 4K monitor, but creating a custom resolution here is working. See in the attached video the size of the design before and after committing the line that inserts the value in the register.
The same values reported above by Gehrman are entered by CIU automatically when resolutions above 1920x1080.

Gehrman 13-06-2022 13:16

Thanks to Cesar 82

I found a small bug
In the first test, "Test 1 Test 1 Test 1" is incomplete

Using GROUP with Radio causes this bug

https://www.upload.ee/image/14227870/B01.jpg



https://www.upload.ee/image/14227872/B02.jpg



https://www.upload.ee/image/14227871/B03.jpg

Cesar82 13-06-2022 14:25

CIU 3.0.0.1.b9.u1 (HF5/HF6)
 
1 Attachment(s)
CIU 3.0.0.1.b9.u1 hotfix 5 e 6.

Quote:

Originally Posted by Gehrman (Post 497218)
Thanks to Cesar 82

I found a small bug
In the first test, "Test 1 Test 1 Test 1" is incomplete

Using GROUP with Radio causes this bug

Although only one RadioButton will never be used as in your example, the error also occurred if there were no checkboxes.
Try with the HF6 attached.
Code:

Hotfix 5:
- Fixed to enable play buttons after installed UWP games.
- Fixed error that occurred when creating UWP game shortcuts when converting png image to icon (Thanks andreiutzu21 for bug information and tests).
- Fixed CheckInfo function when using negation character "!" before the parameter like: Check: CheckInfo('!lang:!en,de');
- Added support for negation character "!" in the CheckInfo function now also in the compared type like as in the example:
  >> Check: CheckInfo('comp:!1,2,3'); >> Only returns true if you have not checked component 1 and have checked components 2 or 3.

Hotfix 6:
- Fixed checklist items position when there are no checkboxes (Thanks Gehrman for report bug).


Cesar82 10-07-2022 19:05

CIU 3.0.0.1.b9.u2
 
1 Attachment(s)
CIU 3.0.0.1 update 2 available.
Now the external mode is functional allowing conversion developers to protect almost all design files.
To use external mode you must compile Setup.exe using the CIU_Tools tool.
The Setup.bin file must be compressed or only after compiling Setup.exe.
Code:

- Fixed bug of items being disabled when clicking "check all" checkbox in all CheckListBox.
- Fixed so that sections of Setup.ini commented out with [ ;SectionName] or [//SectionName] or [_SectionName] or [SectionName_] are ignored in script preprocessing when compiling.
- Fixed bug on the "License" page that when pressing the spacebar on the keyboard, even when the checkbox was unchecked, the installation advanced the page.
- Fixed bug in the "Components" page that when pressing the spacebar on the keyboard, even when all components were unchecked, the installation advanced the page.
- Fixed focused buttons on each page of the CIU installer.
  >> The "CancelButton" is focused on the wpInstalling page (installation progress) and on the UninstProgressPage (uninstallation progress).
  >> The "BackButton" is focused on the UninstQuestionPage (To avoid accidentally uninstalling by pressing the spacebar on the keyboard).
  >> For all other pages the "NextButton" is the page's focused button.
- Fixed so that both ".png" and ".gif" splash images can be used allowing to merge formats.
  >> The ".wav" sound file to splash can be used as long as it has the splash image of the same name, being it ".png" or ".gif".
- Added WorkDir parametter for Play buttons of the CIU.
- Added new key FlagBorderColor= ($RGB) to [LangBox], [AboutSettings] and [AboutSettingsAR] sections.
- Added new HideOnLauncher= (0/1) key in all button sections belonging to autorun page.
  >> This key makes it possible to hide unwanted buttons when using ShowGameLauncher=1 in the [InstallOptions] section.
- Added support new slider volume control (trackbar).
  >> Look the sections [VolumeTrackBar], [VolumeTrackBarAR] and [VolumeTrackBarSI] in CIU help files to understand the new keys and supported images.
- Removed Center= key from [LangBox] section.
  >> This key is no longer needed because using "center" value in key Align= has the same effect.
- Removed CreatePage= key from [AutorunSettings] section.
  >> This key is unnecessary as it has the same effect as removing or renaming the "Setup\Autorun" folder or "Autorun.png" file to another name.
- Added support for the new "OTHER" installer type using with DiskSpan GUI 2.0.1.1+.
  >> It can be used in the InstallerType= key of the [InstallerSettings] section and the Type= key of the [Executable#] and [Play#Button] sections and also as a type in the CheckInfo function.
- Added new function IsOtherGame to use with registry entries in Check parametter;
- Added support to IsOTHER flag in [CustomShortcuts] and [CustomIniFile] sections.
- Added new keys SiteOTHER= and SiteOTHER<LNG>= in [Website#Button] sections.
- Updated to logarithm volume on all music player (previously it was linear volume).
- Updated BASS.dll from v2.4.16.1 to v2.4.16.7


Cesar82 25-09-2022 19:37

CIU 3.0.0.1.b9.u3
 
1 Attachment(s)
CIU 3.0.0.1 update 3 available (I didn't have time to test).

If you find bugs let me know and I'll fix them and re-upload them.
Some messages regarding the hash page need translation, so if you've collaborated with translations for CIU before and want to collaborate again, then check the link file for untranslated texts and PM me the translations, thanks.
Code:

- Fixed flags type in about pages.
- Fixed to remove all duplicate keys when preprocessing the Setup.ini file.
- Fixed wrong size of SeletFolderForm window when using some ".cjstyles" skin files.
- Fixed several bugs regarding the position of the trackbar images when changing the volume.
- Fixed correct position of volume trackbar when switching between SmallInstaller to Installer and vice versa.
- Fixed starting position of volume trackbar when switching from autorun to installer.
- Fixed trackbar to allow using only one of the image as TrackBarBtn.png or TrackBarImg.png.
  >> Now if using only TrakBarImg by clicking and holding the mouse button it is possible to move the volume trackbar position.
- Added new key CheckBox= in [VolumeTrackBar], [VolumeTrackBarAR], and [VolumeTrackBarSI] (double click on slider to change music state).
  >> If you use value 1, you must use the image for the slider using an image formed by 8 parts of equal sizes arranged vertically (like checkboxes and music icons buttons).
  >> If you use value 0, you must use the image for the slider using an image formed by 4 parts of equal sizes arranged vertically (like the up and down buttons on scroolbars).
- Changed keys names from SliderLeft=/SliderRight= to SpaceBefore=/SpaceAfter= in [VolumeTrackBar], [VolumeTrackBarAR], and [VolumeTrackBarSI] sections.
- Changed keys names from SpaceLeft=/SpaceRight= to SpaceBefore=/SpaceAfter= consecutively in [ProgressBar] and [ProgressBarSI] sections.
- Changed images file names from ProgressBackground2.png/ProgressBackgroundSI2.png to ProgressForeground.png/ProgressForegroundSI.png consecutively.
- Changed checksum library ISHash.dll (by peterf1999) to XHashEx.dll (by BLACKFIRE69).
- Added new key Position= in the [ProgressBar] and [ProgressBarSI] section to change percentage label orientation to vertical.
- Added new key Position= in [ProgressBar] and [ProgressBarSI] sections to change progressbar orientation to vertical.
- Added new key HashFontSize= in the [ProgressBar] section to set the font of the Hash page percentage label.
- Added new key EnableHash= (0/1) in [HashSettings] section.
- Added support to uninstal from file list (UninstallList.ini).
  >> Only deleted files will be deleted on uninstall.
- Added support to DiskSpan GUI 2.0.1.3+


Gehrman 12-12-2022 02:04

Report a bug
 
2 Attachment(s)
@Cesar82
If we cancel the installation process, it will go to the successful installation page!
Bug2: installer asks if to quit, you select "No" the installer quits (this)

Cesar82 12-12-2022 08:21

Quote:

Originally Posted by Gehrman (Post 499379)
@Cesar82
If we cancel the installation process, it will go to the successful installation page!
Bug2: installer asks if to quit, you select "No" the installer quits (this)

BUG 1: This has always been the case, since the days when Yener90 created the code.
The same happens when an installation error occurs (IsDone Error).
What do you suggest? Should I close the installer by skipping the Finish page?

BUG 2: Since IsDone cannot resume the installation after canceling, it displays the cancel installation message, but since the return was already IsDoneError = TRUE, even clicking on cancel will exit the installation.
Maybe some change is needed to not display that last message.

If you have any suggestions for improvement, please comment. It is just not possible to resume the installation after clicking Cancel".

Gehrman 12-12-2022 12:44

Thank you Cesar82
The first bug is missing in "CIUv3 3.0.0.1.b9.u1 (2021.09.11)".

The second bug
It seems to be fixed with these changes.
Without using Diskspan, of course:(

Code:

function BrowseArcFile(const ArcFile, Disk: String; var SrcDir: String): String;
...........................
      IDCANCEL : begin
        Waiting := False;
        ISDoneCancel := 1;
        ISDoneError := True;
        ResumeProc;
        WizardForm.CancelButton.OnClick(nil);
      end;

Change to
Code:

      IDCANCEL : begin
        Waiting := False;
        ISDoneCancel := 1;
        ISDoneError := False;
        ResumeProc;
        ClickButton(@CancelBtnClick, nil);
      end;

It is better to be like ASIS so that the installation process can be canceled by clicking Cancel.

Cesar82 12-12-2022 18:36

Quote:

Originally Posted by Gehrman (Post 499387)
Thank you Cesar82
The first bug is missing in "CIUv3 3.0.0.1.b9.u1 (2021.09.11)".

The second bug
It seems to be fixed with these changes.
Without using Diskspan, of course:(

Code:

function BrowseArcFile(const ArcFile, Disk: String; var SrcDir: String): String;
...........................
      IDCANCEL : begin
        Waiting := False;
        ISDoneCancel := 1;
        ISDoneError := True;
        ResumeProc;
        WizardForm.CancelButton.OnClick(nil);
      end;

Change to
Code:

      IDCANCEL : begin
        Waiting := False;
        ISDoneCancel := 1;
        ISDoneError := False;
        ResumeProc;
        ClickButton(@CancelBtnClick, nil);
      end;

It is better to be like ASIS so that the installation process can be canceled by clicking Cancel.

When I mentioned "any suggestions", I was referring to the behavior of the action when clicking the cancel button, or whether it should display the exit message.
You didn't necessarily need to have informed what changes need to be made.
But anyway, thank you very much!
I will review in a few days. I'm out of time at the moment.

Thanks for reporting so bugs.

fabrieunko 27-12-2022 10:36

Quote:

Originally Posted by Cesar82 (Post 483651)
Here's the full autorun PSD, maybe it's useful for you ...
I have no practice in photoshop so may have some unnecessary layers.
Perhaps the same effect will be achieved with fewer layers and effects.

hello Caesar you would not have the same for the installer by harzard?

Cesar82 29-12-2022 20:44

CIU 3.0.0.1.b9.u4
 
1 Attachment(s)
CIU 3.0.0.1.b9 update 4 available.
I wish everyone a great end of the year!
Code:

- Updated CIU Help file (Recreated).
- Updated CIU_Tools (Fixed several bugs).
- Updated CIULib.dll library to v1.0.0.1 build 221204.
- Updated XHashEx.dll library to v1.0.0.0 build 221120 (Thanks to BLACKFIRE69).
  >> Improved matching when using masks in internal CalculateHashesForDirEx function.
- Fixed the display of non-unicode characters used in Setup.ini when using external mode.
- Fixed some bugs when using windows with native Windows borders.
- Fixed some bugs that occurred when canceling the installation.
- Fixed to display the "Accel" char (ShowAccelChar property) only on button labels.
- Added function to set installer priority to HIGH PRIORITY when start the installer.
- Added new key Font= to [PageBigTitle] section.
- Added support to DiskSpan GUI 2.0.1.4+
- Removed localized Source#<LNG>= keys in [MusicPlayer], [MusicPlayerSI], [VideoPlayer], [VideoPlayerAR] sections.
  >> The Source#<LNG>= key is only present and functional in the [VideoPlayerBG] section.


fabrieunko 02-01-2023 00:49

hello, i can't get this function to work? nothing happens when the installation is finished it offers me to click on finished. I don't have the checksum test


[HashSettings] // auto detect checksum: crc32, md5 sha1, sha256, sha512
------------------------------------------------------------------------------------------------------------------------------------------------------
EnableHash=1
StartCheck=1

I have activated the calculation in DiskSpan Gui

Cesar82 02-01-2023 11:04

Quote:

Originally Posted by fabrieunko (Post 499635)
hello, i can't get this function to work? nothing happens when the installation is finished it offers me to click on finished. I don't have the checksum test


[HashSettings] // auto detect checksum: crc32, md5 sha1, sha256, sha512
------------------------------------------------------------------------------------------------------------------------------------------------------
EnableHash=1
StartCheck=1

I have activated the calculation in DiskSpan Gui

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")

KaktoR 05-01-2023 17:27

@César

Code:

[ProgressBarSI]
//Width=0                        // integer              (Default = SmallInstaller >> Width - 30)

Could you change this to "Default = SmallInstaller TextWidth"? This is the case with [ProgressBar], where this is correct in my opinion.

Cesar82 05-01-2023 18:39

Quote:

Originally Posted by KaktoR (Post 499684)
@César

Code:

[ProgressBarSI]
//Width=0                        // integer              (Default = SmallInstaller >> Width - 30)

Could you change this to "Default = SmallInstaller TextWidth"? This is the case with [ProgressBar], where this is correct in my opinion.

I think it's already like this, see:
Code:

  SIProgressGauge := TNewProgressBar.Create(WizardForm);
  with SIProgressGauge do begin
   
Parent := WizardForm;
    Left := GetValInt('ProgressBarSI', 'Left', GetValInt('SmallInstaller', 'TextLeft', 15)) + GetValInt('ProgressBarSI', 'MoveX', 0);
    if SIProgressVertical then
    begin
     
Top := GetValInt('ProgressBarSI', 'Top', GetValInt('SmallInstaller', 'TextTop', 15)) + GetValInt('ProgressBarSI', 'MoveY', 0);
      Width := GetValInt('ProgressBar' + IfThen(IsSectionEmpty('ProgressBarSI'), '', 'SI'), 'Width', 14);
      Height := GetValInt('ProgressBarSI', 'Height', GetValInt('SmallInstaller', 'TextHeight', GetValInt('SmallInstaller', 'Height', 220) - 30));
      SetWindowLong(Handle, GWL_STYLE, GetWindowLong(Handle, GWL_STYLE) or PBS_VERTICAL);
      SetWindowPos(Handle, 0, 0, 0, 0, 0, SWP_FRAMECHANGED or SWP_NOZORDER or SWP_NOSIZE or SWP_NOMOVE);
    end else
    begin
     
Top := GetValInt('ProgressBarSI', 'Top', GetValInt('SmallInstaller', 'TextTop', 15) + 65) + GetValInt('ProgressBarSI', 'MoveY', 0);
      Width := GetValInt('ProgressBarSI', 'Width', GetValInt('SmallInstaller', 'TextWidth', GetValInt('SmallInstaller', 'Width', 500) - 30));
      Height := GetValInt('ProgressBar' + IfThen(IsSectionEmpty('ProgressBarSI'), '', 'SI'), 'Height', 14);
    end;
    Min := 0;
    Max := 1000;
    Position := 0;
    if CustomCursor then
     
OldCursor := SetClassLong(Handle, GCL_HCURSOR, NewCursor);
    Visible := False;
  end;

Code:

Width := GetValInt('ProgressBarSI', 'Width', GetValInt('SmallInstaller', 'TextWidth', GetValInt('SmallInstaller', 'Width', 500) - 30));

GetValInt('SmallInstaller', 'Width', 500) - 30
This will only be used if [SmallInstaller] TextWidth= does not exist.
If the key Width does not exist it will be 500.

Default To ProgressBarSI WIDTH === read ini:  ProgressBarSI/Width << SmallInstaller/TextWidth  << SmallInstaller/Width-30 << 500-30


KaktoR 06-01-2023 04:14

Thanks for info.

-30 is left + right, so overall it is -60 then? Or -15 from both sides?

Example: SmallInstaller is 500, ProgressBarSI is 440 or 470 then?

Cesar82 06-01-2023 04:26

Quote:

Originally Posted by kaktor (Post 499690)
thanks for info.

-30 is left + right, so overall it is -60 then? Or -15 from both sides?

Example: Smallinstaller is 500, progressbarsi is 440 or 470 then?

-(15+15)

470

andreiutzu21 22-01-2023 11:31

CIU 3.0.0.1 b9 u4 BUG
 
2 Attachment(s)
i have found 2 bugs with last update. see atached images. thanks

Cesar82 22-01-2023 14:53

2 Attachment(s)
Quote:

Originally Posted by andreiutzu21 (Post 499935)
i have found 2 bugs with last update. see atached images. thanks

The bugs must be from before the last version.
Thanks for reporting.

Here it works, see the attached video.

@andreiutzu21 please test attached setup file and report if bug continue.

andreiutzu21 22-01-2023 22:52

hi @Cesar82 in your Setup on my desktop it shows correct VRAM and disk space without that dot but on my laptop not showing correct VRAM memory 3 GB instead of 4GB. but if you remember same problem was with CIU 3.0.0.1 b9 u1 and was fixed. i have used last night that script and everything was ok including UWP games VRam memory and that dot. i will do same test with this last update of CIU. thank you for your time and hard work

Cesar82 23-01-2023 01:19

Quote:

Originally Posted by andreiutzu21 (Post 499939)
hi @Cesar82 in your Setup on my desktop it shows correct VRAM and disk space without that dot but on my laptop not showing correct VRAM memory 3 GB instead of 4GB. but if you remember same problem was with CIU 3.0.0.1 b9 u1 and was fixed. i have used last night that script and everything was ok including UWP games VRam memory and that dot. i will do same test with this last update of CIU. thank you for your time and hard work

What about UWP games?

If possible, test with old versions of the script, and if any don't have the bug, let me know which version the bugs came from.
Thanks!

andreiutzu21 23-01-2023 07:25

Ciu bug
 
2 Attachment(s)
hi again @Cesar82 i have done some tests and i have atached some files. if you need more test let me know. thanks

Cesar82 23-01-2023 09:31

Quote:

Originally Posted by andreiutzu21 (Post 499953)
hi again @Cesar82 i have done some tests and i have atached some files. if you need more test let me know. thanks

@andreiutzu21...
1) You didn't tell me if the setup.exe attached to my previous post contains the deimal point bug in the labels "0." (required size on disk).

2) If possible let me know which script prior to b9.u1HF6 had the bug.
I think maybe it had the bug up to b9.u1HF2 and it was fixed in HF3. Confirm that this is the case.

3) If possible see which version after b9.u1HF6 the bug appeared again.

For me, everything works here, so it's difficult to analyze without you giving me the results.
If you prefer, send me a PM so as not to pollute this topic too much.

I'll see your attachment text file now. Ignore questions you have already answered.
Thanks!

andreiutzu21 23-01-2023 10:01

Quote:

Originally Posted by Cesar82 (Post 499954)
If possible let me know which version prior to hf6 contained the bugs.

i think this bug started with CIU 3.0.0.1 b9 u2 HF2 from 11.09.2021 but with last HOTFIX was realy ok

Cesar82 23-01-2023 11:32

@andreiutzu21, let me know if the dot is displayed when unchecking the components (like: 0. MB) in the setup.exe file attached HERE and let me know.

andreiutzu21 23-01-2023 11:46

2 Attachment(s)
Quote:

Originally Posted by Cesar82 (Post 499956)
@andreiutzu21, let me know if the dot is displayed when unchecking the components (like: 0. MB) in the setup.exe file attached HERE and let me know.

the dot is not there after the 0 but at VRAM is the same it shows 3 gb instead of 4

Cesar82 23-01-2023 12:17

Quote:

Originally Posted by andreiutzu21 (Post 499957)
the dot is not there after the 0 but at VRAM is the same it shows 3 gb instead of 4

That VRAM without problem.

THE STORY:
The CIU formerly at the time of Yener90 used the get_hw_caps.dll library to detect hardware.
As some functions stopped working with this library after the release of new versions of windows, the CIU started to use the ISSysInfo.dll library (by petef1999).
However, after the emergence of GPUs with VRAM greater than 4 GB, this library began to not correctly detect the VRAM of these GPUs.
Then I searched for efficient hardware detectors for VRAM, until in "CIU 3.0.0.0_b9.u1.HF6" I made my own version in the CIU script itself getting the values in the windows registry, but using the same ISSysInfo library .dll to read GPU name
But that wasn't so efficient because as you commented the labels were smaller on "CIU 3.0.0.0_b9.u1.HF6" (see it has 2 video card names).
What happens is that in idle mode, current laptops turn off the dedicated video card using only the integrated Intel HD Graphics card.
So after that in "CIU 3.0.0.0_b9.u2" Razor12911 helped me by improving a code which he himself had shared in the debate about not having a functional VRAM detect code so that this code would not only detect Namee VRAM of all GPUs and generate a list. Now it ordered and returned only the highest VRAM value (a logic because the dedicated card would probably always have the highest VRAM).
So I inserted Razor12911's code into CIULib.dll trying to make the VRAM check faster than the script itself using my code.

Now I perfected my script code to not only get the largest VRAM, but also read the name of the current GPU that has the largest VRAM size (I hope it's not slow).
I will send you a PM soon with test file.
If possible send me by PM the original captured images of your previous post b9.u1.HF6 (the labels are illegible).
Thanks.

Proxson 26-04-2023 16:29

It's me again. :p ;)

Ok, after a while...ermm....cough.... I have noticed some non logical steps in the installation process. It's about the Customize and Next option at the first setup window/page whatever. If you choose Customize then you go through the steps like EULA page, info page, hardware requirements page etc. That's ok but if you choose directly the Next button then the installation promptly begins. Here comes the non logical part. If there is an EULA and by not accepting it, you can't proceed with the installation which is on the other hand bypassed when Next (prompt) is chosen. Long story short, the EULA page and info page should appear in both ways, no matter what you choose. This should be fixed by all means. Thanks guys for your great work btw. Cheers.

Something like this:

Customize --> EULA (if there) --> Info (if there) --> Hardware requirements --> Components --> Tasks --> Installation path --> Prerequisites --> Install

or

Next --> EULA (if there) --> Info (if there) --> Hardware requirements --> Install

Cesar82 26-04-2023 17:16

Quote:

Originally Posted by Proxson (Post 500956)
It's me again. :p ;)

Ok, after a while...ermm....cough.... I have noticed some non logical steps in the installation process. It's about the Customize and Next option at the first setup window/page whatever. If you choose Customize then you go through the steps like EULA page, info page, hardware requirements page etc. That's ok but if you choose directly the Next button then the installation promptly begins. Here comes the non logical part. If there is an EULA and by not accepting it, you can't proceed with the installation which is on the other hand bypassed when Next (prompt) is chosen. Long story short, the EULA page and info page should appear in both ways, no matter what you choose. This should be fixed by all means. Thanks guys for your great work btw. Cheers.

Something like this:

Customize --> EULA (if there) --> Info (if there) --> Hardware requirements --> Components --> Tasks --> Installation path --> Prerequisites --> Install

or

Next --> EULA (if there) --> Info (if there) --> Hardware requirements --> Install

Thank you for your opinion.

This FAST mode is used since the original project that Yener90 created, so I didn't want to change it.

You can let your installers behave without this FAST mode (So it will always show the license).
For that, try using EnableFastInstall = 0 in the [InterfaceSettings] section.

If more users find the requested behavior better, I change it.
But I particularly prefer a FAST mode as is (Perhaps with an additional ready page (not currently supported) to know what is being installed and where, like components, tasks, directory, etc.).

Perhaps a solution would be to put an additional key to activate the behavior mode you suggested.
What do you think?

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.


All times are GMT -7. The time now is 11:14.

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