All,
I have a network protocol that is installed by a legacy application however I was after a way to uninstall this protocol silently via either vbscript OR the command line.

Does anyone have any ideas?

Paul
0 Comments   [ + ] Show Comments

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.

Answers

0
depends what the protocol is you want to mess with.

do you have more details.

this is how you can handle default protocols.

Windows XP and Windows Server 2000 / 2003 have a built-in utility called the System stand-alone Optional Component Manager (sysocmgr.exe) to programmatically add or remove Windows components. Running sysocmgr.exe with no parameters will display the usage. The most basic command line is:

%windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf This parameter (/i:) is always required and specifies the location of the master inf (%windir%\inf\sysoc.inf). When run it simply displays the Windows Components Wizard. Therefore the above command can be used as a shortcut directly to the Windows Components Wizard.

The real power of sysocmgr is in unattended mode. Additional parameters control the user interface, handle restarting, and control which components are added or removed by way of a standard Windows unattended answer file. Sysocmgr only looks in the [Components] and [NetOptionalComponents] sections, so the answer file can be specifically for component management or reused from a Windows unattended installation. Some components have their own unattended answer file sections, which are also parsed.

The following example uses an answer file (/u:) named ocm.txt in the temporary directory (%temp%\ocm.txt), suppresses any necessary restart (/r), and displays no user interface (/q):

%windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:%temp%\ocm.txt /r /q

The following example answer file adds the Simple Network Management Protocol (SNMP) service and configures the agent settings:

[NetOptionalComponents]
Answered 07/29/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
The network protocol is a custom 1 installed by an application, the only options i get are add or remove in network settings.

The protocol appears to be something to do with terminal emulation as this protocol is used by the application when connecting to a server.

Paul
Answered 07/30/2007 by: Inabus
Second Degree Green Belt

Please log in to comment
2
http://itninja.com/question/how-do-you-roll-out-new-machines?4685&mpage=1&key=protocol恿

Modify use of snetcfg accordingly...
Regards,
Al
Answered 07/30/2007 by: AB
Purple Belt

Please log in to comment
0
AB, I take back everything I ever said about you!

Works a treat, protocol uninstalls now successfully, thanks man!

Regards,
Paul
Answered 07/30/2007 by: Inabus
Second Degree Green Belt

Please log in to comment
0
How very rude... you try and help your fellow Packager and all you get is verbal abuse :)
Oh yeah...
Neat utility... glad it worked
Regards,
Al
Answered 07/30/2007 by: AB
Purple Belt

Please log in to comment
0
So basically what Al is trying to say is, you should rate his answer if you feel he deserves the appreciation.

I think everyone is wondering; what did he say about Al [;)]
Answered 07/30/2007 by: AngelD
Red Belt

Please log in to comment
0
hehe, nothing bad I assure you, I dont know the bloke so was only messing :)

Ill try and figure out the rating location and give im a healthy boost :)

Paul
Answered 07/30/2007 by: Inabus
Second Degree Green Belt

Please log in to comment
0
The rating location is right here. Just hit the "Rate post" link at the buttom of his answer.
Answered 07/30/2007 by: AngelD
Red Belt

Please log in to comment
0
No need to rate the post - it was an old post anyway... just recycled
I'll settle for the abuse - it's character building :)
Regards,
Al
Answered 07/30/2007 by: AB
Purple Belt

Please log in to comment
0
hehe, im a good one for abuse, just ask anytime :p

I rated the post anyway, a lot of people would go "search harder there are posts about it" and ignore the fact I spent 2 days trying to find the solution.

Although I had found that utility mentioned before I had been unable to find a download location so just skipped it and moved onto things like dpinst which did nothing for me!

Also im sure your aware that google can be a fickle thing and at the end of the day you need to know the right phrases to search for!

Again, thanks for the post.

Paul
Answered 07/30/2007 by: Inabus
Second Degree Green Belt

Please log in to comment
0
Dude - you're welcome
Check out http://www.blackle.com
It may not improve your searches but it looks cool and helps save the environ...
Al
Answered 07/30/2007 by: AB
Purple Belt

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