I am using Advanced Installer version 14.2 and notice that there is a dialogue in the Dialog table named BasicUIDlg. What's it for? It's a different size to all the other dialogues, does not appear in the Dialogs panel (hence will never be seen), can't be inserted in the dialog sequence and can't be edited, contrary to what it says in this thread. I have searched the online help and it's not mentioned. I have searched the forum and it's only mentioned once (in the above thread). Can I safely delete it (if that's even possible) or does it serve some insidious purpose? If it serves a purpose, it should be documented.
This is the dialog that will be displayed during a installation with Basic UI level. You could trigger this kind of install by launching the package with the "/qb" command line. Also, please do not delete it.
Understood. Thank you. This is the little dialogue that shows the installation progress.
I did some testing and unveiled a bug in Advanced Installer. All my dialogues use [ProductName] in the title bar. I could not change this for BasicUIDlg, because there is no dialogue to edit. So I changed it in the Table Editor. This gave me the green box which would not disappear, even after saving and rebuilding, so I tried reverting to [ProductName] [Wizard]. The green box disappeared, but the green bar in the Tables panel did NOT disappear. When I built it and ran it using the basic UI (/qb option from command line), the title showed as [ProductName], NOT [ProductName] [Wizard]. I opened the MSI in Orca and the title was [ProductName]. So what is now shown in the Advanced Installer project and what is shown in the MSI is different and I have a green bar that won't go away. Can you please fix this?
Why do you need this dialog at all? I checked my installer for an earlier version built with InstallShield and it does not have this dialog but it still shows up when you install using a basic UI. I always thought this was provided by msiexec.exe.
We tested the scenario but were not able to replicate the bug.
Can you please make sure you use the "Revert" context menu option in "Table Editor" page to undo the changes you added for the "BasicUIDlg" row from "Dialog" table?
If this still doesn't help you please try to isolate the behavior in a sample project and send it us alongside a detailed step by step test case which we can follow to replicate the issue too.
I had done a revert. The green box disappeared, but the green bar did not.
I did a small project and tried to replicate the problem, but the change/revert sequence worked correctly and the green bar disappeared as it should. So, Advanced Installer had screwed up something in the original project, but I don't know what. There is nothing suspicious in the ai project file, so the fault lies somewhere else. There should be a single source of truth and that should be reflected in the project file. This inability to make changes in the table editor and have them reflected in the UI is driving me crazy. I am going to have to restart the project from scratch if I want to get rid of that green bar. I don't feel comfortable seeing it there, because I don't know what's happening under the hood.
I did some further tests. I built a simple project and ran it from the command line using the /qb option. The progress dialog was NOT the same as that shown for BasicUIDlg in the table editor. The title bar showed [ProductName], NOT [ProductName] [Setup]. I opened the msi file in Orca and searched for BasicUIDlg. There were no references other than those that defined the dialog and its controls.
I then deleted BasicUIDlg in the table editor and rebuilt the msi file. The results were identical, except that there were no references to BasicUIDlg in the msi file.
So, this BasicUIDlg is a furphy. It is not used anywhere (at least not in an msi project), so what's the point of having it at all?
This dialog is included by default in all setup packages built with AI. Also, this dialog is displayed only during a basic UI installation of an EXE setup type. An EXE setup package consists in two set of dialogs: EXE and MSI dialogs. The EXE dialogs are displayed during EXE features installation (pre-install prerequisites, multiple instances selection, etc). When the EXE dialogs are configured to run with basic UI this dialog will be displayed.
Here is a scenario to test:
1. create an EXE package type
2. add a pre-install prerequisite tp your setup project configured to always install
3. go to "Dialogs" page and set the "EXE Bootstrapper -> Pre-install UI -> UI level" option to basic UI
Thanks Daniel. As I never build exe projects, I could delete this dialogue without any harm being caused. I won't do that, but I'll know that it's okay to ignore it.
FOLLOW US
Get the latest news in Application Packaging