ZEUS__ Posted May 5, 2010 Share Posted May 5, 2010 (edited) Hi,There was a bug before, so mritter gave this code to use it from load desktop before for WPI. I use it for my DVD.here is;@ECHO OFFREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /FREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /Ffor /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:set wpipath=%drive%\wpiSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\001 /V 1 /D "%wpipath%\WPI.hta" /fEXITand now I have read;http://unattended.msfn.org/unattended.xp/and I changed something on my cd. Now Driverpacks finisher runs from RunOnceEx.cmd. And I have to merge it.. here is my CD's RunOnceEx.cmd;@ECHO OFFFOR %%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\RunOnceExREG ADD %KEY% /V TITLE /D "Uygulamalar Yukleniyor" /fREG ADD %KEY%\001 /VE /D "Driverpacks Finisher" /fREG ADD %KEY%\001 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /fREG ADD %KEY%\005 /VE /D "Nero 10 Micro" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\son_adim\nero10_micro.exe" /fEXITplease could you help me? I have to merge these two files without any issue. I'm confused about here of file about WPI.REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /FREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /Ffor /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:set wpipath=%drive%\wpi Edited May 14, 2010 by ZEUS__ Link to comment Share on other sites More sharing options...
ZEUS__ Posted May 5, 2010 Author Share Posted May 5, 2010 Anyway, I gave a try and it works.@ECHO OFFFOR %%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\RunOnceExREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /FREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /Ffor /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:set wpipath=%drive%\wpiREG ADD %KEY% /V TITLE /D "Uygulamalar Yukleniyor" /fREG ADD %KEY%\001 /VE /D "Driverpacks Finisher" /fREG ADD %KEY%\001 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /fREG ADD %KEY%\010 /V 1 /D "%wpipath%\WPI.hta" /fEXIT Link to comment Share on other sites More sharing options...
ZEUS__ Posted May 6, 2010 Author Share Posted May 6, 2010 I tried it again and I realized something. it didn't give me an error but it seemed that driverpacks finisher and WPI has worked together. here is a screen from my virtual machine. is this true way? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 6, 2010 Share Posted May 6, 2010 @ECHO OFFFOR %%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\RunOnceExREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /FREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /Ffor /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:set wpipath=%drive%\wpiREG ADD %KEY% /V TITLE /D "Uygulamalar Yukleniyor" /fREG ADD %KEY%\001 /V 1 /D "%wpipath%\WPI.hta" /fREG ADD %KEY%\999 /VE /D "Driverpacks Finisher" /fREG ADD %KEY%\999 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /fEXITWe recommend you have DP finisher run AFTER WPI.Please try one more time with my slight canges posted here.All else fails? Then just add DP finisher to WPI's execute after command in the options section. Link to comment Share on other sites More sharing options...
ZEUS__ Posted May 6, 2010 Author Share Posted May 6, 2010 thanks @ Kelsenellenelvian. I saw the same screen as my screen shot. but it was good to see driverpack finisher when action.. it worked without any conflict. thanks for the info Link to comment Share on other sites More sharing options...
ZEUS__ Posted May 14, 2010 Author Share Posted May 14, 2010 (edited) Hi again,@Kelsenellenelvian I updated my WPI to 8.0 and there is no more wpi.hta I think. is there any difference for RunOnceEx.cmd to run WPI.exe??for example these two lines are need anymore?REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /FREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /F@ECHO OFFFOR %%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\RunOnceExREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /FREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /Ffor /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:set wpipath=%drive%\wpiREG ADD %KEY% /V TITLE /D "Uygulamalar Yukleniyor" /fREG ADD %KEY%\001 /V 1 /D "%wpipath%\WPI.exe" /fREG ADD %KEY%\999 /VE /D "Driverpacks Finisher" /fREG ADD %KEY%\999 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /fEXIT Edited May 14, 2010 by ZEUS__ Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 14, 2010 Share Posted May 14, 2010 You are correct those 2 lines are not needed anymore. Link to comment Share on other sites More sharing options...
ZEUS__ Posted May 14, 2010 Author Share Posted May 14, 2010 (edited) thanks for quick reply also I gave a try before your reply and it worked well. Edited May 14, 2010 by ZEUS__ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now