Jump to content

Recommended Posts

Posted (edited)

Hi.

Me Make Muti Win in xp sp2/sp3/sp2 x64.

But Now Need Help For Install app.

22226781246079572890.png

cmdow @ /HID
CLS
@echo off
TITLE Windows XP SP2 - Unattended Installation

start /wait %systemdrive%\install\Applications\Setup_1_32bit.exe -install -force
start /wait %systemdrive%\install\Applications\Setup_2_32bit.exe -install -force
start /wait %systemdrive%\install\Applications\Setup_4.exe
start /wait %systemdrive%\install\Applications\Setup_6.exe /sAll /norestart
start /wait %systemdrive%\install\Applications\Setup_7.exe /S /noreboot
start /wait %systemdrive%\install\Applications\Setup_8.exe -ms
start /wait %systemdrive%\install\Applications\Setup_9.exe /silent /install
start /wait %systemdrive%\install\Applications\Setup_10.exe
start /wait %systemdrive%\install\Applications\Setup_11.exe /SILENT
start /wait %systemdrive%\install\Applications\Setup_12.exe
start /wait %systemdrive%\install\Applications\Setup_13.exe /SILENT
start /wait %systemdrive%\install\Applications\Setup_14.exe /S /install=SFQDRA (F=file association, Q=quicklaunch icon, D=desktop icon, R=fake registration, A=run winamp agent/set default)
start /wait %systemdrive%\install\Applications\Setup_15_32bit.exe /s
start /wait %systemdrive%\install\Applications\Setup_16.exe /s
start /wait %systemdrive%\install\windows\Setup_1.exe /passive /no-default /closeprograms /norestart
start /wait %systemdrive%\install\windows\Setup_2_32bit.exe /s REBOOT=Suppress
start /wait %systemdrive%\install\windows\Setup_3.exe /q:a /c:"install.exe /qb"
start /wait %systemdrive%\install\windows\Setup_3.exe /passive /norestart
start /wait %systemdrive%\install\windows\Setup_6.exe /passive /norestart
start /wait %systemdrive%\install\windows\Setup_7_32bit.exe /Q
start /wait %systemdrive%\install\windows\Setup_8_32bit.exe /Q
start /wait %systemdrive%\install\windows\Setup_9_32bit.exe /q /norestart
start /wait %systemdrive%\install\windows\Setup_10.exe /q /norestart
start /wait %systemdrive%\install\windows\Setup_11.exe /q /norestart
start /wait %systemdrive%\install\windows\Setup_12.exe /q /norestart
start /wait %systemdrive%\install\windows\Setup_13.exe /q /norestart
start /wait %systemdrive%\install\windows\Setup_14.exe /q /norestart

RD /S /Q %systemdrive%\install\
DEL "%systemdrive%\install\
"
set h="%SystemRoot%\system32\drivers\etc\hosts"
attrib -r -a -s -h %h%
echo.>>%h%
for %%s in (127.0.0.1 acdid.acdsystems.com) do find /c /i "%%s" %h%>nul||(echo.Adding "%%s" to hosts file&echo.127.0.0.1 %%s>>%h%||echo.Access denied when adding %%s!)

cmdow @ /HID
shutdown.exe -r -f -t 3 -c "Windows XP will restart in 3 seconds..."
EXIT

Edited by MgmTest

Posted

What help are you requiring?

Posting a screenshot and ill thought out batch file doesn't tell us anything.

Here's the script again, changed a little.

@CMDOW @ /HID
SETLOCAL

