为避免鸡同鸭讲,先做几个定义
==================
图一:安装画面
图二:WPI 组态参数画面
图三:安装程式参数画面
==================
WPI 4.3.5 原创者载点
拿到原始码时,记得修改 WPI.cmd 中这一行 (或像我一样,把他 mark 掉)
rem start /d"%CD%\Tools\" VideoChanger.exe 1280x1024x32@70 -q
此行就是把萤幕切换成模式 1280x1024, 32bit color, 70 Hz(萤幕更新频率),
若你的萤幕与显示卡,不支援此模式,会导致 Windows 画面无法显示。运气差的话
会造成萤幕损害。
(相信我,我遇过这样的问题)
别急着执行,把下面 1,2 点看清楚
常见问题:
1. WPI 发生错误时,如何关闭
===========================
按 ctrl+alt+del 开启 Windows 工作管理员,找到 mshta.exe,结束这个处理程序,无须重新启动
2. 原版 WPI 无法执行
====================
将 Wpiscripts\lang.js 换成下面这一个,其原因参考这边
lang.js
var runOnceExDlgTitle=[];
var msgStartInstall=[];
var txtRunOnceExTitle=[];
var lblTimerTitle=[], lblTimerStop=[];
var lblInstall=[], lblExit=[], lblHelp=[], lblSelectAll=[], lblSelectNone=[], lblSelectDefaults=[], lblOptions=[], lblConfig=[], lblSource=[], lblmanual=[], lblselect=[], lblMusic=[];
var ttInstall=[], ttExit=[], ttHelp=[], ttSelectAll=[], ttSelectNone=[], ttSelectDefaults=[], ttConfig=[], ttOptions=[], ttSource=[], ttmanual=[], ttMusic=[];
function getText(par)
{
if (par) return par;
return par['en'];
}
//---------------------------------------------------------------------------------------------
//english - DO NOT DELETE !!
lang = 'en'
msgStartInstall = ['Windows Post-Installation Wizard will now exit, and in the next few minutes, the options you have selected will install.\nPlease sit back and wait while the process completes.\n\nThank you for using Windows Post-Install Wizard.'];
lblTimerTitle = ['The Installer<br>will start in'];
lblTimerStop = ['<u>Click to stop the timer</u>'];
lblInstall = ['Begin Install'];
lblExit = ['Exit'];
lblHelp = ['Help'];
lblSelectAll = ['Select All'];
lblSelectNone = ['Select None'];
lblSelectDefaults = ['Select Defaults'];
lblMusic = ['Audio Player'];
lblOptions = ['Options'];
lblConfig = ['Config'];
lblSource = ['Show Source'];
lblmanual = ['User Manual'];
lblselect = ['Selections:'];
ttInstall = ['Begin Installation','Initiates the script generator. Click here to begin installing the selected applications and features.'];
ttExit = ['Exit Button','Click here to close the WPI application.'];
ttHelp = ['Help','Displays basic usage, version information, and disclaimer.'];
ttSelectAll = ['Select All','Click here to select all available options.'];
ttSelectNone = ['Select None','Click here to deselect all available options.'];
ttSelectDefaults = ['Select Defaults','Click here to enable the default recommended options. ..
访客只能看到部份内容,免费 加入会员 或由脸书 Google 可以看到全部内容