/build/static/layout/Breadcrumb_cap_w.png

Novice packager batch or vbs?

Hi All,

I'm not sure where to go from here, been tasked to script removal of all Juniper components

In testing I’ve installed the 3 in the following order which is used at build time;

1). JuniperSetupServiceInstaller.msi
2). NCInst.exe
3). WSAMInstNt.exe

In addition, on first connection to the service (https://***.*******.co.uk) the following component is also installed;

Juniper Networks Setup Client

Having installed all 3 components and connected to the service, a client will have the following visible within Programs & Features/Add & Remove Programs;


Juniper Installer Service
Juniper Networks Network Connect 6.5.0Juniper Networks Secure Application Manager
Juniper Networks Setup Client
Juniper Networks Setup Client Activex Control



The request is to create a batch file/script for the clean removal of all the Juniper components. Clients are Windows 7 Professional 32bit and 64bit, and Windows XP SP3.

Any help would be appreciated.

Thanks

0 Comments   [ + ] Show comments

Answers (2)

Posted by: pjgeutjens 12 years ago
Red Belt
0
What I would do is run through all the registry keys in the following location:

HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall

List all subkeys, then look for the DisplayName value in each, check if it contains the substring "Juniper", and if it does, put the UninstallString value for that key in an array.
Then, run each of these UninstallString commands in turn, if you'd like with extra parameters (like /qn or /qb-), checking exit codes for each one..

Unfortunately I don't have time to write up the whole script, but I'm sure you'll find plenty of examples online for each step with a targeted search, or maybe even a willing volunteer here on the forums...

EDIT: and btw, for this I'd go for a vbs every time... but whatever you prefer.

Kr,
PJ
Posted by: Yesmail 12 years ago
Yellow Belt
0
Thanks for the advice, I'll crack on with the vb script
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