Create
9
LICENSE
Normal file
@@ -0,0 +1,9 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) <year> <copyright holders>
|
||||
|
||||
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.
|
||||
BIN
Res/Main.bmp
Normal file
|
After Width: | Height: | Size: 541 KiB |
BIN
Res/Reboot1.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
Res/Reboot2.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
Res/Reboot3.bmp
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
Res/TC1.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
Res/TC2.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
Res/TC3.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
39
Res/TCx64.bat
Normal file
@@ -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
|
||||
1
Res/no10x64.au3
Normal file
@@ -0,0 +1 @@
|
||||
MsgBox(0+16+4096, "Файл не найден!", 'Файл "..\efi\Paravis\Windows\install_10_x64.esd" не обнаружен! Проверьте установочный носитель и данный файл!')
|
||||
BIN
Res/no10x64.exe
Normal file
1
Res/no11x64.au3
Normal file
@@ -0,0 +1 @@
|
||||
MsgBox(0+16+4096, "Файл не найден!", 'Файл "..\efi\Paravis\Windows\install_11_x64.esd" не обнаружен! Проверьте установочный носитель и данный файл!')
|
||||
BIN
Res/no11x64.exe
Normal file
1
Res/no7x64.au3
Normal file
@@ -0,0 +1 @@
|
||||
MsgBox(0+16+4096, "Файл не найден!", 'Файл "..\efi\Paravis\Windows\install_7_x64.esd" не обнаружен! Проверьте установочный носитель и данный файл!')
|
||||
BIN
Res/no7x64.exe
Normal file
39
Res/src_x64.bat
Normal file
@@ -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
|
||||
46
Res/w10.cmd
Normal file
@@ -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
|
||||
BIN
Res/w101.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
Res/w102.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
Res/w103.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
46
Res/w11.cmd
Normal file
@@ -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
|
||||
BIN
Res/w111.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
Res/w112.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
Res/w113.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
46
Res/w7.cmd
Normal file
@@ -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
|
||||
BIN
Res/w71.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
Res/w72.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
Res/w73.bmp
Normal file
|
After Width: | Height: | Size: 72 KiB |
123
Setup.au3
Normal file
@@ -0,0 +1,123 @@
|
||||
#include <ButtonConstants.au3>
|
||||
#include <ComboConstants.au3>
|
||||
#include <GuiButton.au3>
|
||||
#include <GUIConstantsEx.au3>
|
||||
#include <GuiImageList.au3>
|
||||
#include <WindowsConstants.au3>
|
||||
#include <WinAPI.au3>
|
||||
#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
|
||||
BIN
img/PF.gif
Normal file
|
After Width: | Height: | Size: 340 KiB |
BIN
img/PF_11.png
Normal file
|
After Width: | Height: | Size: 87 KiB |