Problems with Enhanced UI in 14.0.x - Advanced Installer Community
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Problems with Enhanced UI in 14.0.x

Hello,

we have some problems, I think since using 14.x...

After trying "Enhanced UI on uninstall..." maybe the option cannot really be deactivated, in AI IDE the option is disabled, but when trying to uninstall ui is the same.

When using this option, uninstall of setup via Windows control panel causes not to uninstall but to try an Installation.

All dialogs in the current theme have sepcific background pictures assigned, in themes area we created my_background and used with indirect in all dialogs...
In AI IDE ALL(!!!) dialogs are shown correctly with our own background image. When installing the setup everything is fine.
When uninstalling via control panel the dialogs DO NOT use our own background.

Can you help? Do you need the AIP file?

Thank you and best regards,
Bernd
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Problems with Enhanced UI in 14.0.x

Hello Bernd,
After trying "Enhanced UI on uninstall..." maybe the option cannot really be deactivated, in AI IDE the option is disabled, but when trying to uninstall ui is the same.
By default, "Extend EXE user interface on uninstall and maintenance" is unchecked. If an uninstall is triggered from Control Panel, a non Enhanced UI interface is shown. If the option is selected, the enhance UI is shown but after that, if the option is unchecked again, the user should also go to "Product Details" page and uncheck "Use a single "uninstall/Chance" button instead of separate buttons for each operation". In this way the uninstall from Control Panel will be triggered in non Enhanced UI mode.
When using this option, uninstall of setup via Windows control panel causes not to uninstall but to try an Installation.
We have tested but could not reproduce this issue. Please note that the default mode triggered from Control Panel is Maintenance mode. If you want to uninstall it directly from Control Panel, you should uncheck "Use a single "Uninstall/Change" button instead of separate buttons for each operation" option from "Product Details" page.

Regarding your last problem, please make sure you use "Extend EXE user interface on uninstall and maintenance" option from "Themes", "Settings tab" page and that you use the custom background for maintenance dialogs too.

If this doesn't help, please send us the .AIP (project) of the installation to support at advancedinstaller dot com so we can investigate it.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Problems with Enhanced UI in 14.0.x

Hello,

this did not help, when I click the combined change/remove button in the control panel of Windows an installaion is starting, NO uninstall is possible!

Best Regards
Bernd
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Problems with Enhanced UI in 14.0.x

Hello,

We couldn't investigate your .AIP project because it contains a reference to a dialog from your repository - "DeviceType_PAtools_71.aip" . Please email us this dialog. You could find it in:

Code: Select all

C:\ProgramData\Caphyon\Advanced Installer\Repository\Dialogs\DeviceType_PAtools_71
The expected behaviour if you select "Use a single "Uninstall/Change" button instead of separate buttons for each operation" is to launch the installation in maintenance mode.
A dialog containing information regarding the maintenance will be shown. After you click on the next button a new dialog containing three options is shown. For uninstall you should click "Remove".
Please have a look on the attached screenshots.
Is this your situation?

Best regards,
Sorin
Attachments
screenshot1.jpg
screenshot1.jpg (47.63 KiB) Viewed 12486 times
screenshot2.jpg
screenshot2.jpg (53.72 KiB) Viewed 12486 times
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Problems with Enhanced UI in 14.0.x

I understand this, but the dialog with remove button won't be shown :-(

Bernd
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Problems with Enhanced UI in 14.0.x

Sorry for the missing dialog, I sent it per mail to support.

Is it possible to get the AIP file corrupt when switching between dialogs, themes, images...
...I ask this because for example the background property for background images was not displayed anymore in the themes area, but could not be recreated because AI said, it already exists.

Best regards,
Bernd
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Problems with Enhanced UI in 14.0.x

Hello,

Thank you for your email! We have created a test project with similar settings as yours but everything went fine. The remove option worked when uninstalling from control panel.. Could you reproduce this issue on a new project? Also it would be helpful if you could provide a download link for an installation which reproduces this issue, and a more detailed test case containing, if possible, screenshots with your behaviour.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Problems with Enhanced UI in 14.0.x

