An image that looks unusual even when using an enhanced user interface - Advanced Installer Community
kyskids
Posts: 10
Joined: Mon May 22, 2017 3:35 am

An image that looks unusual even when using an enhanced user interface

Hello.

In Maintenance Dlg, when an image looks abnormal I've searched a lot to fix it.

I saw an article asking to use an improved user interface as a workaround.

However, even if you use the enhanced user interface as shown in the attached photo, the image looks abnormal.(Create a new aip to test with the default theme)

The first picture is the test AIP.
Notice that the default MaintenanceDlg looks abnormal.

(Second picture) You can see that the background color of info.ico of CancelDlg is grayed out or the border Of buttons (third picture) is gray.

I am using version 9.5 and would like to know the solution.
first.JPG
first.JPG (139.83 KiB) Viewed 11137 times
second.jpg
second.jpg (60.33 KiB) Viewed 11137 times
third.png
third.png (894.08 KiB) Viewed 11137 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: An image that looks unusual even when using an enhanced user interface

Hi,

This may appear if you run the MSI package instead of the EXE one. Please read the "Why are my dialogs and controls not displayed correctly" FAQ for more details.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kyskids
Posts: 10
Joined: Mon May 22, 2017 3:35 am

Re: An image that looks unusual even when using an enhanced user interface

Thanks for the reply.
We already knew that, so we created exe and msi and ran it as an exe.
But I still have the same symptoms.
kyskids
Posts: 10
Joined: Mon May 22, 2017 3:35 am

Re: An image that looks unusual even when using an enhanced user interface

this is AIP.

I changed and tested the bitmap interface.
We also changed and tested the user interface.
There was no use.
Attachments
ControllerTester_2.9.aip
(241.18 KiB) Downloaded 677 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: An image that looks unusual even when using an enhanced user interface

Hi,

In the attached project the "Enhanced User Interface" feature is enabled "Only on install" in the "Themes" page, "Settings" tab, hence the abnormal UI may appear on the uninstall of the package. Can you check the "Always (install, uninstall and maintenance)" option and see if the problem disappears?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kyskids
Posts: 10
Joined: Mon May 22, 2017 3:35 am

Re: An image that looks unusual even when using an enhanced user interface

Like the first picture, msi and exe were created. We ran the exe.

The trashcan image is displayed abnormally.

In the picture, the checkbox border is still gray, and info.ico is shown abnormally.

It is useless to check the "Always (install, uninstall and maintenance)" option.
Attachments
New Picture.jpg
New Picture.jpg (425.26 KiB) Viewed 11100 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: An image that looks unusual even when using an enhanced user interface

Hi,

Can you please strip down your project to a basic size containing only some resources necessary to reproduce the issue and send it to support at advancedinstaller dot com, so I can build it and investigate the issue? Do you uninstall the package through an uninstall shortcut? Can you please detail the steps you follow to reproduce the problem?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kyskids
Posts: 10
Joined: Mon May 22, 2017 3:35 am

Re: An image that looks unusual even when using an enhanced user interface

Hello.

It is possible to reproduce it with a simple new aip, not the actual aip of our program.

Run Advanced Installer 9.5 - new - Project Type (Installer) - Enterprise - Create Project.
Attach the aip file that causes the same symptoms.


Build the project with the corresponding aip and run the generated setup file to install it.

When the installation is finished, run Uninstall shortcut on the desktop to try to remove it.

The issue occurs at this time.
Attachments
Archive.zip
(125.22 KiB) Downloaded 483 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: An image that looks unusual even when using an enhanced user interface

Hi,

In order for the dialogs UI to be displayed correctly when Enhanced UI is enabled and the uninstallation is done through an uninstall shortcut, you need to edit that shortcut and use the "AI_UNINSTALLER" property in the "Shortcut Target" field ( Shortcut Target: [AI_UNINSTALLER] ).

Let me know if you encounter other problems.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kyskids
Posts: 10
Joined: Mon May 22, 2017 3:35 am

Re: An image that looks unusual even when using an enhanced user interface

Thanks.
I solved the problem thanks to you.

