Hi friends,

I am working on Watch guard firebox system application. got the msi made without any errors. and it installs perfectly
but when I uninstall it and try to reboot the system it keeps on rebooting. and the system crashes.

the application involves the web blocker server (wbserver.exe) with it. when I removed it from the application while making the MSI, I did not get the above problem upon uninstall,it works fine.

All I want to know is the exact reason why does this happen and what is the role of the web blocker server in this problem.

thanks in advance
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Hi Pavan:

I think the problem lies when you are uninstalling the MSI its not stopping the background process that is wbserver.exe and its not able to locate the file c:\program files\wbserver.exe since it has been removed during uninstall and this process is still trying to locate the file and thats why the system is crashing. Thats why when you are not including this file then everything goes fine. What I would suggest is you should kill the process from the memory wbserver.exe (you can write a vbscript that will do this or write a wise script file) and then run the uninstallation process. You can place this vb script in a custom action in User Interface tab so that the process is killed at the very beginning and then the uninstallation will start. Hope this would help you.
Answered 08/24/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
Hi Pavan,

This script could be fine enough to kill the process include it in the custom action to kill the process and specify the appropriate situation when it needs to be executed and specify the execute condition as Installed AND REMOVE="ALL".

Option Explicit
Dim objWMIService, objProcess, colProcess
Dim strComputer, strProcessKill, objnetwork
'Set objNetwork = CreateObject("WScript.Network")

strComputer = "."
strProcessKill = "'bbcomm.exe'"

Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")

Set colProcess = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = " & strProcessKill )
For Each objProcess in colProcess


' End of WMI Example of a Kill Process
Answered 08/30/2005 by: DevGowda
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity