Create a Script
![*](chapterTOC_bullet.png)
To create an uninstallation script and uninstall products from the local machine, specify the
-writeUninstallScript parameter on the command you run to start the uninstaller (see
Start the Uninstaller). For example:
uninstall -writeUninstallScript full_path_to_new_script_file -console
![*](chapterTOC_bullet.png)
To create an uninstallation script without uninstalling products on the local machine, specify the
-editUninstallScript parameter on the command you run to start the uninstaller (see
Start the Uninstaller). For example:
uninstall -editUninstallScript full_path_to_new_script_file -console
![*](chapterTOC_bullet.png)
To create an uninstallation script using an existing script as a template, specify the
-readUninstallScript and
-writeUninstallScript parameters on the command you run to start the uninstaller (see
Start the Uninstaller). For example:
uninstall -readUninstallScript full_path_to_existing_script_file
-writeUninstallScript full_path_to_new_script_file -console