January 17, 2018, 05:15:21 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
Author Topic: Why is a reboot required when uninstalling from a command prompt?  (Read 7251 times)
Bryan Clark
Full Member
Posts: 147

View Profile
« on: January 05, 2011, 09:28:03 AM »

You typically run into the reboot scenario when you are manually testing the uninstaller. 

The SSI uninstaller requires a reboot when a file or folder, that is normally removed during the uninstall process, is locked/in-use when the uninstaller runs.   If you have a command prompt window open and your current directory is set to one of the folders that would normally be removed during the uninstall process, then the install script cannot remove that directory.  A reboot is required in order to delete the folder.

When using Windows' "Add/Remove Programs", the utility uses the full path to the uninstaller and the current directory is one of the system directories, not the uninstallerís folder. 

When manually testing: 
  • Open a command prompt window.
  • Make C:\ your current directory (or any other directory that would not be removed by the uninstaller).
  • Run the uninstaller using the full path to the uninstaller. You might want to use a batch file to make this easier.

SSI/Scout - The remote monitoring system
Copyright © 2010 Silver Bullet Technology
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!