Uninstall pass-through |
Previous Top Next |
1. | Control panel Add/Remove Programs: The registry contains a key that instructs the control panel to run your EXE with the command line parameter "-uninstall" |
2. | StartMenu Uninstall shortcut: The Start Menu shortcut contains a link to your EXE with the command line parameter "-uninstall". |
3. | The command line. The user can manually request uninstall by running your program from the command with the parameter "-uninstall". |
1. | Ask the user if they really want to uninstall. They might have selected the uninstall icon by accident! If the answer is no, exit the program immediately. For example: |
2. | If the answer is yes, cleanup whatever you need to cleanup |
3. | Set the Environment variable "TS_UNINSTALL" to "1". This instructs Thinstall to finish the uninstall process when your program quits. |
4. | Call ExitProcess or exit your program through the means available in your programming language. |
1. | Delete StartMenu and Desktop shortcuts it created during install |
2. | Delete files it extracted during install |
3. | Delete cache and temporary files it created |
4. | Remote uninstall information from the registry |
5. | Delete the main Thinstall EXE |
6. | Delete directories it created during install |