Skip to content

Uninstall

d-band edited this page Sep 19, 2024 · 3 revisions

Home

Uninstall drm-cli

As the drm-cli installing, uninstall is very simple to run.\

Content

Prerequisites

The drm-cli installer is a python script project.
Hence, python must be installed in advanced on the drm-cli installer host.

Uninstall

To run the uninstall, run script uninstall.py.

python3 ./uninstall.py

Unlike 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.

uninstall parameters options

To see all optional parameters, use the -help option.

python3 ./uninstall.py -help
  • Path (-f, -path)
    The directory where the drm-cli is installed.

  • Encryption key (-p, -encryption_key)
    In case the drm-cli is encrypted, an encryption key must be provided on uninstall.
    If the drm-cli is not encrypted, use none in 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 :)

Examples

Uninstall not encrypted drm-cli which will prompt confirmation verification message.

python3 ./uninstall.py -f "C:\Temp\drm"

In the following example, the encryption key option is not use (implicitly handled as not encrypted).

Full inline uninstall encrypted drm-cli.

python3 ./uninstall.py -f "C:\Temp\drm" -p "my-secret" --Force

In the following example, we explicitly use the encryption key my-secret, preventing verification message from being prompted, using the --Force flag.

Videos

All videos

Next steps

Home

Clone this wiki locally