General discussion


Uninstall software through a logonscript

By ngunity ·
Administrating a small network of 50 computers I find myself deploying a lot of software through customised batches & setups, and logon scripts.

I got myself into trouble with Acrobat Reader 5 when attempting a network-wide deployment. After successfully silently installing Reader 5 on all workstations I discovered through fielding enough user support calls that the deployment was corrupted and causing illegal operations.

After cursing myself for inadequate pre-deployment testing I began to search Techrepublic and MS technet to find a way to uninstall software from the command line (logon script). I couldn't find any answers.

Fortunately after checking the target on a couple of shortcuts to uninstallers found in the start menu I managed to grab the syntax I could use at the command line for uninstallation.

For those interested you need to track down the 'uninst.isu' and 'uninst.dll' which relate to the program you want to uninstall.

Under Win 9X The syntax is then:
c:\windows\uninst.exe -f"<program path>\<*.isu>" -c "<program path>\<*.dll>


C:\Windows\uninst.exe -f"C:\Program Files\QuickTime\DeIsL1.isu" -cC:\WINDOWS\SYSTEM\QTUninst.dll

Check out a target path within the properties of an uninstallation shortcut in the start menu (if you have acroreader there should be one) to see for yourself.

I will be able to script an uninstall now and save me walking to every computer in the building.

Better to take hours to do it automatically than to take hours doing it manually, you can always use the knowledge you gain first time in the future.

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Comments

Back to IT Employment Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums