Jump to content

Recommended Posts

Posted

Hi everyone, I'm trying to make an Unattended Windows XP CD, but I can't seem to get the applications to install correctly. Until I managed to get working the windows installation, but when is time for the applications to install I get this error message:

Windows cannot find'C:\install\Install\Framewor'. Make sure you typed the name correctly and try again. To search for a file, click start button, and then searh.

I Get this message for every application I'm trying to install.

Any help will be very much appreciated.!!!!!

post-181517-1205333920_thumb.jpg


Posted

Depending upon where you are running this from you may need to enclose the command and path in double quotes.

For example:

"C:\install\Install\Framework 1.1\dnet11.exe"

the way it is running now it thinks the first switch is the 1.1 and Framework is the executable it should run.

Posted

Where are you doing the install from? post the file that the commands are running from, that may help clear it up, or post the contents of the file in the post.

Posted

This is what i'm trying to use to install the applications

ECHO Installing .NET Framework v1.1

ECHO Please wait...

start /wait "%systemdrive%\install\Framework1.1\install.exe"

ECHO Installing .NET Framework v2.0

ECHO Please wait...

start /wait "%systemdrive%\install\NetFramework 2.0\install.exe" /S /qb-! /f

ECHO Installing Adobe Reader 7

ECHO Please wait...

start /wait "%systemdrive%\install\Adobe Reader 7\AdbeRdr708_en_US.exe" -p-s /v\"/qn\""

ECHO.

ECHO Installing Office 2003 Professional

ECHO Please wait...

start /wait "%systemdrive%\install\Office2003\setup.exe" TRANSFORMS=Unattended.MST /qb-

ECHO.

ECHO Quicktime

ECHO Please wait...

start /wait "%systemdrive%\install\Quicktime\QuickTimeInstaller.exe" /S /V/qn

ECHO.

ECHO Installing Windows Media Player 11

ECHO Please wait...

start /wait "%systemdrive%\install\WMP11\MP11setup.exe" /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"

ECHO.

ECHO Installing Sun Java

ECHO Please wait...

start /wait "%systemdrive%\install\Sun Java\Sun Java.exe" [/L<language ID>] /s [ADDLOCAL=jrecore[,extra][,other_US] | ALL] [iEXPLORER=1] [MOZILLA=1] [iNSTALLDIR=<drive>:\<install_path>] [REBOOT=Suppress] [JAVAUPDATE=0] [CUSTOM=1]

ECHO.

ECHO Installing Adobe ShockWave Player 10.2.0

ECHO Please wait...

start /wait "%systemdrive%\install\Adobe\Shockwave.exe" /s

ECHO.

ECHO Installing Adobe Flash Player 9.0.45

ECHO Please wait...

start /wait "%systemdrive%\install\Adobe\Flash.exe" /s

exit

And just in case it is any help this is the winnt.sif

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

AutomaticUpdates=yes

[unattended]

FileSystem=*

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

UnattendSwitch="yes"

KeyboardLayout="US-International"

[GuiUnattended]

AdminPassword=

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=55

OemSkipWelcome=1

[userData]

ProductKey=

FullName="AF"

OrgName="Home

ComputerName=*

[RegionalSettings]

LanguageGroup=13,17,3,2,5,16,4,12,15,7,8,10,11,9,6,14,1

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

[Components]

msmsgs=off

msnexplr=off

freecell=off

hearts=off

minesweeper=off

pinball=off

solitaire=off

spider=off

zonegames=off

[GuiRunOnce]

%systemdrive%\install\Apps.cmd

Posted

The START command sees the first item in quotes and thinks it should be the title. Place a set of empty double quotes before the /wait and after start should solve it for you.

START ["title"] [/Dpath] [/MIN] [/MAX] [/sEPARATE | /SHARED]

[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]

[/WAIT] [command/program]

[parameters]

ECHO Installing .NET Framework v1.1
ECHO Please wait...
start "" /wait "%systemdrive%\install\Framework1.1\install.exe"

ECHO Installing .NET Framework v2.0
ECHO Please wait...
start "" /wait "%systemdrive%\install\NetFramework 2.0\install.exe" /S /qb-! /f

ECHO Installing Adobe Reader 7
ECHO Please wait...
start "" /wait "%systemdrive%\install\Adobe Reader 7\AdbeRdr708_en_US.exe" -p-s /v\"/qn\""

