Jump to content

cmdlines.txt HELP


Recommended Posts

Hi

I created my first unattended Xp setup disk, added al hotfixes and SP2, it all worked fine 'till

i tried to add some programs.

I used WPI application to install them insted of Batch scripting, i loaded all my programs in it, and executed it for a test, it

worked just fine, but i can't set up the path on WPI.cmd in my cmdlines.txt in $OEM$ folder.

WPI folder is located on the same level as the $OEM$ and I386 folders, (x:\WPI\Wpi.cmd).

I tried to set up a line in cmdlines.txt to start WPI.cmd but it's not working.

%CDROM%\WPI\Wpi.cmd

HELP Please!

Link to comment
Share on other sites


wpi is launched via 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:\WIN51IP.SP2 SET CDROM=%%i:

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

REG ADD %KEY%\001 /V 2 /D "%CDROM%\wpi.exe" /f

EXIT

Link to comment
Share on other sites

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