下面是引用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 ...
//---------------------------------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
確實可以直接在光碟上執行安裝!!