/build/static/layout/Breadcrumb_cap_w.png

New hardware Found Wizard problem

Hey ,

I am trying to install a repackaged McAffe Desktop firewall 8.0 application.
As soon as i restart the machine to compete installation, New hardware found wizard pops up. Need to cancel it everytime...

Also when i uninstall the application and restart the system to complete uninstallation, i get this hardware wizard pop up.. Could there be any problem with the packaged MSI or could it be anything to do by the application itself...

0 Comments   [ + ] Show comments

Answers (10)

Posted by: bheers 15 years ago
Second Degree Blue Belt
0
that is the problem with the msi for sure. check the registry, current control set or hardware registry
Posted by: charan 15 years ago
Orange Belt
0
I am not able to pick out the registry causing problem.
I tried in Currentcontrolset, but couldn't find a registry related to hardware..

Help me out if u have any knowledge on that
Posted by: skj 15 years ago
Second Degree Brown Belt
0
I thinx it shd already have MSI just create MST to suite ur org requirement:)
Posted by: MSIMaker 15 years ago
2nd Degree Black Belt
0
Sounds like it is installing a device driver.....which one is it?

You may need to use the PNP driver template to install it.
Posted by: charan 15 years ago
Orange Belt
0
Does application McAfee Desktop Firewall 8.0 has MSI in it....
My source has a VBScript which calls a lot of setup's inside the script..
When i search for %temp% folder, when i run the script.. the temp folder has a setup launcher inside it.. there is no MSI..

Can u plz help me out on this..

Has anyone successfully MSIed the above application..
Posted by: MSIMaker 15 years ago
2nd Degree Black Belt
0
charan,

Does it run from a Setup.exe?

If it does then do the following

Go to your Temp folder in C:\Documents and Settings\[Username]\Local Settings\Temp and delete anything there.

Now run the Setup.exe and STOP!

Go to your Temp folder in C:\Documents and Settings\[Username]\Local Settings\Temp and se if there is an msi and files in there. IF thee are then its an msi install.

You can copy that out and fiddle with it.
Posted by: charan 15 years ago
Orange Belt
0
I checked out, it doesn't have MSI ...

It has to be repackaged...

Plz if anyone knows how to eliminate this 'Found new hardwar4e wizard" pop up help me out.

Every time i restart my machine after installing the application, i get this pop up..
Also i get this pop up when i uninstall the application and REBOOT my machine...

Plz help me out if anyone has any idea abt it..
Posted by: VikingLoki 15 years ago
Second Degree Brown Belt
0
I think you're taking on a pretty daunting task with this one. Firewalls go a bit deeper than most apps and may be out of the scope of what Windows Installer is designed to do. It may be possible to package a firewall, but that's probably be pushing the limits. I've never heard of anyone packaging a SW firewall, I'd love to see it if it exists.

My guess is that the firewall might be masquerading as hardware in order to inject itself into the system and thereby accomplish it's task. Something is probably missing from your MSI, or something needs to be in place beyond the scope of Windows Installer. You'll have to dive deep into the file & registry. You may want to use FileMon and RegMon during the point where the hardware popup occurs to see exactly what is or is not found at that point. Yes, that will be tedious.

A better bet might be to avoid packaging this one if you can get away with it. Here's a link to the silent install of McAfee Desktop Firewall. McAfee KB Article

(edited to keep a long URL from mussing up the whole thread)
Posted by: charan 15 years ago
Orange Belt
0
Hey thanks for ur responses..

I got that problem resolved..

There was a registry missing in CurrentControlSet..

I have one more query..

To uninstall the application..
I have written a VBScript mainly using taskkill command to kill services..
The script works fine from outside.. but when i embed the script in MSI as a custom action, though the script get's executed, it doesn't kill the services..

The services Imagename in taskmanager view is shown as SYSTEM, so i can't use SC/NET coomands to stop services.. Plz anyone provide me a script that helps stop/kill a service of imagename SYSTEM, that works fine when i embed the script in MSI
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
On Error Resume Next

Call CheckProcess("WinVNC.exe", ".")


'=======================================================================
'

Function KillProcess (sProcess, sComputer)

Dim oWMIService
Dim oItems
Dim oItem

Set oWMIService = GetObject ("winmgmts:\\" & sComputer & "\root\cimv2")
Set oItems = oWMIService.ExecQuery ("Select * from Win32_Process", , 48)

For Each oItem In oItems

If oItem.Name = sProcess Then
KillProcess = oItem.Terminate
If KillProcess <> 0 Then MsgBox "Attempt to stop process " & sProcess & " has failed."
End If

Next

End Function

Function CheckProcess (sProcess, sComputer)

Dim oWMIService
Dim oItems
Dim oItem

Set oWMIService = GetObject ("winmgmts:\\" & sComputer & "\root\cimv2")
Set oItems = oWMIService.ExecQuery ("Select * from Win32_Process", , 48)

For Each oItem In oItems

If oItem.Name = sProcess Then
sRet = msgbox("This Process is still running " & oItem.Name , 36, "Toast me ? " & oItem.Name)
If sRet = 6 Then
call KillProcess(oItem.Name,".")
end if
End If

Next

End Function


'=======================================================================
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