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

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
- 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.
Answered 09/10/2009 by: VBScab
Red Belt

Please log in to comment
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.
Answered 09/10/2009 by: LKO08
Senior Yellow Belt

Please log in to comment
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?
Answered 09/10/2009 by: VBScab
Red Belt

Please log in to comment
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!
Answered 01/05/2010 by: alohim
Senior Yellow Belt

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