Hi,
Is it possible to prompt a dialog box at the beginning of the installation process asking users to close any opened web browser?
Yes, it is. Create a new Script Inline Custom Action scheduled on the
InstallUISequence -> Begin (not
InstallExecuteSequence because it would be too late). Set the following properties for this Custom Action:
- Script Text:
Code: Select all
MsgBox "Please close any opened web browsers", 48, "Title"
- Execution Condition: (Not Installed)
Ideally I would like to check if any web browser is currently opened, if so, prompt that window "please close your web browser"
This is also possible using a much more complex Custom Action. Basically, you need to find all the browser windows (using their titles) and send a message or a key sequence (Alt+F4) to each of these windows. However, taking into consideration the large number of web browsers and the complexity of this Custom Action, I do not think it is worth the effort.
Regards,
Denis