I want to ask a different kind of question. (Aip is in the above article)
1. How to get the CheckBox Component's Disable state
- I want to determine whether CheckBox is checked according to the Disable status of CheckBox.

2. Lost focus in MaintenanceTypeDlg.
[User Interface - Always setting status]
* (Maintenance Mode) Click Next on MaintenanceWelcomeDlg.
* If MaintenanceTypeDlg appears, I lose Focus.
MaintenanceTypeDlg Previous dialogs work like hot keys like 'Alt + N'.
However, when MaintenanceTypeDlg appears, neither the Tab nor the 'Alt + C' shortcut will work.
So if you grab the focus to another window and grab the Uninstall Dlg again, then the shortcut will work.|
New Picture.jpg
New Picture.jpg (211.2 KiB) Viewed 10996 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: An image that looks unusual even when using an enhanced user interface

You're welcome. I'm glad you solved the problem.
1. How to get the CheckBox Component's Disable state
In order to achieve this, you can check if the property related to that checkbox is set or not. For example, if you want to see if the checkbox is not checked you can use the following condition: NOT CHECKBOX_PROP
2. Lost focus in MaintenanceTypeDlg.
I build and tested the project you attached above, but I couldn't reproduce the problem. Can you reproduce it on multiple clean machines? If so, can you send me a sample package that reproduces the problem?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kyskids
Posts: 10
Joined: Mon May 22, 2017 3:35 am

Re: An image that looks unusual even when using an enhanced user interface

Hello!

I'll talk about the question again and I'll ask more questions.

1. I wonder if I can get the Enable or Disable state, not the Check or UnCheck state of the CheckBox.

Ex) If A CheckBox is Disable, check B CheckBox.

2. Investigate the case of losing focus. If the 'Next' button had a Control Conditions setting, the focus was lost. If I set the same control conditions on the 'Cancel' button, I did not lose focus and the shortcut worked.
For more information, please reproduce the attached file 'Test AIP for Eusebiu' sent by e-mail. (support@advancedinstaller.com)
b.jpg
b.jpg (534.43 KiB) Viewed 10982 times

New question
3. This is an issue when running our product setup file on an English OS computer.
(See the picture.) If you run setup.exe, it will disappear for the first time. It looks like Korean instead of English.

We could not write Korean, "Preparing ..."("준비중...") anywhere.
New Picture.jpg
New Picture.jpg (51.73 KiB) Viewed 10985 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: An image that looks unusual even when using an enhanced user interface

Hi,
1. I wonder if I can get the Enable or Disable state, not the Check or UnCheck state of the CheckBox.
Ex) If A CheckBox is Disable, check B CheckBox.
I'm afraid that the Enable/Disable state of a checkbox cannot be verified. However, you should know the default state of that checkbox and also know if that state may be changed depending on a condition. So you can check that condition to see if its default state was changed of if it is still in the default state.
2. Investigate the case of losing focus. If the 'Next' button had a Control Conditions setting, the focus was lost. If I set the same control conditions on the 'Cancel' button, I did not lose focus and the shortcut worked.
For more information, please reproduce the attached file 'Test AIP for Eusebiu' sent by e-mail. (support@advancedinstaller.com)
I tested your project and, indeed, I reproduce the issue. It appears because the "Next" button is set as the default control on that dialog, but when it is disabled the focus is lost. In order to avoid this, you can use the "Edit" toolbar button and set set as default a control that never gets disabled.
New question
3. This is an issue when running our product setup file on an English OS computer.
(See the picture.) If you run setup.exe, it will disappear for the first time. It looks like Korean instead of English.

We could not write Korean, "Preparing ..."("준비중...") anywhere.
We investigated this in the past and we found that the "Preparing..." dialog is displayed by Windows Installer in the default language of the package. This seems to be a Windows Installer limitation/issue that we cannot address. I'm sorry for the inconvenience.

Just let me know if you have other questions.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kyskids
Posts: 10
Joined: Mon May 22, 2017 3:35 am

Re: An image that looks unusual even when using an enhanced user interface

I was impressed by your kind reply.

Thank you so much.

The problem has been solved.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: An image that looks unusual even when using an enhanced user interface

You're welcome. I'm glad I could help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”