Closed Bug 27183 Opened 25 years ago Closed 25 years ago

Don't require a restart

Categories

(SeaMonkey :: Installer, defect, P3)

x86
Windows NT

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: michaell, Assigned: ssu0262)

Details

(Whiteboard: [PDT+])

If we detect PSM or some other code running in the installer, we should require that the application running it be quit before continuing with the install. Currently we install anyways and force a restart to swap out the code.
this should be a Beta1 stopper after all the work that went into fixing: http://bugzilla.mozilla.org/show_bug.cgi?id=10432 This is not difficult to fix. There's already code in place to detect mozilla.exe running, and tell the user to quit it before continuing.
Severity: normal → major
Status: NEW → ASSIGNED
Keywords: beta1
Target Milestone: M14
Whiteboard: [PDT+]
okay, it's a little harder when I don't know what to look for. Bob, do you know of a way to detect if psm.exe is running under windows (preferably a window name or classname)? I need to detect and let the user know that it needs to be shut down before install can continue.
To detect if psm is running, call the function CMT_ControlConnect. If the funciton returns NULL, then that means PSM is not running. A non-NULL return value means there already is a PSM running and you can now try to establish a session with it. Of course, this is if you're writing a C/C++ program. Is there a way to look for a proccess by name on Windows from your interface? To get the user to quit PSM, tell the user to quit all applications. When all applications talking to PSM exit, PSM shuts itself down. (If it doesn't, that's a bug that we need to address . Hope this helps.
fixed! It now detects psm.exe as a running process and displays the appropriate dialog message.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
appropriate dialog warns of psm running build 2000021609
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.