Fran
Wed Apr 12 21:37:01 CDT 2006
Thanks for the link!
When I run the unistall routine as was illustrated, I will need to run
this as an administrator or other elevated rights account correct?
Currently the users have Domain User privaleges and this is usually
not enough to unistall apps. So how would I use something like RunAS
to execute this?
-Fran-
>You first need to determine what the uninstall command line is. If it
>appears in the Add/Remove applet, the you can get the uninstall string
>from the registry. Navigate to
>"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
>. Under this will be a subkey for this application and within that
>will be an Uninstall key. That value is the uninstall command.
>
>Once obtained you can use the WScript.Shell object
>(
http://www.dx21.com/SCRIPTING/VBSCRIPT/ViewOItem.ASP?OID=204&VL=A) to
>launch that command line.