Hello,

I have sent the api and a download link to support with the complete setup, I removed all merge modules, all files and so on, setup is only 11 MB.

- Please install the Setup
- Click on desktop computer on one of the dialogs
- use Complete setup

After successfull installation try to uninstall it from control panel. No uninstallation is possible. The installation is starting again.

I've created the aip from file created with 13.8.1 and changed all the things with enhanced ui

Bernd
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Problems with Enhanced UI in 14.0.x

Hello,

I've sent you another version with screenshots.

For me it's all reproducable...

- if I use the setup without "using one button for delete/uninstall" and without "overwrite windows installer..." and without the "extend user interface for uninstall..." options things are ok
- if I use the setup with "using one button for delete/uninstall" and with "overwrite windows installer..." and without the "extend user interface for uninstall..." options then custom backgrounds and other custom pictures and icons are not used during uninstall
- if I use the setup with "using one button for delete/uninstall" and with "overwrite windows installer..." and with the "extend user interface for uninstall..." options no uninstallation is possible

I will remove all the options from the project...

Maybe bugy usage of custom images already occured before 14.x but the last option is available from 14 on, isn't it?

Maybe the enhanced ui changes in last versions of ai are the problem?

Best regards,
Bernd
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Problems with Enhanced UI in 14.0.x

Hello,

another problem...

When using none of the options activated from the post before, uninstall is working, using the single modify button shows the dialog wihtout the custom images. :-(

In 13.8.1 this was working.

Best regards,
Bernd
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Problems with Enhanced UI in 14.0.x

I changed options...
...now there is a another error, installation is abborted with error.

I believe you can click and change some options in the AI 14.x, activate it and deactivate it and after that you have the project in a different state.
The AIP file everytime looks a bit different...

Sorry, but in this case version 14 is a mess, not usable.

Now I found, ...the issue with custom images not used dialogs already exists in 13.8.1... it was not correct in this version too.
Maybe image path of the custom image is not used but replaced with a theme path or repository path, I don't know and it is very frustrating, because I sent you an example project and nobody answers...

Bernd
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Problems with Enhanced UI in 14.0.x

Hello Bernd,

Thank you for the sample setup file. We have tested and we have reproduced your behaviour. This issue is due a limitation in our support for multilingual setups.
The issue here is that your project has different product codes for each language. If the user install German language version, then when trying to uninstall the application from Control Panel, Windows Installer searches for the English product code. As the English language version is not installed, the product code is not found, thus the install is triggered. This behaiviour is not encountered for the English version installation.

A workaround to this problem is to go to "Product Details" page, "Product IDS" and replace the German product code with the English one.

Hope this works!

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Problems with Enhanced UI in 14.0.x

Hello Sorin,

but this behaviour only occurs when...

- if I use the setup with "using one button for delete/uninstall" and with "overwrite windows installer..." and with the "extend user interface for uninstall..." options no uninstallation is possible

Why not always? Will there be a fix for this issue?

And what about the images for backgrounds of the dialogs etc., they are missing in all the maintanance dialogs...?

Best Regards,
Bernd
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Problems with Enhanced UI in 14.0.x

Hello Bernd,

This behaviour is due to a limitation in our EXE Pakage type with multilingual support. The only workaround at the moment is to change the product codes of all the languages contained by the package to the same product code.

Unfortunately, at the moment, we don't know if or when this could be fixed.
And what about the images for backgrounds of the dialogs etc., they are missing in all the maintanance dialogs...?
This happens because "Extend EXE user interface on uninstall and maintenance" is not enabled from "Themes" page, "Settings" tab. Without this option the themes will not be displayed properly when a maintenance/uninstall is triggered from control panel.

Best regards,
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Problems with Enhanced UI in 14.0.x

Hello,

I change options to use enhanced UI again for Uninstall... and after using same product codes for German and English installations everything is working like expected.
sorry for the discussion and thnk you very much.

Best regards,
Bernd

Return to “Common Problems”