FWSUpdates for WPKG on iPasserelle
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
@echo off
|
|
|
|
|
|
|
|
REM perform upgrade of WPKG client
|
|
|
|
|
|
|
|
REM Wait for files to be unlocked
|
|
|
|
timeout /t 3
|
|
|
|
|
|
|
|
IF EXIST "%SystemDrive%\FWSUpdates\assets.upgrade" (
|
|
|
|
RMDIR /S /Q "%SystemDrive%\FWSUpdates\assets"
|
|
|
|
RENAME "%SystemDrive%\FWSUpdates\assets.upgrade" assets
|
|
|
|
)
|
|
|
|
IF EXIST "%SystemDrive%\FWSUpdates\bin.upgrade" (
|
|
|
|
RMDIR /S /Q "%SystemDrive%\FWSUpdates\bin"
|
|
|
|
RENAME "%SystemDrive%\FWSUpdates\bin.upgrade" bin
|
|
|
|
)
|
|
|
|
IF EXIST "%SystemDrive%\FWSUpdates\lang.upgrade" (
|
|
|
|
RMDIR /S /Q "%SystemDrive%\FWSUpdates\lang"
|
|
|
|
RENAME "%SystemDrive%\FWSUpdates\lang.upgrade" lang
|
|
|
|
)
|
|
|
|
IF EXIST "%SystemRoot%\System32\GroupPolicy\Machine\Scripts\Shutdown\wpkg.bat" DEL /F /Q "%SystemRoot%\System32\GroupPolicy\Machine\Scripts\Shutdown\wpkg.bat"
|
|
|
|
reg delete "HKLM\Software\FWS\Updates" /v PendingChanges /f
|
|
|
|
reg delete "HKLM\Software\FWS\Updates" /v PendingChangesList /f
|