If wmic prompts for y/n confirmation before completing the uninstall, try this: echo y | wmic /node:computername /user:adminuser /password:password product where name="whatever" call uninstall If your search string could conflict with an environment or script variable, use double percents to specify literal percent signs, like %%j2se%%.) (Note that in the example above, %j2se% is not an environment variable, but simply the word "j2se" with a SQL-ish wildcard on each end. for example would perform a case-insensitive search for *j2se* and uninstall "J2SE Runtime Environment 5.0 Update 12". wmic /node:computername /user:adminuser /password:password product where "name like '%j2se%'" call uninstall You can also uninstall using SQL-ish wildcards. If you don't know exactly what the program calls itself, do wmic product get name | sortĪnd look for it. wmic /node:computername /user:adminuser /password:password product where name="name of application" call uninstall I haven't tried this, but I think it might work. I have two days to get this fixed and I'm in panic mode.Īny ideas or help on code would be greatly appreciated. #Uninstall office 2011 mac script git dockutil how tomsi and I am not sure how to get something working? I'm open to anything. I could tell them to go to control panel, etc.but they'll be lost.typical.Īny ideas on how to script this uninstall given it wasn't an original. msi this time around but am lost and my knowledge is limited with scripting or any uninstall scripts for telling "end users" without confusing them to just click here. msi so I'm left with what I've found as ""C:\Program Files\InstallShield Installation Information /quiet with no go. The original sys admin that installed this didn't use an. I am not certain and must cover both scenarios. #Uninstall office 2011 mac script git dockutil installI am fairly certain the default install path was X86 as that's the default. The program is already installed in over 200 machines. The program in question can be installed in the program files directory (64bit) or X86 path.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |