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 12-08-2020 08:43

Quote:

Originally Posted by VAISH (Post 487372)
Hello What i had to do for an dialog of install directory

Explain further, I at least did not understand the question.
Update the same previous post with more details.

VAISH 12-08-2020 17:41

root
 
how can i make a dialog box of select the directory to instaal i had tried many times it not working

Joe Forster/STA 13-08-2020 08:23

Quote:

Originally Posted by VAISH (Post 487381)
how can i make a dialog box of select the directory to instaal i had tried many times it not working

Don't multi-post; instead, use the Edit button to add details to your post.

Cesar82 13-08-2020 09:15

Quote:

Originally Posted by VAISH (Post 487381)
how can i make a dialog box of select the directory to instaal i had tried many times it not working

You are referring to CIU, right?
Which version of CIU are you using?
Is this window equivalent to the image below not being displayed?
If so, are you choosing the "Customize" button option in the installer?
Because if you click directly on the "Install" button you will install it in the default directory.
https://i.imgur.com/b1pCN6Y.png
Here CIU displays the window correctly in all conversions I downloaded, and there have been no other reports of this problem.
If CIU is present and this is not the solution to the problem, you can send me the link to download your project by PM which I will analyze for you.

Prettyboy099 13-08-2020 22:16

CIU 3.0.0.1.b6
 
3 Attachment(s)
Can someone help with the following font -
Attachment 27688

Attachment 27689

It's getting cut at the end..
Following font is being used...


houcine80 14-08-2020 02:51

just problem size bro
increase button size or reduce font size

test the font size with German or Rus language not English only

Prettyboy099 14-08-2020 03:02

2 Attachment(s)
Then, is it same problem for these cases????

Attachment 27693

Attachment 27694

Prettyboy099 14-08-2020 03:09

Quote:

Originally Posted by houcine80 (Post 487409)
test the font size with German or Rus language not English only

Same for all language...

Cesar82 14-08-2020 04:05

@PRETTYBOY099
Check if the same error happens with the font "Arial".
If not, and using right alignment, try moving the label, using LabelX=-5 or more.

Prettyboy099 14-08-2020 04:28

@Cesar82
I have tried as you said. 'Arial' looks fine. But problem with the font. I have changed font size but all seems same. I have send the project via PM.

Cesar82 14-08-2020 08:10

1 Attachment(s)
Quote:

Originally Posted by Prettyboy099 (Post 487413)
@Cesar82
I have tried as you said. 'Arial' looks fine. But problem with the font. I have changed font size but all seems same. I have send the project via PM.

I think I understand what's going on.
the width of the label is defined by obtaining the caption with the font defined by the user.
But since the font you used is an italic font, the width does not include the slant of the text.
I'll put a key in the button group sections to increase the width when necessary (When using Italic fonts).
I will not have time for this now, only at night (noon now here).
Wait for a hotfix that I will post here with this correction and also with the error correction of the finish page.

@Prettyboy099
I downloaded your project, and from what I saw, all labels that have self-adjusting width were cut (Checkbox, Buttons, labels).
Perhaps the correction is a little more complex than I imagined, requiring a different width addition for each fontsize.
Then I see what I can do.
The error was not in my code. Inno Setup's own TLabel with the AutoSize= True property cuts the end of the label when using this font from your project.

------------------------------------------------------------
I added a new key in all sections where it has the Font= key.
The new key added was:
Code:

FontItalicFix=1            // 0 / 1
Attached is 3 scripts for testing.
Add the scripts to the folder and rename the AutorunScript_3.0.0.1.b6 script date to the same date as the hotfix script.
1) One of them contains the correction changes when using italic fonts for testing.
2) Other Includes only a few fixes which are listed below.
3) A third party includes the fixes and also correction changes when using italic fonts (More complete).
Possibly one or the other section may not respond to the command because I didn't have time to analyze each independent label.

Code:

CHANGES:
- Added key FontItalicFix=0  (0 / 1) to all sections that have the Font= key.
- Fixed to use VideoBG.bmp (RGN) / VideoBG.png (Frame) when using only online video (DirectLink or Youtube Link).
- Fixed DesktopCheckbox that didn't work as it should.
  >> Now it is displayed disabled when it has no executables configured for the type of installation being performed (such as when using GOG + STEAM and not configuring an executable for one of them).
- Fixed error in ProgressBar mode when canceling progressbar mode on the Pre-Requiriments page.
- Fixed not to pause the music when minimizing the installer while installing.
- Fixed to display the components of the fullscreen screen (slide, Frame, Logo) before attempting to load the video file (Visible mainly when using online video).
- Fixed OneLiner key = of the [SmallButton] section to make it independent with default value False.
  >> Maximum value 100 (100%) is set in the Opacity key of the equalizers.
- Fixed font of special thanks labels on the about page. I was using the same font size as the translator labels.
- Fixed Left=, Width=, FontColor= keys of the [PageBigTitle] section that did not work.

@Prettyboy099
For your project I think the key should be activated using value 1 at least in the sections: [StandardButton], [StandardButtonAR], [SmallButton] (If you have a smallinstaller), [TextStage] (For labels).
In the [LauncherSettings] section (Checkboxes fonts) is optional because if [TextStage] is enabled it activates as the default value.
Example. If you use a non-italic font on one button and italic on another, you can enable or disable the key (If enabled in the button group section) on the corresponding button.

P.S. I'm redoing a large part of the button code for beta 7 so these changes to fix italic will have to be redone later so I won't do many tests just correcting the errors that arise regarding this fix.

Prettyboy099 15-08-2020 00:41

1 Attachment(s)
Thanks for ur hard work.....
I have checked with the script [ALL FIXES]. Problem has been fixed at all places except -

Attachment 27701

Cesar82 15-08-2020 15:57

1 Attachment(s)
@Prettyboy099
Corrected the default value of the OneLiner key for SmallInstaller buttons to True (It was wrong).
If possible, test attached script in your project with SmallInstaller.
You will need to add the key OneLiner = 0 in the [SmallMusicButom] section to display the button text on two lines.
Check if the SmallMusicButtom button error continues with error and let me know.

Prettyboy099 15-08-2020 19:48

Thanks, now there is no cutting end..

Snake288 16-08-2020 09:32

Hi Pretyboy099
Hi Cesar82

Need For Speed The Run (Autorun.exe) does not open, gives an error warning

https://i.hizliresim.com/PEzpRy.jpg


All times are GMT -7. The time now is 03:48.

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