ECHO.
ECHO Installing Office 2003 Professional
ECHO Please wait...
start "" /wait "%systemdrive%\install\Office2003\setup.exe" TRANSFORMS=Unattended.MST /qb-

ECHO.
ECHO Quicktime
ECHO Please wait...
start "" /wait "%systemdrive%\install\Quicktime\QuickTimeInstaller.exe" /S /V/qn

ECHO.
ECHO Installing Windows Media Player 11
ECHO Please wait...
start "" /wait "%systemdrive%\install\WMP11\MP11setup.exe" /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"

ECHO.
ECHO Installing Sun Java
ECHO Please wait...
start "" /wait "%systemdrive%\install\Sun Java\Sun Java.exe" [/L<language ID>] /s [ADDLOCAL=jrecore[,extra][,other_US] | ALL] [IEXPLORER=1] [MOZILLA=1] [INSTALLDIR=<drive>:\<install_path>] [REBOOT=Suppress] [JAVAUPDATE=0] [CUSTOM=1]

ECHO.
ECHO Installing Adobe ShockWave Player 10.2.0
ECHO Please wait...
start "" /wait "%systemdrive%\install\Adobe\Shockwave.exe" /s

ECHO.
ECHO Installing Adobe Flash Player 9.0.45
ECHO Please wait...
start "" /wait "%systemdrive%\install\Adobe\Flash.exe" /s

exit

Posted

Using this code the command propmt box just disspears inmediatly,

ECHO Installing .NET Framework v1.1
ECHO Please wait...
"start "" /wait "%systemdrive%\install\Framework1.1\install.exe"

ECHO Installing .NET Framework v2.0
ECHO Please wait...
"start "" /wait "%systemdrive%\install\NetFramework 2.0\install.exe" /S /qb-! /f

ECHO Installing Adobe Reader 7
ECHO Please wait...
"start "" /wait "%systemdrive%\install\Adobe Reader 7\AdbeRdr708_en_US.exe" -p-s /v\"/qn\""

ECHO.
ECHO Installing Office 2003 Professional
ECHO Please wait...
"start "" /wait "%systemdrive%\install\Office2003\setup.exe" TRANSFORMS=Unattended.MST /qb-

ECHO.
ECHO Quicktime
ECHO Please wait...
"start "" /wait "%systemdrive%\install\Quicktime\QuickTimeInstaller.exe" /S /V/qn

ECHO.
ECHO Installing Windows Media Player 11
ECHO Please wait...
"start "" /wait "%systemdrive%\install\WMP11\MP11setup.exe" /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"

ECHO.
ECHO Installing Sun Java
ECHO Please wait...
"start "" /wait "%systemdrive%\install\Sun Java\Sun Java.exe" [/L<language ID>] /s [ADDLOCAL=jrecore[,extra][,other_US] | ALL] [IEXPLORER=1] [MOZILLA=1] [INSTALLDIR=<drive>:\<install_path>] [REBOOT=Suppress] [JAVAUPDATE=0] [CUSTOM=1]

ECHO.
ECHO Installing Adobe ShockWave Player 10.2.0
ECHO Please wait...
"start "" /wait "%systemdrive%\install\Adobe\Shockwave.exe" /s

ECHO.
ECHO Installing Adobe Flash Player 9.0.45
ECHO Please wait...
"start "" /wait "%systemdrive%\install\Adobe\Flash.exe" /s

exit

Posted

remove the quote from in from of START. sorry I may not have explained ot clearly. it should look like the code I posted.

FYI: when posting code anf inf's etc for readability place them inside code tags.

Posted

It will do, because it's not what was suggested for you to use.

All your commands seem to be starting their lines with a double quote before the word start, remove them and try again!

<Edit>

Sorry for the post IcemanND beat me to it!

I've edited your post however to place your code in between tags

</Edit>

Posted

After I removed the " before start I receive the firts error message, and I copied the code posted IcemanND

Posted

Your first post had the path as ...\framework 1.1\ but you posted you cmd file with ....\framework1.1\ one with a space one without. make sure the paths in the file match the paths on the hard drive.

Posted

They match, I tried it with and without the space, currently I have them with the space, this is the print Screen of my install folder and the .cmd file, so you can see the file names match

post-181517-1205419179_thumb.jpg

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