Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

possible to block repair while app is running?


1 reply to this topic

overlordchin

overlordchin
  • Full Members
  • 100 posts

Posted 29 June 2011 - 17:40

I added a custom action that calls an installscript method and prevents the installer from installing or removing/modifying the package if the software is already installed and running actively on the users machine. But if you go to add/remove and choose repair from the control panel it WILL allow you to repair the software while it is open. It seems like this would not be desirable behavior. Is there anyway to prevent this through the installshield project?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 July 2011 - 09:18

Windows Installer should show a prompt if any file that it needs to overwrite is locked.
But your custom action to block the installer if the applciation is running should work even from add/remove programs - if sequenced properly (that is: in the InstallExecute sequence)