Jump to content

Recommended Posts

Posted

Hi,

I prepared and tested my first Unattended WinXP + Appz (WPI) DVD. I got some errors, these will be corrected in my next release.

My main error is after the WinXP install 1st boot, i get "Software\wpi\wpi.cmd not find." error message. I opened windows Explorer, click on DVD Software\wpi\wpi.cmd this time i got "There is no disk in the drive. Please, insert disk into the drive [Cancel] [Try again] [Continue]" error message. i clicked about 3 times on [Cancel] then i got WPI started and i could install everything.

I've no command for wpi in my winnt.sif.

WPI is launced through cmdlines.txt

[COMMANDS]
"RunOnceEx.cmd"

RunOnceEx.cmd

cmdow @ /HID

@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\WPI\WPI.exe" /f

wpi.cmd as standard i did not copy all of it in this axample.

@ECHO OFF
for %%i in (C 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:\WIN51 set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%
....
....
start /wait WPI.hta
exit

I'm suspecting RunOnceEx.cmd problem.

1) Should be "EXIT" at the last line?

2) Should i insert at the top of it

for %%i in (C 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:\WIN51 set CDROM=%%i:

in order to detect a cdrom???

If so, what happens with this exact CD detection line

for %%i in (C 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:\WIN51 set CDROM=%%i:

inside wpi.cmd???

TNX for any help

coucou


Posted
RunOnceEx.cmd

cmdow @ /HID

CODE

@echo off

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

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

first off its wpi.cmd not wpi.exe unless youve created something new.

and i tried to run mine from the runonceex before and it didnt work for me try calling it from the guirunonce section in your winnt.sif

Posted

Oooops!!!

Yeah! I'm runing astalavista wpi.exe instead of wpi.cmd.

It is not a wpi.exe or .cmd problem. As you wrote

and i tried to run mine from the runonceex before and it didnt work for me
.

The problem is still in RunOnceEx.cmd.

1) Should be "EXIT" at the last line?

2) Should i insert at the top of it

for %%i in (C 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:\WIN51 set CDROM=%%i:

in order to detect a cdrom???

If so, what happens with this exact CD detection line

for %%i in (C 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:\WIN51 set CDROM=%%i:

inside wpi.exe or wpi.cmd???

TNX for any help

coucou

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