Skip to content

Commit 6ef6029

Browse files
Add files via upload
Installation test of the programs necessary for ThemeSwitcherScripts.
1 parent 57b9e28 commit 6ef6029

File tree

2 files changed

+92
-0
lines changed

2 files changed

+92
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
@echo off
2+
chcp 65001 > nul
3+
4+
echo ***********************************************************
5+
echo * ThemeSwitcherScripts installation test *
6+
echo * *
7+
echo * Version 1.0 *
8+
echo ***********************************************************
9+
echo.
10+
11+
:CONFIRMATION
12+
set /P c=Do you want to test the installation of programs used by ThemeSwitcherScripts ?[Y\N]?
13+
if /I "%c%" EQU "Y" (goto :TEST)
14+
if /I "%c%" EQU "N" (goto :ANNULATION)
15+
16+
:TEST
17+
echo.
18+
if exist %userprofile%\TSS (goto :ST) else (echo Installation folder does not exist
19+
goto :ANNULATION)
20+
21+
:ST
22+
echo.
23+
if exist %userprofile%\TSS\classic\classicthemetray.exe (echo ClassicThemeTray is installed and activated)
24+
if exist %userprofile%\TSS\classic\classicthemetray_old.exe (echo ClassicThemeTray is installed and disabled)
25+
if not exist "%userprofile%\TSS\classic\" (echo ClassicThemeTray is not installed)
26+
27+
echo.
28+
if exist %userprofile%\TSS\Basic\BasicThemer2.exe (echo BasicThemer2 is installed and activated)
29+
if exist %userprofile%\TSS\Basic\BasicThemer2_old.exe (echo BasicThemer2 is installed and disabled)
30+
if not exist "%userprofile%\TSS\Basic\" (BasicThemer2 is not installed)
31+
32+
echo.
33+
if exist C:\Users\camil\TSS\ThemeSwitcher\ThemeSwitcher.exe (echo Winaero ThemeSwitcher is installed) else (echo Winaero ThemeSwitcher is not installed)
34+
35+
echo.
36+
echo Task completed
37+
goto :FIN
38+
39+
:ANNULATION
40+
echo.
41+
echo Task aborted
42+
goto :FIN
43+
44+
:FIN
45+
pause
46+
end
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
@echo off
2+
chcp 65001 > nul
3+
4+
echo ***********************************************************
5+
echo * Test d'installation de ThemeSwitcherScripts *
6+
echo * *
7+
echo * Version 1.0 *
8+
echo ***********************************************************
9+
echo.
10+
11+
:CONFIRMATION
12+
set /P c=Voulez-vous tester l'installation des programmes utilisés par ThemeSwitcherScripts ?[Y\N]?
13+
if /I "%c%" EQU "Y" (goto :TEST)
14+
if /I "%c%" EQU "N" (goto :ANNULATION)
15+
16+
:TEST
17+
echo.
18+
if exist %userprofile%\TSS (goto :ST) else (echo Le dossier d'installation n'existe pas
19+
goto :ANNULATION)
20+
21+
:ST
22+
echo.
23+
if exist %userprofile%\TSS\classic\classicthemetray.exe (echo ClassicThemeTray est installé et activé)
24+
if exist %userprofile%\TSS\classic\classicthemetray_old.exe (echo ClassicThemeTray est installé et désactivé)
25+
if not exist "%userprofile%\TSS\classic\" (echo ClassicThemeTray n'est pas installé)
26+
27+
echo.
28+
if exist %userprofile%\TSS\Basic\BasicThemer2.exe (echo BasicThemer2 est installé et activé)
29+
if exist %userprofile%\TSS\Basic\BasicThemer2_old.exe (echo BasicThemer2 est installé et désactivé)
30+
if not exist "%userprofile%\TSS\Basic\" (BasicThemer2 n'est pas installé)
31+
32+
echo.
33+
if exist C:\Users\camil\TSS\ThemeSwitcher\ThemeSwitcher.exe (echo Winaero ThemeSwitcher est installé) else (echo Winaero ThemeSwitcher n'est pas installé)
34+
35+
echo.
36+
echo Opération terminée
37+
goto :FIN
38+
39+
:ANNULATION
40+
echo.
41+
echo Opération annulée
42+
goto :FIN
43+
44+
:FIN
45+
pause
46+
end

0 commit comments

Comments
 (0)