Application open dialog
Posted 08 November 2004 - 23:50
"The following applications should be cloased before continuing the installation."
and the choices are: Cancel, Retry, Ignore.
i know why the dialog appears, that's not my question. what i'd like to do is disable the "Ignore" button on this dialog to force the user to close the application in question.
i have confirmed with InstallShiled that this is not their dialog so it must be the MSI or in Windows Installer somewhere.
where is this dialog and how do i access it to change the status of the "Ignore" button. i've attachd a sample of the dialog.
Posted 09 November 2004 - 20:56
else... if the "DLL" is left behind it will continue to "haunt" the application it is hooked into.
Posted 11 November 2004 - 09:22
You could perform your own check for just this DLL and display an appropriate error message. Disabling the Ignore button could be a problem if a file is locked by some other application that the user can't terminate.
Another option would be to have your setup shut down or kill the procerss that lockas the dll, using a custom action before InstallValidate.
Posted 11 November 2004 - 19:38
your explaination does makes it clearer as to why the "Ignore" button should stay.
thanks... i guess we'll stick with what we have.
Posted 11 December 2004 - 00:11
is there a way to change the state of a DLL from "not permanent" to permanent during runtime?
if a DLL is found by my CA to be locked i'd like to mark it as permanent to prevent the MSI "Application open dialog" from poping up.
then i'll use another CA to delete the DLL on reboot.