No Enhanced UI after silent install? - Advanced Installer Community
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

No Enhanced UI after silent install?

I am using the Enhanced UI and depend on its functionality for maintenance mode dialogs. I've discovered that if the installer is initially run in silent mode (/qn switch, for example), it seems that the bootstrapper does not get cached in C:\ProgramData\Caphyon\Advanced Installer\[ProductCode]\[Setup.exe]. Also the UninstallString and UninstallPath in the registry are set to "msiexec /i {ProductCode}" rather than pointing to the cached bootstrapper (if it were there of course).

This is all despite the fact that the "Use Enhanced User Interface" setting under Themes -> Settings is set to "Always."

My guess is that the caching of the bootstrapper and setting of the registry values mentioned above happens during the UI sequence? But why should the decision to use Enhanced UI for maintenance/uninstall depend on whether the initial install used a UI? In a mass deployment situation, our application will be installed silently, but users will need maintenance UI functionality. Please tell me how to address this. Thank you.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: No Enhanced UI after silent install?

Hello and welcome to our forums,

Indeed, this seems to be an Advanced Installer issue, thank you for bringing it to our attention. A fix will be available in a future version of Advanced Installer. We'll update this thread as soon as the fix will be out.

Until then, I'm afraid I'm not aware of any workaround which can be used.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: No Enhanced UI after silent install?

Thank you for your response. I will wait patiently for the fix. :)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: No Enhanced UI after silent install?

Hello,

You're welcome.

I've talked with our development team and as a workaround instead of installing the setup completely silent you can install it with reduced UI (/qr). Please let us know if this is a suitable workaround for you.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: No Enhanced UI after silent install?

I'm afraid that won't be an acceptable alternative. We cannot prevent a user from using the /qn switch, and given that we need to support mass deployment, completely silent installs are a standard expectation.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: No Enhanced UI after silent install?

Thank you for your feedback.

We'll try to fix this in a future version of Advanced Installer so the EUI be supported on uninstall even when the product was installed completely silent. We'll update this thread as soon as the fix will be out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: No Enhanced UI after silent install?

Do you have any estimate as to when this might be fixed?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: No Enhanced UI after silent install?

Hello,

Unfortunately, I cannot give you any estimate (even a very rough one) for this. We'll update this thread when the improvement will be out.

Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: No Enhanced UI after silent install?

Hello,

This was fixed in version 12.6 of Advanced Installer released on December 8th, 2015.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: No Enhanced UI after silent install?

I've finally gotten to testing this in version 12.6.1. There are a couple issues:

* When running silently, the bootstrapper never returns. You can easily reproduce this by creating a test project with "Use Enhanced User Interface" set to "Always" and installing with /qn. Notice that the bootstrapper executable stays alive after the install is finished. If you use start /wait from the command line, it will never return.

* When running silently, pre-install prerequisite return values are not passed to the main MSI (the return value property is never set). This seems to work properly when running with UI.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: No Enhanced UI after silent install?

Hello,
* When running silently, the bootstrapper never returns. You can easily reproduce this by creating a test project with "Use Enhanced User Interface" set to "Always" and installing with /qn. Notice that the bootstrapper executable stays alive after the install is finished. If you use start /wait from the command line, it will never return.
Indeed this is another issue which seems to have been emerged recently in Advanced Installer. We are aware of it and a fix will be available in a future version of Advanced Installer. We will update this thread as soon as this fix will be out.
* When running silently, pre-install prerequisite return values are not passed to the main MSI (the return value property is never set). This seems to work properly when running with UI.
Can you please send us the AIP (project file) to support at advancedinstaller dot com so we can investigate its settings? I've tested the scenario but everything went well. If you could iterate a detailed step by step test case this will be great too.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: No Enhanced UI after silent install?

After some further testing, the culprit here seems to be the /exelog bootstrapper switch. I always run with that switch, so I always saw the issue. Without that switch, both issues noted above do not occur.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: No Enhanced UI after silent install?

Hello,
* When running silently, pre-install prerequisite return values are not passed to the main MSI (the return value property is never set). This seems to work properly when running with UI.
After some further testing, the culprit here seems to be the /exelog bootstrapper switch. I always run with that switch, so I always saw the issue. Without that switch, both issues noted above do not occur.
Indeed, using the "/exelog" switch I can replicate the issue. This seems to be another AI issue, thank you for bringing it to our attention too. We'll notify you when a fix will be out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: No Enhanced UI after silent install?

Hello,

This was fixed in version 13.6 of Advanced Installer released on February 15th, 2017.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”