由於某種原因,嘗試安裝msi可執行文件槽命令行需要太長時間或從未完成。該程序是未簽名的Windows主題,允許您在Windows上運行不受支持的主題。它從這裏可供選擇:Download命令行安裝MSI需要的時間太長
我試着安裝與64位版本:
start /wait "UxStyle Core x64.msi"
整個批處理文件看起來是這樣的:
@echo off
net stop uxsms
IF "%PROCESSOR_ARCHITECTURE%" == "AMD64" call :install64
IF "%PROCESSOR_ARCHITECTURE%" == "x86" call :install32
IF ERRORLEVEL 1 goto :UxStyleErr
takeown /f "%WINDIR%\Resources\Themes\Aero\aero.msstyles"
icacls "%WINDIR%\Resources\Themes\Aero\aero.msstyles" /grant %USERNAME%:F"
ren "%WINDIR%\Resources\Themes\Aero\aero.msstyles" aero.msstyles.original
copy /y aero.msstyles "%WINDIR%\Resources\Themes\Aero\"
net start uxsms
echo Installation completed. Press any key to reboot or close this dialog if you want to restart later.
pause
shutdown /r /t 0
goto :eof
:install64
start /wait "UxStyle Core x64.msi"
goto :eof
:install32
start /wait "UxStyle Core x86.msi"
goto :eof
:UxStyleErr
echo An error occured while installing UxStyle Core. Installation will now quit.
pause
goto :eof
我到底做錯了什麼?
謝謝。根據你的指示我得到它的工作。對於延遲迴復抱歉。 – TMRW 2013-03-28 07:55:58