Jump to content

Recommended Posts

Posted (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 OFF

REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /F
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /F

for /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:
set wpipath=%drive%\wpi

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

REG ADD %KEY%\001 /V 1 /D "%wpipath%\WPI.hta" /f

EXIT

and 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 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 "Uygulamalar Yukleniyor" /f

REG ADD %KEY%\001 /VE /D "Driverpacks Finisher" /f
REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /f

REG ADD %KEY%\005 /VE /D "Nero 10 Micro" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\son_adim\nero10_micro.exe" /f

EXIT

please 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" /F
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /F

for /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:
set wpipath=%drive%\wpi

Edited by ZEUS__

Posted

Anyway, I gave a try and it works.:)

@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 "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /F
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /F

for /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:
set wpipath=%drive%\wpi

REG ADD %KEY% /V TITLE /D "Uygulamalar Yukleniyor" /f

REG ADD %KEY%\001 /VE /D "Driverpacks Finisher" /f
REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /f

REG ADD %KEY%\010 /V 1 /D "%wpipath%\WPI.hta" /f

EXIT

Posted

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?

windowsxpprofessional20r.png

Posted

@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 "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /F
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /F

for /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:
set wpipath=%drive%\wpi

REG ADD %KEY% /V TITLE /D "Uygulamalar Yukleniyor" /f

REG ADD %KEY%\001 /V 1 /D "%wpipath%\WPI.hta" /f

REG ADD %KEY%\999 /VE /D "Driverpacks Finisher" /f
REG ADD %KEY%\999 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /f

EXIT

We 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.

Posted

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 :)

  • 2 weeks later...
Posted (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" /F
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /F

@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 "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /F
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /F

for /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:
set wpipath=%drive%\wpi

REG ADD %KEY% /V TITLE /D "Uygulamalar Yukleniyor" /f

REG ADD %KEY%\001 /V 1 /D "%wpipath%\WPI.exe" /f

REG ADD %KEY%\999 /VE /D "Driverpacks Finisher" /f
REG ADD %KEY%\999 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /f

EXIT

Edited by ZEUS__
Posted (edited)

thanks for quick reply :) also I gave a try before your reply and it worked well.

Edited by ZEUS__

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...