下面是引用threesecond于2007-08-23 11:07发表的 :
Windows 本身并没有内建 %CDROM% 这个变数,要自己 set,别用错误资讯误导人,
简单的作法请看这篇:
http://www.threesecond.info/v2/modules/xhnewbb/view...ost_id=608#forumpost608
.......
我可没有用错误资讯误导人家!!WPI\WPIScripts\config.js内容
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//---------------------------------------------------------------------------------------------
// Reference ... prog[0] won't be used. It's just an example.
// Look in program.js to see explanation of these properties.
//---------------------------------------------------------------------------------------------
// pn=0; // start value for prog numbering
// prog[pn]=['ProgramName'];
// ordr[pn]=[0];
// desc[pn]=['Description'];
// uid[pn]=['APP1'];
// dflt[pn]=['no'];
// cat[pn]=['Application Category'];
// forc[pn]=['false'];
// configs[pn]=['List of configs to be auto checked. Comma seperated'];
// deps[pn]=[];
// excl[pn]=[];
// cond[pn]=['Javascript Conditional Statement'];
// gcond[pn]=['Javascript Conditional Statement to gray item'];
// regb[pn]=['Registry Key Path'];
// cmd1[pn]=['CommandLine 1'];
// cmd2[pn]=['CommandLine 2'];
// cmd3[pn]=['CommandLine 3'];
// cmd4[pn]=['CommandLine 4'];
// cmd5[pn]=['CommandLine 5'];
// cmd6[pn]=['CommandLine 6'];
// rega[pn]=['Registry Key Path'];
// picf[pn]=['Picture File'];
// picw[pn]=['Width'];
// pich[pn]=['Height'];
// textl[pn]=['Text Location'];
// pn++;
//---------------------------------------------------------------------------------------------
// Your programs here ...
//---------------------------------------------------------------------------------------------
prog[pn]=['EVEREST Ultimate Edition 4.00.976'];
desc[pn]=['这是一款可以完全显示你系统所有资讯的五星级软体,包括Computer、Motherboard、Operating Systen、Server、Display、Multimedia、Storage、Input、Network、Devices、Software、Config、Misc、Benchmark共15大项资讯,每一项都有详细的资讯。'];
uid[pn]=['EVERESTULTIMATEEDITION400'];
dflt[pn]=['no'];
cat[pn]=['系统工具'];
forc[pn]=['no'];
cmd1[pn]=['
"%CDROM%\\EVEREST\\EVEREST.exe" /verysilent'];
cmd2[pn]=['
"%CDROM%\\EVEREST\\EVERESTKey.exe" /s'];
pn++;
//---------------------------------------------------------------------------------------------
// End of program definitions ...
//---------------------------------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
确实可以直接在光碟上执行安装!!