mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Completely remove Python and verify
This commit is contained in:
parent
7406bd22a6
commit
698a076a39
1 changed files with 9 additions and 0 deletions
9
pkg/windows/uninstall-and-wipe-Python.cmd
Normal file
9
pkg/windows/uninstall-and-wipe-Python.cmd
Normal file
|
@ -0,0 +1,9 @@
|
|||
@echo off
|
||||
|
||||
:: uninstall Python 2.7 64bit
|
||||
MsiExec.exe /X {16E52445-1392-469F-9ADB-FC03AF00CD62} /QN
|
||||
|
||||
:: wipe the Python directory
|
||||
:: DOS hack first create dir because Windows cannot test not existing without error message
|
||||
md c:\Python27 1>nul 2>nul
|
||||
rd /s /q c:\Python27 || echo Failure: c:\Python27 still exists, please find out why and repeat.
|
Loading…
Add table
Reference in a new issue