Jump to content

can people spot where im going wrong


Recommended Posts

@ECHO OFF
TITLE Post Install Setup
ECHO Starting DirectX 9 Install...
START "DirectX 9 Install" /WAIT ".\DIRECTX\DX90_REDIST.EXE" /Q
ECHO Importing Registry Files...
START "" /WAIT REGEDIT /S ".\REG_FILES\time.reg"
ECHO Starting Windows Media Player Install...
START "Windows Media Player Install" /WAIT ".\WMP\MP10Setup.exe /Q:A /C:"setup_wm.exe /Q:A /R:N"
ECHO Starting Internet Explorer 6 Install...
START "Internet Explorer 6 Install" /WAIT ".\IE\ie6setup.exe" /C:"IE6WZD /S:""#e"" /Q:A /R:N"
ECHO Starting Winrar 3 Install...
START "Winrar 3" /WAIT ".\wrar340corp.exe" /S
ECHO Installing Office 2003 Professional
ECHO Please wait..
start /wait ".\Office2003\setup.exe TRANSFORMS=auto.MST /qb-"
ECHO "Installing VLC Media Player"
ECHO Please wait...
start /wait ".\VLC\vlc-0.8.0-win32.exe" /S

can any 1 tell me where im going wrong on here? btw ive added the reg for wmp10.

Link to comment
Share on other sites


@ECHO OFF
TITLE Post Install Setup
ECHO Starting DirectX 9 Install...
START /WAIT "DIRECTX\DX90_REDIST.EXE" /Q
ECHO Importing Registry Files...
REGEDIT /S "REG_FILES\time.reg"
ECHO Starting Windows Media Player Install...
Install /WAIT "WMP\MP10Setup.exe /Q:A /C:"setup_wm.exe /Q:A /R:N"
ECHO Starting Internet Explorer 6 Install...
START /WAIT "IE\ie6setup.exe" /C:"IE6WZD /S:""#e"" /Q:A /R:N"
ECHO Starting Winrar 3 Install...
START /WAIT "wrar340corp.exe" /S
ECHO Installing Office 2003 Professional
ECHO Please wait..
START /WAIT "Office2003\setup.exe TRANSFORMS=auto.MST /qb-"
ECHO "Installing VLC Media Player"
ECHO Please wait...
START /WAIT "VLC\vlc-0.8.0-win32.exe" /S

I think this should work.

You should not need anything between start and /wait.

Call regedit without start /wait.

You should not need .\ when working to relative address. Though some programs insist on it. cmd.exe shouldn't.

Link to comment
Share on other sites

You seem to have quotation marks everywhere for no reason, and unbalanced...

Try something like this, bear in mind, I have never seen installs for IE6 etc. so I'm assuming this is for Win2000. The rule of thumb should be to use the quotation marks to keep sections with spaces in together, seeing as most of yours do not have spaces in them, you don't need em. I've left some in simply because I don't know the commands, but at least they appear to balance up.

@ECHO OFF
TITLE Post Install Setup
ECHO.
ECHO Starting installation of Applications
ECHO.
ECHO Starting DirectX 9 Install...
start /wait .\DIRECTX\DX90_REDIST.EXE /Q
ECHO.
ECHO Importing Registry Files...
start /wait REGEDIT /S .\REG_FILES\time.reg
ECHO.
ECHO Starting Windows Media Player Install...
start /wait .\WMP\MP10Setup.exe /Q:A /C:"setup_wm.exe /Q:A /R:N"
ECHO.
ECHO Starting Internet Explorer 6 Install...
start /wait .\IE\ie6setup.exe /C:IE6WZD /S:""#e" /Q:A /R:N"
ECHO.
ECHO Starting Winrar 3 Install...
start /wait .\wrar340corp.exe /S
ECHO.
ECHO Installing Office 2003 Professional
ECHO Please wait..
start /wait .\Office2003\setup.exe TRANSFORMS=auto.MST /qb-
ECHO.
ECHO Installing VLC Media Player
ECHO Please wait...
start /wait .\VLC\vlc-0.8.0-win32.exe /S
EXIT

Link to comment
Share on other sites

@ECHO OFF
TITLE Post Install Setup
ECHO Starting DirectX 9 Install...
START "DirectX 9 Install" /WAIT ".\DIRECTX\DX90_REDIST.EXE" /Q
ECHO Importing Registry Files...
START "" /WAIT REGEDIT /S ".\REG_FILES\time.reg"
ECHO Starting Windows Media Player Install...
START "Windows Media Player Install" /WAIT ".\WMP\MP10Silent.exe"
ECHO Tweaking Media Player 10 ...
ECHO Please wait...
REGEDIT /S ".\WMP10\Tweaks.reg"
ECHO Starting Internet Explorer 6 Install...
START "Internet Explorer 6 Install" /WAIT ".\IE\ie6setup.exe" /C:"IE6WZD /S:""#e"" /Q:A /R:N"
ECHO Starting Winrar 3 Install...
START "Winrar 3" /WAIT ".\wrar340corp.exe" /S
ECHO Installing Office 2003 Professional
ECHO Please wait..
start /wait .\Office2003\setup.exe TRANSFORMS=auto.MST /qb-

finally sorted me little problems with O2K3 and WMp10 :)

its for an XP install btw :)

Link to comment
Share on other sites

So it was just the unbalanced quotation marks then..

Out of curiosity, why the DX9 and IE6, have you not slipstreamed either of the service packs?

He could be using Win2K...

And to the thread starter, use descriptive thread titles. You're much more likely to get help when people browsing the forum have a clue as to what your thread is about. In fact, there's even a rule about that. I'd say you should spend some time reading and familiarizing yourself with them so you don't make the same mistake in the future.

12. Very often we see meaningless subjects in topic title. They give no clue of what the posts are all about. For example:

- Oh no!

- Help

- I'm mad

- Please help

- Question

- I need your help

- Hmmmm ....

This should be avoided. Users should enter something more specific in topic title so that it is easier for others to help.

A few good examples:

- Strange problem with DirectX9b redist

- RunOnceEx install problem (double installation)

- Change Internet Explorer's Icon back to default

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