Uninstall SWV from command line
Updated: 21 Dec 2011 | 5 comments
This issue has been solved. See solution.
Hi,
Is there any way we could uninstall SWV from command line, for example "> Symantec_Workspace_Virtualization.exe /uninstall"
Or anyway we could uninstall SWV automatically without going to the Add/Remove Program?
The reason is that we incorporate SWV into our solution and we are trying to write a bootstrapper program to uninstall the whole solution which include SWV.
Thanks.
Danny
Discussion Filed Under:
Comments
SP4 and SP6 MP1 create the
SP4 and SP6 MP1 create the following keys:
6.1 SP4
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Plugin Objects\Agents\Software Virtualization Agent]
"Build Number"="1562"
"Product Version"="6.2.1562"
"Install Path"="C:\\Program Files\\Symantec\\Workspace Virtualization\\"
"Agent Name"="Symantec Workspace Virtualization Agent"
"Module"=""
"Agent Ident"="SVAgentSoln"
6.1 SP6 MP1
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Plugin Objects\Agents\Software Virtualization Agent]
"Build Number"="2059"
"Agent Ident"="SVAgentSoln"
"Product Version"="6.3.2059"
"Install Path"="C:\\Program Files\\Symantec\\Workspace Virtualization\\"
"Module"=""
"Agent Name"="Symantec Workspace Virtualization Agent"
As SP6 and SP6 MP1 do not add a Build Number value, I have entered it myself in order to confirm with previous build registry keys.http://wtxone.com/ListQ.aspx
Sorry but I don't understand
Sorry but I don't understand how I can use these keys to uninstall SWV from command line?
danny
RE: Uninstall SWV from command line
6.1 SP4:
msiexec.exe /quiet /X {70E2321C-0B8E-4F4D-A5DD-8D3180C67867}
6.1 SP6:
msiexec.exe /quiet /X {1903A336-191A-4798-BA16-C77BF7CDA89E}
Admin privileges required.
Note that the system will reboot automatically after completing the uninstall, so you may want to change the parameters to msiexec to include /norestart or /promptrestart, though you will have to make sure that the system is rebooted before attempting to install any version again. You could allow the user to interact with the uninstall by removing the /quiet, but then they have the opportunity to cancel the uninstall.
Since the product code changes every release, if you want a solution for any version, you will need to create a script to enumerate the HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall key and look for a subkey with a value "DisplayName" set to "Symantec Workspace Virtualization Agent" and then that subkey name is the product code to pass to msiexec.exe. This is left as an exercise for the reader.
thanks!
thanks!
Here is one (attached)
Would you like to reply?
Login or Register to post your comment.