Aug 17, 2004 #1 Dav136 Technical User Oct 3, 2003 21 AT Since WMI doesnt provide for non-MSI installed Software, does anyone know a possibility to uninstall such software by script? Any help is greatly appreciated!! Dav
Since WMI doesnt provide for non-MSI installed Software, does anyone know a possibility to uninstall such software by script? Any help is greatly appreciated!! Dav
Aug 18, 2004 #2 tsuji Technical User Jul 25, 2001 10,675 US Hello Dav136, You can take a look of the registry characteristic key with structure like : [tt][HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\[blue]Uninstall[/blue]\<productname>][/tt] with value name win9x-series : [tt]"UninstallString"=[green]"<some commandline>[/green]"[/tt] or winNT-series : [tt]"UninstallPath"=[green]hex(2):aa bb cc 00 11...etc also representing <some commandline>[/green][/tt] and <productname> part might be expanded further down some subkeys. Hence, a possible scheme would be to Discover the UninstallString/UninstallPath setting and then .run the commandline. regards - tsuji Upvote 0 Downvote
Hello Dav136, You can take a look of the registry characteristic key with structure like : [tt][HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\[blue]Uninstall[/blue]\<productname>][/tt] with value name win9x-series : [tt]"UninstallString"=[green]"<some commandline>[/green]"[/tt] or winNT-series : [tt]"UninstallPath"=[green]hex(2):aa bb cc 00 11...etc also representing <some commandline>[/green][/tt] and <productname> part might be expanded further down some subkeys. Hence, a possible scheme would be to Discover the UninstallString/UninstallPath setting and then .run the commandline. regards - tsuji