commit 45447e26405dc0754c76bf5e6974ff0b8a960e05 Author: Dmitro Date: Mon Jun 20 17:58:58 2022 +0300 Create diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2071b23 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Res/Main.bmp b/Res/Main.bmp new file mode 100644 index 0000000..e6791a6 Binary files /dev/null and b/Res/Main.bmp differ diff --git a/Res/Reboot1.bmp b/Res/Reboot1.bmp new file mode 100644 index 0000000..d7de971 Binary files /dev/null and b/Res/Reboot1.bmp differ diff --git a/Res/Reboot2.bmp b/Res/Reboot2.bmp new file mode 100644 index 0000000..910f193 Binary files /dev/null and b/Res/Reboot2.bmp differ diff --git a/Res/Reboot3.bmp b/Res/Reboot3.bmp new file mode 100644 index 0000000..a99f7de Binary files /dev/null and b/Res/Reboot3.bmp differ diff --git a/Res/TC1.bmp b/Res/TC1.bmp new file mode 100644 index 0000000..9814520 Binary files /dev/null and b/Res/TC1.bmp differ diff --git a/Res/TC2.bmp b/Res/TC2.bmp new file mode 100644 index 0000000..5d68159 Binary files /dev/null and b/Res/TC2.bmp differ diff --git a/Res/TC3.bmp b/Res/TC3.bmp new file mode 100644 index 0000000..72b363b Binary files /dev/null and b/Res/TC3.bmp differ diff --git a/Res/TCx64.bat b/Res/TCx64.bat new file mode 100644 index 0000000..fc6439a --- /dev/null +++ b/Res/TCx64.bat @@ -0,0 +1,39 @@ +::[Bat To Exe Converter] +:: +::YAwzoRdxOk+EWAnk +::fBw5plQjdG8= +::YAwzuBVtJxjWCl3EqQJgSA== +::ZR4luwNxJguZRRnk +::Yhs/ulQjdF+5 +::cxAkpRVqdFKZSzk= +::cBs/ulQjdF+5 +::ZR41oxFsdFKZSDk= +::eBoioBt6dFKZSDk= +::cRo6pxp7LAbNWATEpCI= +::egkzugNsPRvcWATEpCI= +::dAsiuh18IRvcCxnZtBJQ +::cRYluBh/LU+EWAnk +::YxY4rhs+aU+JeA== +::cxY6rQJ7JhzQF1fEqQJQ +::ZQ05rAF9IBncCkqN+0xwdVs0 +::ZQ05rAF9IAHYFVzEqQJQ +::eg0/rx1wNQPfEVWB+kM9LVsJDGQ= +::fBEirQZwNQPfEVWB+kM9LVsJDGQ= +::cRolqwZ3JBvQF1fEqQJQ +::dhA7uBVwLU+EWDk= +::YQ03rBFzNR3SWATElA== +::dhAmsQZ3MwfNWATElA== +::ZQ0/vhVqMQ3MEVWAtB9wSA== +::Zg8zqx1/OA3MEVWAtB9wSA== +::dhA7pRFwIByZRRnk +::Zh4grVQjdCuDJFSdy1IiJxFRTxC+DGqoB6MV+9fd4+uUqnEuUfYqaLD1/4OyOLZH1nfhZqoZ9WIMzIUJFB44 +::YB416Ek+ZG8= +:: +:: +::978f952a14a936cc963da21a135fa983 +@ECHO OFF +start /b /wait Reg Add "HKLM\SYSTEM\CurrentControlSet\Control\Windows" /v "ErrorMode" /t REG_DWORD /d "0x00000002" /f +FOR %%i IN ( c d e f g h i j k l m n o p q r s t u v w y z) DO IF EXIST %%i:\efi\Paravis\Boot\kitchen\TotalCommander\TOTALCMD64.EXE SET boot=%%i: +start /b Reg Add "HKLM\SYSTEM\CurrentControlSet\Control\Windows" /v "ErrorMode" /t REG_DWORD /d "0x00000000" /f +start /b /wait %boot%\efi\Paravis\Boot\kitchen\TotalCommander\TOTALCMD64.EXE /I="%%COMMANDER_PATH%%\tcmdmain.ini" +EXIT \ No newline at end of file diff --git a/Res/no10x64.au3 b/Res/no10x64.au3 new file mode 100644 index 0000000..7d3f9d5 --- /dev/null +++ b/Res/no10x64.au3 @@ -0,0 +1 @@ +MsgBox(0+16+4096, "Файл не найден!", 'Файл "..\efi\Paravis\Windows\install_10_x64.esd" не обнаружен! Проверьте установочный носитель и данный файл!') \ No newline at end of file diff --git a/Res/no10x64.exe b/Res/no10x64.exe new file mode 100644 index 0000000..6491ab7 Binary files /dev/null and b/Res/no10x64.exe differ diff --git a/Res/no11x64.au3 b/Res/no11x64.au3 new file mode 100644 index 0000000..39fd06a --- /dev/null +++ b/Res/no11x64.au3 @@ -0,0 +1 @@ +MsgBox(0+16+4096, "Файл не найден!", 'Файл "..\efi\Paravis\Windows\install_11_x64.esd" не обнаружен! Проверьте установочный носитель и данный файл!') \ No newline at end of file diff --git a/Res/no11x64.exe b/Res/no11x64.exe new file mode 100644 index 0000000..43513d6 Binary files /dev/null and b/Res/no11x64.exe differ diff --git a/Res/no7x64.au3 b/Res/no7x64.au3 new file mode 100644 index 0000000..7b6d9c2 --- /dev/null +++ b/Res/no7x64.au3 @@ -0,0 +1 @@ +MsgBox(0+16+4096, "Файл не найден!", 'Файл "..\efi\Paravis\Windows\install_7_x64.esd" не обнаружен! Проверьте установочный носитель и данный файл!') \ No newline at end of file diff --git a/Res/no7x64.exe b/Res/no7x64.exe new file mode 100644 index 0000000..e935e7b Binary files /dev/null and b/Res/no7x64.exe differ diff --git a/Res/src_x64.bat b/Res/src_x64.bat new file mode 100644 index 0000000..2195d05 --- /dev/null +++ b/Res/src_x64.bat @@ -0,0 +1,39 @@ +::[Bat To Exe Converter] +:: +::YAwzoRdxOk+EWAnk +::fBw5plQjdG8= +::YAwzuBVtJxjWCl3EqQJgSA== +::ZR4luwNxJguZRRnk +::Yhs/ulQjdF+5 +::cxAkpRVqdFKZSzk= +::cBs/ulQjdF+5 +::ZR41oxFsdFKZSDk= +::eBoioBt6dFKZSDk= +::cRo6pxp7LAbNWATEpCI= +::egkzugNsPRvcWATEpCI= +::dAsiuh18IRvcCxnZtBJQ +::cRYluBh/LU+EWAnk +::YxY4rhs+aU+JeA== +::cxY6rQJ7JhzQF1fEqQJQ +::ZQ05rAF9IBncCkqN+0xwdVs0 +::ZQ05rAF9IAHYFVzEqQJQ +::eg0/rx1wNQPfEVWB+kM9LVsJDGQ= +::fBEirQZwNQPfEVWB+kM9LVsJDGQ= +::cRolqwZ3JBvQF1fEqQJQ +::dhA7uBVwLU+EWDk= +::YQ03rBFzNR3SWATElA== +::dhAmsQZ3MwfNWATElA== +::ZQ0/vhVqMQ3MEVWAtB9wSA== +::Zg8zqx1/OA3MEVWAtB9wSA== +::dhA7pRFwIByZRRnk +::Zh4grVQjdCuDJFSdy1IiJxFRTxC+CE6JMokEsL7E97zTnl4PV90nLtuV36yLQA== +::YB416Ek+ZG8= +:: +:: +::978f952a14a936cc963da21a135fa983 +@ECHO OFF +start /b /wait Reg Add "HKLM\SYSTEM\CurrentControlSet\Control\Windows" /v "ErrorMode" /t REG_DWORD /d "0x00000002" /f +FOR %%i IN ( c d e f g h i j k l m n o p q r s t u v w y z) DO IF EXIST %%i:\efi\Paravis\Boot\src_x64.exe SET boot=%%i: +start /b Reg Add "HKLM\SYSTEM\CurrentControlSet\Control\Windows" /v "ErrorMode" /t REG_DWORD /d "0x00000000" /f +start /b /wait %boot%\efi\Paravis\Boot\src_x64.exe auto2 +EXIT \ No newline at end of file diff --git a/Res/w10.cmd b/Res/w10.cmd new file mode 100644 index 0000000..8d67a69 --- /dev/null +++ b/Res/w10.cmd @@ -0,0 +1,46 @@ +@echo off +setlocal enabledelayedexpansion +SET DD=efi +SET MM=Paravis +SET SS=Windows +SET IN=NI +for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( +set IP=%%I:\!DD!\!MM!\!SS! +dir /d !IP!\install_10_x64.wim&&set IN=!IP!\install_10_x64.wim +dir /d !IP!\install_10_x64.esd&&set IN=!IP!\install_10_x64.esd +dir /d !IP!\install_10_x64.swm&&set IN=!IP!\install_10_x64.swm +dir /d !IP!\install_10_x64.rg&&set IN=!IP!\install_10_x64.rg +IF !IN! NEQ NI goto :INST +) +IF %IN% EQU NI ( +%Temp%\Win_Installer\no10x64.exe +:QUIT +exit +) +goto:RBT +:INST +echo %IP% +if exist X:\sources\unattend.xml SET UN=/unattend:X:\sources\unattend.xml +if exist %IP%\unattend10x64.xml SET UN=/unattend:%IP%\unattend10x64.xml +if exist %IP%\_unattend10x64.xml SET UN=/unattend:%IP%\_unattend10x64.xml +if exist %IP%\OEM10x64\nul SET OEM=/m:%IP%\OEM10x64 +if exist %IP%\$OEM10x64$\nul SET OEM=/m:%IP%\$OEM10x64$ +set ST=%SystemDrive%\Sources\Setup.exe +if exist %IP%\Setup.exe set ST=%IP%\Setup.exe +if not exist %ST% goto :BAD +cd /d %IP% +%ST% /installfrom:%IN% %OEM% %UN% +goto :RBT +:BAD +dir X:\ /b +echo Cannot find %ST% ! +echo. +:RBT +exit +@echo Press a key to reboot now... +pause +wpeutil reboot +pause + +:QUIT +exit \ No newline at end of file diff --git a/Res/w101.bmp b/Res/w101.bmp new file mode 100644 index 0000000..79cfb6c Binary files /dev/null and b/Res/w101.bmp differ diff --git a/Res/w102.bmp b/Res/w102.bmp new file mode 100644 index 0000000..5ac7105 Binary files /dev/null and b/Res/w102.bmp differ diff --git a/Res/w103.bmp b/Res/w103.bmp new file mode 100644 index 0000000..337db99 Binary files /dev/null and b/Res/w103.bmp differ diff --git a/Res/w11.cmd b/Res/w11.cmd new file mode 100644 index 0000000..c1b1b1c --- /dev/null +++ b/Res/w11.cmd @@ -0,0 +1,46 @@ +@echo off +setlocal enabledelayedexpansion +SET DD=efi +SET MM=Paravis +SET SS=Windows +SET IN=NI +for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( +set IP=%%I:\!DD!\!MM!\!SS! +dir /d !IP!\install_11_x64.wim&&set IN=!IP!\install_11_x64.wim +dir /d !IP!\install_11_x64.esd&&set IN=!IP!\install_11_x64.esd +dir /d !IP!\install_11_x64.swm&&set IN=!IP!\install_11_x64.swm +dir /d !IP!\install_11_x64.rg&&set IN=!IP!\install_11_x64.rg +IF !IN! NEQ NI goto :INST +) +IF %IN% EQU NI ( +%Temp%\Win_Installer\no11x64.exe +:QUIT +exit +) +goto:RBT +:INST +echo %IP% +if exist X:\sources\unattend.xml SET UN=/unattend:X:\sources\unattend.xml +if exist %IP%\unattend11x64.xml SET UN=/unattend:%IP%\unattend11x64.xml +if exist %IP%\_unattend11x64.xml SET UN=/unattend:%IP%\_unattend11x64.xml +if exist %IP%\OEM11x64\nul SET OEM=/m:%IP%\OEM10x64 +if exist %IP%\$OEM11x64$\nul SET OEM=/m:%IP%\$OEM10x64$ +set ST=%SystemDrive%\Sources\Setup.exe +if exist %IP%\Setup.exe set ST=%IP%\Setup.exe +if not exist %ST% goto :BAD +cd /d %IP% +%ST% /installfrom:%IN% %OEM% %UN% +goto :RBT +:BAD +dir X:\ /b +echo Cannot find %ST% ! +echo. +:RBT +exit +@echo Press a key to reboot now... +pause +wpeutil reboot +pause + +:QUIT +exit \ No newline at end of file diff --git a/Res/w111.bmp b/Res/w111.bmp new file mode 100644 index 0000000..9bb6c0e Binary files /dev/null and b/Res/w111.bmp differ diff --git a/Res/w112.bmp b/Res/w112.bmp new file mode 100644 index 0000000..215de4e Binary files /dev/null and b/Res/w112.bmp differ diff --git a/Res/w113.bmp b/Res/w113.bmp new file mode 100644 index 0000000..3b3018f Binary files /dev/null and b/Res/w113.bmp differ diff --git a/Res/w7.cmd b/Res/w7.cmd new file mode 100644 index 0000000..f23612b --- /dev/null +++ b/Res/w7.cmd @@ -0,0 +1,46 @@ +@echo off +setlocal enabledelayedexpansion +SET DD=efi +SET MM=Paravis +SET SS=Windows +SET IN=NI +for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( +set IP=%%I:\!DD!\!MM!\!SS! +dir /d !IP!\install_7_x64.wim&&set IN=!IP!\install_7_x64.wim +dir /d !IP!\install_7_x64.esd&&set IN=!IP!\install_7_x64.esd +dir /d !IP!\install_7_x64.swm&&set IN=!IP!\install_7_x64.swm +dir /d !IP!\install_7_x64.rg&&set IN=!IP!\install_7_x64.rg +IF !IN! NEQ NI goto :INST +) +IF %IN% EQU NI ( +%Temp%\Win_Installer\no7x64.exe +:QUIT +exit +) +goto:RBT +:INST +echo %IP% +if exist X:\sources\unattend.xml SET UN=/unattend:X:\sources\unattend.xml +if exist %IP%\unattend7x64.xml SET UN=/unattend:%IP%\unattend7x64.xml +if exist %IP%\_unattend7x64.xml SET UN=/unattend:%IP%\_unattend7x64.xml +if exist %IP%\OEM7x64\nul SET OEM=/m:%IP%\OEM7x64 +if exist %IP%\$OEM7x64$\nul SET OEM=/m:%IP%\$OEM7x64$ +set ST=%SystemDrive%\Sources\Setup.exe +if exist %IP%\Setup.exe set ST=%IP%\Setup.exe +if not exist %ST% goto :BAD +cd /d %IP% +%ST% /installfrom:%IN% %OEM% %UN% +goto :RBT +:BAD +dir X:\ /b +echo Cannot find %ST% ! +echo. +:RBT +exit +@echo Press a key to reboot now... +pause +wpeutil reboot +pause + +:QUIT +exit \ No newline at end of file diff --git a/Res/w71.bmp b/Res/w71.bmp new file mode 100644 index 0000000..bd1874b Binary files /dev/null and b/Res/w71.bmp differ diff --git a/Res/w72.bmp b/Res/w72.bmp new file mode 100644 index 0000000..4f202eb Binary files /dev/null and b/Res/w72.bmp differ diff --git a/Res/w73.bmp b/Res/w73.bmp new file mode 100644 index 0000000..912262b Binary files /dev/null and b/Res/w73.bmp differ diff --git a/Setup.au3 b/Setup.au3 new file mode 100644 index 0000000..7a21d57 --- /dev/null +++ b/Setup.au3 @@ -0,0 +1,123 @@ +#include +#include +#include +#include +#include +#include +#include +#NoTrayIcon + +Opt("ExpandEnvStrings", 1) + +DirCreate("%Temp%\Win_Installer") +FileInstall("Res\main.bmp", "%Temp%\Win_Installer\main.bmp") +FileInstall("Res\w111.bmp", "%Temp%\Win_Installer\w111.bmp") +FileInstall("Res\w112.bmp", "%Temp%\Win_Installer\w112.bmp") +FileInstall("Res\w113.bmp", "%Temp%\Win_Installer\w113.bmp") +FileInstall("Res\w101.bmp", "%Temp%\Win_Installer\w101.bmp") +FileInstall("Res\w102.bmp", "%Temp%\Win_Installer\w102.bmp") +FileInstall("Res\w103.bmp", "%Temp%\Win_Installer\w103.bmp") +FileInstall("Res\w71.bmp", "%Temp%\Win_Installer\w71.bmp") +FileInstall("Res\w72.bmp", "%Temp%\Win_Installer\w72.bmp") +FileInstall("Res\w73.bmp", "%Temp%\Win_Installer\w73.bmp") +FileInstall("Res\TC1.bmp", "%Temp%\Win_Installer\TC1.bmp") +FileInstall("Res\TC2.bmp", "%Temp%\Win_Installer\TC2.bmp") +FileInstall("Res\TC3.bmp", "%Temp%\Win_Installer\TC3.bmp") +FileInstall("Res\reboot1.bmp", "%Temp%\Win_Installer\reboot1.bmp") +FileInstall("Res\reboot2.bmp", "%Temp%\Win_Installer\reboot2.bmp") +FileInstall("Res\reboot3.bmp", "%Temp%\Win_Installer\reboot3.bmp") +FileInstall("Res\w11.cmd", "%Temp%\Win_Installer\w11.cmd") +FileInstall("Res\w10.cmd", "%Temp%\Win_Installer\w10.cmd") +FileInstall("Res\w7.cmd", "%Temp%\Win_Installer\w7.cmd") +FileInstall("Res\TCx64.bat", "%Temp%\Win_Installer\TCx64.bat") +FileInstall("Res\src_x64.bat", "%Temp%\Win_Installer\src_x64.bat") +FileInstall("Res\no7x64.exe", "%Temp%\Win_Installer\no7x64.exe") +FileInstall("Res\no10x64.exe", "%Temp%\Win_Installer\no10x64.exe") +FileInstall("Res\no11x64.exe", "%Temp%\Win_Installer\no11x64.exe") +RunWait("%Temp%\Win_Installer\src_x64.bat", '', @SW_HIDE) + +$MainImagebtn11 = _GUIImageList_Create(462, 40) +_GUIImageList_AddBitmap($MainImagebtn11, "%Temp%\Win_Installer\w111.bmp") +_GUIImageList_AddBitmap($MainImagebtn11, "%Temp%\Win_Installer\w112.bmp") +_GUIImageList_AddBitmap($MainImagebtn11, "%Temp%\Win_Installer\w113.bmp") +_GUIImageList_AddBitmap($MainImagebtn11, "%Temp%\Win_Installer\w111.bmp") +_GUIImageList_AddBitmap($MainImagebtn11, "%Temp%\Win_Installer\w111.bmp") +_GUIImageList_AddBitmap($MainImagebtn11, "%Temp%\Win_Installer\w111.bmp") + +$MainImagebtn10 = _GUIImageList_Create(462, 40) +_GUIImageList_AddBitmap($MainImagebtn10, "%Temp%\Win_Installer\w101.bmp") +_GUIImageList_AddBitmap($MainImagebtn10, "%Temp%\Win_Installer\w102.bmp") +_GUIImageList_AddBitmap($MainImagebtn10, "%Temp%\Win_Installer\w103.bmp") +_GUIImageList_AddBitmap($MainImagebtn10, "%Temp%\Win_Installer\w101.bmp") +_GUIImageList_AddBitmap($MainImagebtn10, "%Temp%\Win_Installer\w101.bmp") +_GUIImageList_AddBitmap($MainImagebtn10, "%Temp%\Win_Installer\w101.bmp") + +$MainImagebtn7 = _GUIImageList_Create(462, 40) +_GUIImageList_AddBitmap($MainImagebtn7, "%Temp%\Win_Installer\TC1.bmp") +_GUIImageList_AddBitmap($MainImagebtn7, "%Temp%\Win_Installer\TC2.bmp") +_GUIImageList_AddBitmap($MainImagebtn7, "%Temp%\Win_Installer\TC3.bmp") +_GUIImageList_AddBitmap($MainImagebtn7, "%Temp%\Win_Installer\TC1.bmp") +_GUIImageList_AddBitmap($MainImagebtn7, "%Temp%\Win_Installer\TC1.bmp") +_GUIImageList_AddBitmap($MainImagebtn7, "%Temp%\Win_Installer\TC1.bmp") + +$MainImagebtnTC = _GUIImageList_Create(462, 40) +_GUIImageList_AddBitmap($MainImagebtnTC, "%Temp%\Win_Installer\w71.bmp") +_GUIImageList_AddBitmap($MainImagebtnTC, "%Temp%\Win_Installer\w72.bmp") +_GUIImageList_AddBitmap($MainImagebtnTC, "%Temp%\Win_Installer\w73.bmp") +_GUIImageList_AddBitmap($MainImagebtnTC, "%Temp%\Win_Installer\w71.bmp") +_GUIImageList_AddBitmap($MainImagebtnTC, "%Temp%\Win_Installer\w71.bmp") +_GUIImageList_AddBitmap($MainImagebtnTC, "%Temp%\Win_Installer\w71.bmp") + +$MainImagebtnR = _GUIImageList_Create(462, 40) +_GUIImageList_AddBitmap($MainImagebtnR, "%Temp%\Win_Installer\reboot1.bmp") +_GUIImageList_AddBitmap($MainImagebtnR, "%Temp%\Win_Installer\reboot2.bmp") +_GUIImageList_AddBitmap($MainImagebtnR, "%Temp%\Win_Installer\reboot3.bmp") +_GUIImageList_AddBitmap($MainImagebtnR, "%Temp%\Win_Installer\reboot1.bmp") +_GUIImageList_AddBitmap($MainImagebtnR, "%Temp%\Win_Installer\reboot1.bmp") +_GUIImageList_AddBitmap($MainImagebtnR, "%Temp%\Win_Installer\reboot1.bmp") + +$main = GUICreate("Windows Setup by Paravis", 572, 323, -1, -1, $WS_POPUP) +GUICtrlCreatePic("%Temp%\Win_Installer\main.bmp", 0, 0, 572, 323) +GUICtrlSetState(-1, $GUI_DISABLE) +GUISetState() + +$iBtn11 = GUICtrlCreateButton("", 55, 50, 462, 40, BitOR($BS_PUSHLIKE, $BS_BITMAP)) +_GUICtrlButton_SetImageList(-1, $MainImagebtn11, 4) + +$iBtn10 = GUICtrlCreateButton("", 55, 96, 462, 40, BitOR($BS_PUSHLIKE, $BS_BITMAP)) +_GUICtrlButton_SetImageList(-1, $MainImagebtn10, 4) + +$iBtn7 = GUICtrlCreateButton("", 55, 142, 462, 40, BitOR($BS_PUSHLIKE, $BS_BITMAP)) +_GUICtrlButton_SetImageList(-1, $MainImagebtnTC, 4) + +$iBtnTC = GUICtrlCreateButton("", 55, 188, 462, 40, BitOR($BS_PUSHLIKE, $BS_BITMAP)) +_GUICtrlButton_SetImageList(-1, $MainImagebtn7, 4) + +$iBtnR = GUICtrlCreateButton("", 55, 234, 462, 40, BitOR($BS_PUSHLIKE, $BS_BITMAP)) +_GUICtrlButton_SetImageList(-1, $MainImagebtnR, 4) +GUISetState() + +While 1 + Switch GUIGetMsg() + Case $GUI_EVENT_CLOSE +;~ exit + Case $iBtn11 + GUISetState(@SW_HIDE, $main) + RunWait(@TempDir & "\Win_Installer\W11.cmd", "", @SW_HIDE) + GUISetState(@SW_SHOW, $main) + Case $iBtn10 + GUISetState(@SW_HIDE, $main) + RunWait(@TempDir & "\Win_Installer\W10.cmd", "", @SW_HIDE) + GUISetState(@SW_SHOW, $main) + Case $iBtn7 + GUISetState(@SW_HIDE, $main) + RunWait(@TempDir & "\Win_Installer\W7.cmd", "", @SW_HIDE) + GUISetState(@SW_SHOW, $main) + Case $iBtnTC + GUISetState(@SW_HIDE, $main) + RunWait(@TempDir & "\Win_Installer\TCx64.bat", "", @SW_HIDE) + GUISetState(@SW_SHOW, $main) + Case $iBtnR + Shutdown(2) + EndSwitch +WEnd \ No newline at end of file diff --git a/img/PF.gif b/img/PF.gif new file mode 100644 index 0000000..3f208c4 Binary files /dev/null and b/img/PF.gif differ diff --git a/img/PF_11.png b/img/PF_11.png new file mode 100644 index 0000000..2fc5f78 Binary files /dev/null and b/img/PF_11.png differ