cancel
Showing results for 
Search instead for 
Did you mean: 

Help scripting removal of Juniper ActiveX Objects

SOLVED
Jickfoo_
Super Contributor

Help scripting removal of Juniper ActiveX Objects

I'm writing a script to automate the uninstall of NetConnect, Host Checker and the Installer service. I also clean up the folders and such.

One thing I cant script is the removal of the Active X Components. The controls are:

JuniperSetupSP1 Control for version 6.0R7

JuniperSetupClientControl Class for version 6.5R3.1

I've run into times where problems were not resolved until we manually removed these objects.

Any help would be greatly appreciated. Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
SonicBoom_
Regular Contributor

Re: Help scripting removal of Juniper ActiveX Objects

this is what i use so hopefully it helps

'regsvr32.exe /u /s "C:\Windows\Downloaded Program Files\JuniperSetup.ocx"

'regsvr32.exe /u /s "C:\Windows\Downloaded Program Files\JuniperSetupClient.ocx"

delete "C:\Windows\Downloaded Program Files\JuniperSetup.*"

delete "C:\Windows\Downloaded Program Files\install.log"

delete "C:\Windows\Downloaded Program Files\string_*.properties"

View solution in original post

9 REPLIES 9
cbarcellos_
Regular Contributor

Re: Help scripting removal of Juniper ActiveX Objects

Are you using WSH?

Have you seen examples like this? http://support.citrix.com/article/CTX372760

The write up above might help you get this removal accomplished. Note: I think that MS requires you to be an admin user to remove ActiveX objects.

Jickfoo_
Super Contributor

Re: Help scripting removal of Juniper ActiveX Objects

Thanks for the reply.

Actually I'm using Wise Installer 9. I can call scripts if needed.

Apparently it's not as simple as deleting a file or removing a registry key.

rdit_
Regular Contributor

Re: Help scripting removal of Juniper ActiveX Objects

would you mind sharing that script with us? think that would help a lot of admins. one click - everything juniper installation/folders gone. would be great.

Jickfoo_
Super Contributor

Re: Help scripting removal of Juniper ActiveX Objects

will do. I have a previous version out here somewhere.

SonicBoom_
Regular Contributor

Re: Help scripting removal of Juniper ActiveX Objects

this is what i use so hopefully it helps

'regsvr32.exe /u /s "C:\Windows\Downloaded Program Files\JuniperSetup.ocx"

'regsvr32.exe /u /s "C:\Windows\Downloaded Program Files\JuniperSetupClient.ocx"

delete "C:\Windows\Downloaded Program Files\JuniperSetup.*"

delete "C:\Windows\Downloaded Program Files\install.log"

delete "C:\Windows\Downloaded Program Files\string_*.properties"

Jickfoo_
Super Contributor

Re: Help scripting removal of Juniper ActiveX Objects

SonicBoom,


That worked, thanks! Couldn't find the string properties though.

I will post the install when I'm done.

rdit_
Regular Contributor

Re: Help scripting removal of Juniper ActiveX Objects

would you post the script itself? ;-) would be interested in which files you remove.

thanks in advance!

SonicBoom_
Regular Contributor

Re: Help scripting removal of Juniper ActiveX Objects

i'd love to have a script for it to run all at once, i run them manually, guess im smart in some areas and not so much in others so it balances out...Smiley Very Happy

Jickfoo_
Super Contributor

Re: Help scripting removal of Juniper ActiveX Objects

Guys, I started a new main topic about the uninstallers and attached the current scripts. Let me know if they are of any assistance.