Ahoy,
I'm using AI 7.7 build 28804
I searched this forum for similar posts and found a few which discuss seeing an empty FilesInUse dialog:
- http://www.advancedinstaller.com/forums ... f=2&t=9747
- http://www.advancedinstaller.com/forums ... f=2&t=9759
- http://www.advancedinstaller.com/forums ... =2&t=11313
It sounds like WI is responsible for populating the listbox and that AI doesn't have much control over that. However, I've found markedly different behavior when using the AI Enhanced UI vs the basic UI. Here are the basic steps to reproduce the problem:
===== Project =====
* Java project, application type GUI, do not include a JRE (user must get it separately)
* enable Enhanced UI
* select "Automatically upgrade older product versions" option
===== Build =====
* build version 1.0.0 and set aside
* build version 1.0.1 (using new Product Code)
===== Install Base =====
* install version 1.0.0 on a WinXP machine that does *not* have a JRE installed
* run the native-launcher EXE
* since there is no JRE available, the native-launcher should display the "JRE Not Found" dialog:
* leave the "JRE Not Found" dialog open
===== Install Upgrade =====
* run the 1.0.1 installer, click-through to the VerifyReadyDlg and click "Install"
* sometime after the ProgressDlg says "Searching for installed applications", the FilesInUse dlg will trigger
* the FilesInUse listbox is empty:
* click "Exit" to cancel the upgrade
* now change your AI project to use the basic UI and rebuild version 1.0.1
* run the 1.0.1 installer with basic UI, repeating the same steps as before
* when the FilesInUse dlg is triggered, it now lists the "JRE Not Found" window:
This behavior is always reproducible. I only used the "JRE Not Found" dlg because it's a simple example that can easily be reproduced without any knowledge of my app. (When the JRE is available and my app is actually running, I still observe an empty FilesInUse dlg.) This sharp difference between the Enhanced UI and basic UI suggests that there is a bug somewhere.
Interestingly, the problem does not happen when installing on a Win7 machine. With both the Enhanced UI and the basic UI, the FilesInUse dlg does list the application. I'm guessing this is because of the improvements made in WinVista with the Restart Manager.
Thanks,
Todd