Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- :: Désinstalle les clients FileWave aux versions antérieures ::
- :: à 13.3.1 puis s'auto-détruit ::
- :: Auteur : M. Jolly - JM Haby, 2021-02-25 ::
- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- @echo off
- setlocal enabledelayedexpansion
- FOR /F "skip=1 delims=" %%i IN ('wmic product where "name like 'FileWave Client'" get Version') DO (
- set v=%%i
- If /I Not "%%i"=="!v:13.1.5=!" goto uninstall
- If /I Not "%%i"=="!v:13.1.2=!" goto uninstall
- If /I Not "%%i"=="!v:13.0.3=!" goto uninstall
- If /I Not "%%i"=="!v:13.0.1=!" goto uninstall
- If /I Not "%%i"=="!v:12.7.1=!" goto uninstall
- )
- GOTO :EOF
- :uninstall
- FOR /F "skip=1 delims=" %%i IN ('wmic product where "name like 'FileWave Client'" get IdentifyingNumber') DO (
- set GUID=%%i
- goto end
- )
- GOTO :EOF
- :end
- setlocal disabledelayedexpansion
- msiexec /X %GUID% /QN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement