Jump to content

Media Player 9


talon

Recommended Posts

Can anyone help me figure out why this is happening.

When it comes to the media plaer installation of my batch_file, I get the error message that is attached.

The command line I use is

start /wait %cdrom%\Applications\WMP9\MPSetupXP.exe /Q:A /R:N

Everyhting else seems to install without any problems.

error.bmp

Link to comment
Share on other sites


why not just use the unattended media player 9 installation? There is a stand-alone Media Player 9 unattend install, or there is a Media Player 9 and Movie Maker 2 bundle package...

then you don't need any switches.... and install it via svcpack.inf ?

Link to comment
Share on other sites

it is WMP9 and MM2, and perhaps he's content with just WMP9 :)

besides all the OPK version does, is bundle both installers into one package and then use the same commands we would to install them.

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

In my batch, when I run the above command, it gives me an error "too many command- line parameters"

Any reason why I would get that? Obviously I'm doing it wrong, but I copied and pasted from the 2 posts above and doesn't seem to work for me.

Thanks,

0007

Link to comment
Share on other sites

Yo everyone,

tis eZ my first post, anyway i read all threads on windows media player 9 that i could find on this website....and i still haven't found a working solution.

Now i.am new at this kind of thing but i have learned a lot of information from reading on this site. (**** Good Too :D . But i still can't get windows media player to work correctly. I get the "system restore error". and it won't contiune installing anything until i click "yes". I went to the website,

(http://appdeploy.com/packages/detail.asp?id=151)

i read the info there but i still can't get it right :)

all i want to do is be able to siently install wmp9 and have the following with it preconfiged; if possible...

- Accepted Privacy Statement

- Set WMPAs Default

- system restore continue even if it's off

all of this done without being prompted for a answer. :D

and if possible being able to have wmp9 already fully cofigured,

example:

size, visalations, skin and etc. already set at where i want them. this way the user doesn't have to config anything. (Again, if possible). i'am willing to do the extra work.

what i'am doing wrong?

my prsent settings...

"RunOnceEx.cmd"

~~~~~~~START~~~~~~~~

cmdow @ /HID

@echo off

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing List Of Applications, Programs & Utilities..." /f

REG ADD %KEY%\001 /VE /D "Please Wait..." /f

REG ADD %KEY%\001 /VE /D "Loaded." /f

REG ADD %KEY%\005 /VE /D "Installing Power Toys - Image Resizer" /f

REG ADD %KEY%\005 /VE /D "Please Wait..." /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\PowerToys\ImageResizer.exe /s /v/qn" /f

REG ADD %KEY%\005 /VE /D "Completed." /f

REG ADD %KEY%\010 /VE /D "Installing Power Toys - Task Switch" /f

REG ADD %KEY%\010 /VE /D "Please Wait..." /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\PowerToys\TaskSwitch.exe /s /v/qn" /f

REG ADD %KEY%\010 /VE /D "Completed." /f

REG ADD %KEY%\015 /VE /D "Installing Windows Media Player 9 Series..." /f

REG ADD %KEY%\015 /VE /D "Please Wait..." /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\QWMP90.exe /Q:A /R:N" /f

REG ADD %KEY%\015 /VE /D "Completed." /f

REG ADD %KEY%\020 /VE /D "Configuring Windows Media Player 9 Series..." /f

REG ADD %KEY%\020 /VE /D "Please Wait..." /f

REG ADD %KEY%\020 /V 1 /D "REGEDIT /S %systemdrive%\Install\WMP9Config#1.reg" /f

REG ADD %KEY%\020 /V 2 /D "REGEDIT /S %systemdrive%\Install\WMP9Config#2.reg" /f

REG ADD %KEY%\020 /VE /D "Completed." /f

REG ADD %KEY%\025 /VE /D "Importing Registry Tweaks-Fixs" /f

REG ADD %KEY%\025 /V 1 /D "REGEDIT /S %systemdrive%\Install\RegTweaks.reg" /f

REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\CleanUp.cmd" /f

EXIT

~~~~~~~END~~~~~~~~~~~

"CleanUp.cmd"

~~~~~~~~START~~~~~~~

CLS

@echo off

COLOR 79

@echo off

TITLE Windows XP SP1a+HotFix's - Unattended Installation

ECHO.

ECHO Over The Next 2 Minutes You Will See Automated Installations

ECHO Of Various Sofware Applications, Windows Updates, And Registry

ECHO Tweaks-Fixs Being Implemented. The Computer Will Restart Automatically

ECHO Once The Whole Process Has Finished.

ECHO.

ECHO.

ECHO Please Wait, Processing Requests...

ECHO.

ECHO Preparing List Of Applications, Programs & Utilities...

ECHO Please Wait...

ECHO... ... ... ... ...

ECHO... ... ... ...

ECHO... ... ...

ECHO... ...

ECHO...

ECHO Loaded.

ECHO Starting Services...

ECHO.

ECHO.

ECHO Deleting Unwanted WallPaper...

DEL "%systemroot%\Blue Lace 16.bmp"

DEL "%systemroot%\Coffee Bean.bmp"

DEL "%systemroot%\FeatherTexture.bmp"

DEL "%systemroot%\Gone Fishing.bmp"

DEL "%systemroot%\Greenstone.bmp"

DEL "%systemroot%\Prairie Wind.bmp"

DEL "%systemroot%\Rhododendron.bmp"

DEL "%systemroot%\River Sumida.bmp"

DEL "%systemroot%\Santa Fe Stucco.bmp"

DEL "%systemroot%\Soap Bubbles.bmp"

DEL "%systemroot%\Zapotec.bmp"

DEL "%systemroot%\Web\Wallpaper\Ascent.jpg"

DEL "%systemroot%\Web\Wallpaper\Autumn.jpg"

DEL "%systemroot%\Web\Wallpaper\Bliss.bmp"

DEL "%systemroot%\Web\Wallpaper\Crystal.jpg"

DEL "%systemroot%\Web\Wallpaper\Follow.jpg"

DEL "%systemroot%\Web\Wallpaper\Friend.jpg"

DEL "%systemroot%\Web\Wallpaper\Home.jpg"

DEL "%systemroot%\Web\Wallpaper\Moon flower.jpg"

DEL "%systemroot%\Web\Wallpaper\Peace.jpg"

DEL "%systemroot%\Web\Wallpaper\Power.jpg"

DEL "%systemroot%\Web\Wallpaper\Purple flower.jpg"

DEL "%systemroot%\Web\Wallpaper\Ripple.jpg"

DEL "%systemroot%\Web\Wallpaper\Stonehenge.jpg"

DEL "%systemroot%\Web\Wallpaper\Tulips.jpg"

ECHO Completed.

ECHO.

ECHO.

ECHO Removing Useless Shortcuts And Folder Directories...

DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"

DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"

RD /S /Q "%AllUsersProfile%\Documents\My Music\My Playlists"

RD /S /Q "%AllUsersProfile%\Documents\My Music\Sample Music"

RD /S /Q "%AllUsersProfile%\Documents\My Music\Sample Playlists"

DEL /Q "%AllUsersProfile%\Documents\My Music\*.*"

RD /S /Q "%AllUsersProfile%\Documents\My Pictures\Sample Pictures"

ECHO Completed.

ECHO.

ECHO.

ECHO Deleting Temporary Installation Folders And Files...

RD /S /Q "%AllUsersProfile%\Documents\Microsoft"

RD /S /Q "%systemdrive%\Drivers\"

RD /S /Q "%systemdrive%\Install\"

RD /S /Q "%systemdrive%\Temp\"

RD /S /Q "%systemroot%\Cache\"

RD /S /Q "%systemroot%\Driver Cache\"

RD /S /Q "%systemroot%\Temp"

RD /S /Q "%Temp%"

ECHO Completed.

ECHO.

ECHO.

ECHO Creating New Folder Directories...

MD "%systemroot%\Cache\"

MD "%systemroot%\Driver Cache\"

MD "%systemroot%\Temp\"

MD %Temp%

ECHO Completed.

ECHO.

ECHO.

ECHO.

ECHO Restarting Windows XP Professional In 1 Minute...

shutdown.exe -r -f -t 60 -c "Windows XP Professional Will Now Restart In 1 Minute, This Will Give Enough Time For The Shortcuts To Update And For The Shell To Fully Load Before It's Ready To Restart. - System Administrator"

ECHO.

ECHO.

ECHO.

ECHO.

ECHO Finished!

EXIT

~~~~~~~END~~~~~~~~~

what did i do wrong??

everything else installs and works perfectly :rolleyes:

Link to comment
Share on other sites

Thanks that does work.

when i do it right! :)

thanks for the tip :D

what about having windows media player already configered?

i'am going to export my reg settings into a *.reg file, and then add them in the command prompt. i'll see what happens. I am sure itl work, but i wonder if's a per user setting, and if will work under different User varibles on another computer. like C: D: E: etc.... :rolleyes:

Link to comment
Share on other sites

what up pee pole...

RUN regedit and navigate to:

[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer]

AND...

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Software\Microsoft]

export "MediaPlayer" & "Microsoft", the whole folder string into a WMP9_Settings.reg file.

Use the RunOnceEx.cmd to install the *.reg file durring setup... and presto when you run Windows Media Player 9, everything will be set to your hearts content!!!

the best thing to do is go through all the availble settings in windows media player 9 and configure them the way you want, then export them into a *.reg file. all your settings will now be saved!

NOTE: I noticed if you have mulitiple users accounts, it will still promp the user for the lisce agrement, and the file assocation defaults. but after you continue that part, all settings will be as you configured them.

run your saved *.reg file using the "RunOnceEx" method. along with the "cmdlines.txt".

don't forget to add this as well...

cmdlines.txt - this will add your settings to all user acounts:

~~~start~~~~~

[COMMANDS]

"REGEDIT /S RegTweaksHKLM.reg"

"REGEDIT /S RegTweaksHKCU.reg"

"RunOnceEx.cmd"

~~~~end~~~~~~

Happy Micro$oft CrAckin' :)

Link to comment
Share on other sites

  • 7 months later...

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