


REM start "" /min /wait %wget% -max-redirect=0 %url% -output-file=%Latest% Set wget = " %~dp0OfficeFixes\win_x32\wget.exe " Rem Based on Using Powershell To Retrieve Latest Package Url From Github Releases If defined WSH_Disabled for %%$ in (HKCU, HKLM) do %MultiNul% REG DELETE " %%$\SOFTWARE\Microsoft\Windows Script Host\Settings " /f /v EnabledĮcho ERROR # Windows script host is disabled Set " WSH_Disabled = " & for %%$ in (HKCU, HKLM) do 2 > nul reg query " %%$\Software\Microsoft\Windows Script Host\Settings " /v "Enabled " | > nul find /i "0x0 " & set " WSH_Disabled =*** " > "OfficeFixes\dummyfile " & %SingleNul% del /q "OfficeFixes\dummyfile " || ( Set " binDLL =A64.dll SvcTrigger.xml 圆4.dll x86.dll "įor %%# in ( !binDLL!) do if not exist "OfficeFixes\bin\ %%# " echo OfficeFixes\bin\ %%# IS Missing & set " missingFiles =true " Set XSPP_USER =HKEY_USERS\S-1-5-20\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatformĮcho " %~dp0 " | %SingleNul% findstr /L " %% # & ^ ^^ $ ~ ! ( ) " & (Įcho Remove special symbols: " %% # & ^ $ ~ ! ( ) " Set XSPP_HKLM_X64 =HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform Set XSPP_HKLM_X32 =HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform Set OSPP_USER =HKEY_USERS\S-1-5-20\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform Set OSPP_HKLM =HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform Set " OfficeRToolpath = %OfficeRToolpath:~ 0, -1% " REM set "External_PORT=1688" || Server Port REM set "External_IP=0.0.0.0" || Server IP REM You can use Remote Server / Online Servers Mshta vbscript:execute ^( "createobject( " "shell.application " ").shellexecute( " "cmd " ", " "/d/x/r " " &createobject( " "WScript.Shell " ").Environment( " "PROCESS " ")( " "_ " "), " "runas " ",1)(window.close) " ^)) || (Ĭls & echo: & echo Script elavation failed & pause) Powershell -nop -c start cmd -args '/d/x/r',$env:_ -verb runas || ( > nul fltmc || ( set " _ =call " %~dpfx0 " %* " Rem Run as administrator, AveYo: ps\VBS version Set " pswindowtitle =$Host.UI.RawUI.WindowTitle = 'Administrator: OfficeRTool - 2022/MAY/11 -' " SetLocal EnableExtensions EnableDelayedExpansion
