Jump to content

Recommended Posts

Posted

Hi, i am currently working on a unattended install for the college i work for.

Basically its a Windows XP install, i have managed to merge drivers and other applications both in nlite and in WPI, but the only issue im having at the moment is a batch file the contents of the batch file are as followed;

@ECHO The Sheffield College

@echo Windows Update Script

@ Echo ********************************

@ Echo *Do Not Switch Off The Computer*

@ Echo * As Windows XP Is Installing *

@ Echo * Important Updates *

@ Echo ********************************

@echo Currently Installing .Net Framework 2

start /wait dotnetfx.exe /q /c:"install.exe /q"

@echo Currently Installing Windows Install 3.1

start /wait WindowsInstaller-KB893803-v2-x86.exe /q

EXIT /B

Running the script by itself works fine, installs as it should not a problem but when i add it to WPI i get the following error message;

---------------------------

dotnetfx.exe

---------------------------

Windows cannot find 'dotnetfx.exe'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.

---------------------------

OK

---------------------------

and the same for the Windows Installer 3.1

was wondering what i was doing wrong

Thanks

Chris


Posted

You probably need complete path names:

start /wait c:\wpi\install\dotnetfx.exe /q /c:"install.exe /q"

The /c:"install.exe /q" looks alittle weird, too.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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