/build/static/layout/Breadcrumb_cap_w.png

Juniper Network Client ActiveX component Silent uninstall.

Hi,
I am doing a silent installation of Juniper Network v 2 . It is a vendor msi so just mst with /qn is doing the job. During installation the vendor msi installs two components, one is Juniper Network in the Program files and other is 'Juniper Network Client ActiveX component' in 'Downloaded Program Files'.
These two programs create seperate entries in registry and Add Remove Program. Problem comes when I try to un-install this application. If I try to uninstall the application via the endor msi, it only removes the Juniper Network Client and not ActiveX component. The un-install string for both the application is differnt and is present in the registry, the Juniper Network client has a msi as uninstall string so it is getting uninstalled silently, but the uninstall string for ActiveX component is: "C:\WINDOWS\Downloaded Program Files\JuniperSetupClientCtrlUninstaller.exe". This string points to a exe in Downloaded Program Files, but in that folder i cannot find any such exe.
If I run the uninstall string, it removes the application but it is not silent. I have tried to use several switches to make it silent but nothing seems to work.
Please advice how to make this a silent uninstall.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 14 years ago
Red Belt
0
- What does the vendor say?
- Have you tried opening the EXE in a hex editor (or even a capable text editor) to see what switches it uses? If you know one, you can generallt track down the rest this way, since they're almost certain to be tested in the same routine and will therefore probably be adjacent in the file.

When all else fails, build an "uninstalling" MSI. Apps are, after all, just a bunch of files and registry entries. Of course, you need to be careful with shared components but, in general, uninstalling is simply the removal of those files and reg entries.
Posted by: LKO08 14 years ago
Senior Yellow Belt
0
The problem is that I cannot find the exe, C:\WINDOWS\Downloaded Program Files\JuniperSetupClientCtrlUninstaller.exe, in Download Program Files folder. Is I see the properties of this folder then i see 7 files present but i can only find 2 files there ( I have checked show hidden files). Is there a way to get the files in this folder.
Please advice.
Posted by: anonymous_9363 14 years ago
Red Belt
0
This folder is one of those which MS decided is "special" and thus shows you an odd view in Explorer You'll be able to see its contents in a command window's DIR output. Use that same window to copy the EXE in your editor.

No word from the vendor, I take it? Although this http://kb.juniper.net/index?page=content&id=KB12721&pmv=print is for a different product from Juniper, I would take a guess that their products use the same installer. Try it: what's to lose?
Posted by: alohim 14 years ago
Senior Yellow Belt
0
Hi LKO08,
silent uninstallation can be managed via command line:
[font="microsoft sans serif"]“c:\windows\downloaded program files\JuniperSetupClientUninstaller.exe” /S

Make sure to use capital "S" letter.

E.g.: .WSE script which manages removing all garbage left:

item: Remark
Text=Script uninstalls Juniper Active X control
end
item: Set Variable
Variable=UNINSTALLER
Value=%WIN%\Downloaded Program Files
end
item: Check if File/Dir Exists
Pathname=%UNINSTALLER%\JuniperSetupClientCtrlUninstaller.exe
Flags=01000100
end
item: Execute Program
Pathname=%UNINSTALLER%\JuniperSetupClientCtrlUninstaller.exe
Command Line=/S
Flags=00001010
end
item: Execute Program
Pathname=%SYS32%\Regsvr32.exe
Command Line=/u /s JuniperSetup.ocx
Default Directory=%UNINSTALLER%
Flags=00001010
end
item: Delete File
Pathname=%UNINSTALLER%\JuniperSetup.*
end
item: Delete File
Pathname=%UNINSTALLER%\install.log
end
item: Delete File
Pathname=%UNINSTALLER%\string_*.properties
end
item: End Block
end
item: Check Disk Space
end


Such script (I mean compiled one) you can place as CA executed from installation in Installation Sequence, Deferred Execution Installation Script in .MST during uninstallation phase (synchronous, ignoring exit code).

Good luck!
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