remove apps via cmd, winadmin irc?
I'm just about to set foot into the wonderful world of converting installer exe's into silently installable msi's (anyone got any recommendations? Is there any good free software to do this or if not whats the best shareware app to do this/ cheap commercial app) but before that I want to know if or how I can remove apps under winxp pro sp3 from the command line? I know you can run add/remove programs via the appwiz.cpl command but can this same command be used to remove apps from the command line or a batch file? This of course also begs the question on how do I find the right string to use for removing an installed program? Of course, I would like to make the app removal process silent.
My other burning winadmin question is- does anyone know of a good, friendly irc channel for windows server/admin help?
uninstall apps installed via setup.exe
By asking multiple questions in what was only originally intended to be just one, I ended up obscuring my question- sorry.
What I meant to ask is, is it possible to uninstall apps via a command line (appwiz.cpl?) that have been installed via a standard setup.exe method and are available to uninstall from the Add/Remove programs list but don't have any UnInstall tool?
I haven't installed ANYTHING via an msi yet- I was hoping I wouldn't have to manually uninstall apps installed the 'normal' way.
working vbs script - now for the options
After much searching I found a vbs script for just this purpose that really seems to work, the Magic Uninstall VBS script:
Magic Uninstall VBS - Altirigos
Note that theres a small typo in it - you need to delete the extra space between the two l's in the line:
Const KeyPath = "Software\Microsoft\Windows\CurrentVersion\Uni nsta ll"
for it to work.
I have successfully uninstalled 7-zip from the command line using this script and the command:
cscript scriptname.vbs /Program:"7-Zip 4.57" /Options:"/S"
The /S option coaxed it into uninstalling silently but that was just a lucky (but 'educated') guess, VLC and musescore won't uninstall with a similar command.
How do I find out the correct switches required to silently uninstall any given, non-msi installed program such as VLC?
Looks like I'll be trying to stick to MSI installs from here on in!