求救@@ nLite與無人值守WPI應用問題

Home Home
引用 | 編輯 feeling0319
2010-02-28 18:33
樓主
推文 x0
以下問題小弟我 ~~請教各位大大


nLite我還可以 安裝好 在用模擬器灌到好OK

我想在nLite安裝完後執行 WPI多軟體自動安裝



$OEM$/cmdlines.txt

語法


"Regedit /s tweaks.reg"
"rundll32 advpack.dll,LaunchINFSection nLite.inf,U"
"RunOnceEx.cmd"




$OEM$/RunOnceEx.cmd

語法


cmdow @ /HID
@Echo Off

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Windows Update" /f

REG ADD %KEY%\005 /VE /D "XP優化登錄檔" /f
REG ADD %KEY%\005 /V 1 /D "REGEDIT /S %CDROM%\程式集\[系統優化]\XP優化.reg" /f

REG ADD %KEY%\010 /VE /D "安裝常用程式" /f
REG ADD %KEY%\010 /V 1 /D "%CDROM%\WPI\WPI.hta" /f

REG ADD %KEY%\015 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\015 /V 1 /D "%CDROM%\$OEM$\cleanup.cmd" /f

EXIT





可是WPI都沒叫出來 這為何?? 語法那段出問題?

我先前軟體自動安裝用XPlode.xml寫 然後執行XPlode.exe

但是我用XPlode.xml 叫WPI也叫不出來

語法




<XPlode>
<config>
<hidewindow>Windows Update</hidewindow>
<hidewindow>CMD.EXe</hidewindow>
<show total='10' after='2' subcount='true' />

<!-- turn antialiasing OFF if you're running GUIinstall mode -->
<font face='Tahoma' antialias='true' small='8' large='10' />

<!-- note the position attribute - it is listed in 'x,y' positions. -->
<!-- 0..8 still may be used. -->
<window width='461' position='8' ..

訪客只能看到部份內容,免費 加入會員



獻花 x0
引用 | 編輯 pp306
2010-04-26 13:47
1樓
  
看起來很難但燒錄都失敗 @@" 

獻花 x0