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.

Detect running before uninstall

1 reply to this topic


  • Members
  • 2 posts

Posted 19 August 2004 - 09:37

I need help, hints to set up a condition that can indicate if an installed service is running or not before I proceed with the uninstall action. I want to give the user a message to take down the system manually/controlled before uninstallation of the software.
I use ISDEV7.04 and the a Basic MSI project.


Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 19 August 2004 - 10:41

Take a look at the "Starting, Stopping and Deleting NT Services" sample at http://www.installsi.../en/isp_svc.htm, particularly the _IsNTServiceStopped function.