(SET _SI=%SYSTEMDRIVE%\install)
START "" /WAIT "%_SI%\Applications\Setup_1_32bit.exe" -install -force
START "" /WAIT "%_SI%\Applications\Setup_2_32bit.exe" -install -force
START "" /WAIT "%_SI%\Applications\Setup_4.exe"
START "" /WAIT "%_SI%\Applications\Setup_6.exe" /sAll /norestart
START "" /WAIT "%_SI%\Applications\Setup_7.exe" /S /noreboot
START "" /WAIT "%_SI%\Applications\Setup_8.exe" -ms
START "" /WAIT "%_SI%\Applications\Setup_9.exe" /silent /install
START "" /WAIT "%_SI%\Applications\Setup_10.exe"
START "" /WAIT "%_SI%\Applications\Setup_11.exe" /SILENT
START "" /WAIT "%_SI%\Applications\Setup_12.exe"
START "" /WAIT "%_SI%\Applications\Setup_13.exe" /SILENT
START "" /WAIT "%_SI%\Applications\Setup_14.exe" /S /install=SFQDRA
START "" /WAIT "%_SI%\Applications\Setup_15_32bit.exe" /s
START "" /WAIT "%_SI%\Applications\Setup_16.exe" /s
START "" /WAIT "%_SI%\windows\Setup_1.exe" /passive /no-default /closeprograms /norestart
START "" /WAIT "%_SI%\windows\Setup_2_32bit.exe" /s REBOOT=Suppress
START "" /WAIT "%_SI%\windows\Setup_3.exe" /q:a /c:"install.exe /qb"
START "" /WAIT "%_SI%\windows\Setup_3.exe" /passive /norestart
START "" /WAIT "%_SI%\windows\Setup_6.exe" /passive /norestart
START "" /WAIT "%_SI%\windows\Setup_7_32bit.exe" /Q
START "" /WAIT "%_SI%\windows\Setup_8_32bit.exe" /Q
START "" /WAIT "%_SI%\windows\Setup_9_32bit.exe" /q /norestart
START "" /WAIT "%_SI%\windows\Setup_10.exe" /q /norestart
START "" /WAIT "%_SI%\windows\Setup_11.exe" /q /norestart
START "" /WAIT "%_SI%\windows\Setup_12.exe" /q /norestart
START "" /WAIT "%_SI%\windows\Setup_13.exe" /q /norestart
START "" /WAIT "%_SI%\windows\Setup_14.exe" /q /norestart
RD/S/Q "%_SI%"

(SET _HF=%SYSTEMROOT%\SYSTEM32\DRIVERS\ETC\HOSTS)
ATTRIB -R "%_HF%"
FOR %%a IN (127.0.0.1 acdid.acdsystems.com) DO (
FINDSTR/IV "^#" "%_HF%"|FIND /I "%%a"||(>>"%_HF%" ECHO=127.0.0.1 %%a)
)

SHUTDOWN.EXE -r -f -t 3 -c "Windows XP will restart in 3 seconds..."

Posted (edited)

Only Install App In All Win.

WINNT.SIF
[GuiRunOnce]
"install\install.cmd"

CMDLINES.TXT
"%CDROM%\install\Test.cmd"

05171162400560882469.png

Edited by MgmTest
Posted

I've never been much of a fan of cryptic crosswords so please try to ask a properly formed question, (without posting any more graphics)!

We have no idea what the contents of TEST.CMD are, (I'm assuming that the previous code you posted was INSTALL.CMD).

We still do not know what help you are requiring, but I'll tell you that CMDLINES.TXT is unlikely to know what %CDROM% means.

Posted

I BELIEVE what he is trying to say, so eloquently, is the following:

"I have a multi- boot CD\DVD that contains several Versions of XP on it. How Can I implement the following .cmd for EACH installation while only having one folder for the application installers on the disk?"

P.S. I see a folder called "HBCD" could that be Hirens by any chance?

Posted

I'll trust your interpretation and move the post to the Multi-Boot Forum.

(I'll remind the OP however that the original script they posted is wrong and that the cmdlines.txt command is too!)

Posted

Me Change Winnt.sif to :

[GuiRunOnce]
Command0="%CDROM%\INSTALL\INSTALL.CMD"

And

CMDLINES.TXT
"%CDROM%\INSTALL\INSTALL.CMD"

Not Working Why?????????????????????????????????????

Posted

Because they are both incorrect commands, one of them I've already told you about twice!

Really you should concentrate on learning how to correctly create single boot install media before you take the multi boot route.

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