-
Notifications
You must be signed in to change notification settings - Fork 1
Uninstall
As the drm-cli installing, uninstall is very simple to run.\
The drm-cli installer is a python script project.
Hence, python must be installed in advanced on the drm-cli installer host.
To run the uninstall, run script uninstall.py.
python3 ./uninstall.pyUnlike the installer, the uninstall does not support an interactive mode.
To uninstall, you must run using inline parameters option. This allows you also the ability to automate the uninstall, if it's desired.
For instance, inline options are used in pipeline executions.
To see all optional parameters, use the -help option.
python3 ./uninstall.py -help-
Path (-f, -path)
The directory where thedrm-cliis installed. -
Encryption key (-p, -encryption_key)
In case thedrm-cliis encrypted, an encryption key must be provided on uninstall.
If thedrm-cliis not encrypted, usenonein the encryption parameter option or do not specify it at all. -
Force (-F, --Force)
This flag prevent confirmation verification from the user before actual uninstall is executed.
Note!!! If this flag is not explicitly used, a confirmation verification message will be prompted.\
Are you sure you want to uninstall DRM? Enter [Y]/N : This is the only interactive action.
Uninstall verification
INFO - EXECUTION: Uninstall
INFO - install dir: C:\temp\drm
INFO - Successfully uninstalled the application from C:\temp\drm
That's it! it's simple as that :)
python3 ./uninstall.py -f "C:\Temp\drm"In the following example, the encryption key option is not use (implicitly handled as not encrypted).
python3 ./uninstall.py -f "C:\Temp\drm" -p "my-secret" --ForceIn the following example, we explicitly use the encryption key my-secret, preventing verification message from being prompted, using the --Force flag.