Help - Search - Members - Calendar
Full Version: unattended Window media player 10 setup?
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2

   


Google Internet Forums Unattended CD/DVD Guide
Rico.JohnnY
Window Media Player 10.0.0.3473 Technical Beta,released recently,how to do the unattended setup of that?what are the relevant switches?

i have tried /Q:A /R:N ,but that didnt work...can someone tell how to do that?
wyattXP
try just /qb or /qn or even -s, i havnt tried to add it yet to my DVD but those will be the ones i try
Rico.JohnnY
i tried all you had mentioned above.... but didnt work either.....and it prompted syntax error...

the problem is..when i used /Q:A /R:N,it poped up an annoying EULA window...
i just dont know how to skip over that...
Alanoll
have you tried a simple /? on the extracted archive (that's what the initial download is BTW
Rico.JohnnY
yes...i have already tried it...none worked..

the situation is similar to the installation of MDAC hotfix..

but for the earlier versions...the /Q:A /R:N switch works fine...

annoying..
Joe User 99
I don't have switches, but here is what I am playing with so far:

Use WinRAR to extract the MP10Setup.exe to a folder. Inside will be all the source files


Deleting Eula.txt will bypass the EULA screen and start installing automatically.
Problem is that Eulat.txt is required to install (It is copied during install.)
So delete the line "eula.txt" from the [V9Copy.Core] section of WMP10.INF and save the file.

Then try installing by running "setup_wm.exe"

I can't get it to work on a SP2 system, I get a "This program has not passed Windows Logo Certification..." error.

But I don't have a SP1 system to try the results on.
Rico.JohnnY
QUOTE (Joe User 99 @ Jun 3 2004, 01:10 PM)
I don't have switches, but here is what I am playing with so far:

Use WinRAR to extract the MP10Setup.exe to a folder. Inside will be all the source files


Deleting Eula.txt will bypass the EULA screen and start installing automatically.
Problem is that Eulat.txt is required to install (It is copied during install.)
So delete the line "eula.txt" from the [V9Copy.Core] section of WMP10.INF and save the file.

Then try installing by running "setup_wm.exe"

I can't get it to work on a SP2 system, I get a "This program has not passed Windows Logo Certification..." error.

But I don't have a SP1 system to try the results on.

Not work...

Prompted

"an unexpected error has occured.Setup was not able to detect any Windows Media updates.Please try again later."

any suggestion?
wyattXP
went to microsoft.com and got some useful info about this per the website:

For unattended installation with no UI and no restart or restart prompt:

MPSetup.exe /q:A /c:"setup_wm.exe /Q:A /R:N /P:#e"
wyattXP
sorry here is the URL to the site:

[CODE]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay/mmp_sdk/mpsetupexeandmpsetupxpexecommandlineparameters.asp
Joe User 99
QUOTE
Not work...

Prompted

"an unexpected error has occured.Setup was not able to detect any Windows Media updates.Please try again later."

any suggestion?
I got that too, if I ran it from a commandline from outside the source directory.
If I changed to the source folder, then ran it, it seemed to work better.


QUOTE
went to microsoft.com and got some useful info about this per the website:

For unattended installation with no UI and no restart or restart prompt:

MPSetup.exe /q:A /c:"setup_wm.exe /Q:A /R:N /P:#e"


I think that is for 9.0, cause for 10, I still get the EULA dialog even using these commandlines. If you notice the exe name is different too. For 10, it is MP10Setup.exe, not MPSetup.exe
wyattXP
right but on that page from microsoft it states WMP 9 + so i would assume that it would run with 10, im going to work on it tonight
Joe User 99
I did notice in that document that it mentions that the /P:#e is not needed for WMP10, but that is the only mention of 10 that I see.

Oh well....I guess we all will keep looking.... biggrin.gif
Rico.JohnnY
QUOTE (wyattXP @ Jun 3 2004, 02:21 PM)
right but on that page from microsoft it states WMP 9 + so i would assume that it would run with 10, im going to work on it tonight

i tried that parameter and it didn't work with WMP10

Maybe there are some other new parameters for it but i just can get nothing after look through the WMP 10 SDK,except for the one you mentioned above
wyattXP
so far i used wmp10.exe /Q:A /R:N and it got me to the Accept the license agreement screen so it did bypass the "Next" screen, still testing it...
wyattXP
has anyone had any luck with this one, i know that /Q:A is all u need to get to the "I Accept" screen, but i cannot get past that, i dont know what it is, any help here would be great.
Rico.JohnnY
Maybe it's a bug with wmp10 ,i have tried everything,but still remains the same

i think the best way is to wait for the next released copy...
pdmcmahon
Quasi-poll here, what does everyone think of WMP10 RC1 so far?
da'bEAST
I like MP 10 more than 9!
It starts faster and is more reliable than 9(at least for me)!
I'm still looking for a switch!
da'bEAST
Come on guys nobody found any switch?

I'll have to try with installrite.
Ghost_one
hey , i was wondering does it work with InstallRite?

I'm new to this InstallRite , does it allways work or ar there problems whith diferent progs!
mazin
I guess adding these lines to the INF file might disable EULA screen. It works with version 9, however.

[DefaultInstall]
AddReg=reg.eula

[reg.eula]
HKLM, "Software\Classes\Software\Microsoft\MediaPlayer\Preferences", "AcceptedEULA", 0x00010001, 1

With a reg file, it should be:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Software\Microsoft\MediaPlayer\Preferences]
"AcceptedEULA"=dword:00000001
mmarable
Well, I added it to my XPCreate setup and it installed it like it would WMP9. I did have to accept the license agreement, but after that it was automatic.

My guess is that since it's still a beta there's little we're going to be able to do. I don't think that there is a switch to install it completely silently like we're looking for, at least not with the beta. I'm sure that the final release will have something, OEM installers are going to expect it.

Knowing the resourcefullness and talent of the people here, if it hasn't been found yet, I don't think a "fix" exists. Just my opinion.
mazin
Yes, I think the final release should account for that.
Denney
You guys give up to easily... To make WMP10 unattended, do the following...

Download WMP10 Beta...
Extract to some folder on your CD...
Add the following to your registry tweaks file (MAKE SURE THIS IS CALLED BEFORE WMP10 SETUP)...
CODE
HKLM,SOFTWARE\Microsoft\MediaPlayer\Setup,AllowUnattendedMode,%REG_DWORD%,0x00000001
or, for you registry files...
CODE
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Setup]
"AllowUnattendedMode"=dword:00000001

Then, install WMP10 with the following command line:
CODE
setup_wm.exe /Q:A /R:N

Note: This still doesn't work on SP2... I still get the "Windows Logo Certification" error.
mazin
QUOTE (RaveRod @ Jul 13 2004, 06:52 AM)
CODE
HKLM,SOFTWARE\Microsoft\MediaPlayer\Setup,AllowUnattendedMode,%REG_DWORD%,0x00000001

This reg key is new in version 10, isn't it?

Thanks for the info.
Denney
It sure is. I found it using RegMon while I tried to install WMP10. It was looking for that value, so I made it, and voila.

Still haven't been able to find the "Windows Logo Certification" one though. sad.gif
Denney
Fixed It!!! Don't extract the MP10Setup.exe file. In other words... do the following:

1. Add:
CODE
HKLM,SOFTWARE\Microsoft\MediaPlayer\Setup,AllowUnattendedMode,%REG_DWORD%,0x00000001

to your registry edits INF file (for reg file, look above).
2. Add WMP to your batch file by using the following:
CODE
MP10Setup.exe /Q:A /C:"setup_wm.exe /Q:A /R:N"


Just remember to import the registry edit BEFORE you install WMP10.
Foxen
According to MS it's supposed to be like that. No unattended options on their Beta software.
Just wait until their final release.
Denney
@Foxen: Supposed to be like what? I think that above registry key (AllowUnattendedMode) will be in the final. It'll be an OEM registry key I think.

I'll let you know when it's released (as I'm a Microsoft OEM).
Denney
OK. Now I have a new problem. Using Windows XP SP2 RC2, I get the following error message when I try and install WMP10 via RunOnceEx...
CODE
Windows Media Technologies

This version of Windows Media Technologies is incompatible with this version of Windows. For more information, view the information at the Microsoft Web Site.


Anyone have any information on this?
Ankle
QUOTE (RaveRod @ Jul 14 2004, 07:43 AM)
OK. Now I have a new problem. Using Windows XP SP2 RC2, I get the following error message when I try and install WMP10 via RunOnceEx...
CODE
Windows Media Technologies

This version of Windows Media Technologies is incompatible with this version of Windows. For more information, view the information at the Microsoft Web Site.


Anyone have any information on this?

I recieve the same error when installing Winamp 5.03 and my Audigy2 drivers/apps and a few other programs. They all seem to work fine though, so far. Rather irritating though during the installs to close the windows it pops up.
moo
I think it's happenned because you removed MP9. Just leave MP9 and do upgrade.
Denney
@moo: Works fine if I remove WMP9 with SP1 though.
LameBMX
Any info for SP2 final ???? I will probably be testing it tonight
Denney
Nothing new. You just need to make sure you have WMP9 installed by default with SP2

OR

You can extract the MP10Setup.exe file and right-click, install the WMP10.inf file and then run setup_wm.exe. I'm pretty sure that works but don't quote me.
pdmcmahon
Good news boys, I JUST tested this on 2 September with the new version of MP10 (build 3646) and I got it working with the following:

Using WinRAR 2.8, extract all files to a WMP10 directory on my unattended CD.

Run the following line in my run once batch

start /wait %systemdrive%\install\Apps\WMP10\SETUP_wm.exe /Q:A /R:N /P:#e

It works perfectly fine, no problems.

Merry Christmas, hope that helps!!!
godan
you can skip using winRAR and just use

REG ADD %KEY%\001 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\Apps\MP10Setup.exe /Q:A /C:\"setup_wm.exe /Q:A /R:N\"" /f

this is for the RunOnceEX.cmd via cmdlines.txt Unattened install method (the batch method doesn't look nearly as professional) using the final public release.... it's mostly RaveRod's method...
SiMoNsAyS
QUOTE (godan @ Sep 3 2004, 04:00 AM)
you can skip using winRAR and just use

REG ADD %KEY%\001 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\Apps\MP10Setup.exe /Q:A /C:\"setup_wm.exe /Q:A /R:N\"" /f

this is for the RunOnceEX.cmd via cmdlines.txt Unattened install method (the batch method doesn't look nearly as professional) using the final public release.... it's mostly RaveRod's method...

with winrar your source it's smaller about ~1~2mb.

about the problem with wmp10 i've got the same removing wmp9 on sp2 final...
evilvoice
smaller by 700K...unless 7zip compresses a lot more...winrar can only save 700K...not that big of a deal to me since almost every cd recorder can overburn at least 700K
wyattXP
an even easier way is to extract WMP10 to its own folder then run

setup_wm.exe /Q:A

and bling bling unattended install
godan
QUOTE (wyattXP @ Sep 2 2004, 08:14 PM)
an even easier way is to extract WMP10 to its own folder then run

setup_wm.exe /Q:A

and bling bling unattended install

takes way more space on your cd that way.
wyattXP
thats why DVD is a must, space doesnt really matter
wyattXP
but true, i didnt realize till now that it takes up 35megs!
godan
belive it or not, not all computers have a dvd drive, BUT just about all DO have a CD drive and if you are say... installing this on a friends/customers/whoevers computer its nice to know that you don't have to also swap in a dvd drive....
wyattXP
but im sure that you have a specially made CD for that purpose that would be a stripped down version of the one that you use on your system, thus only putting the necessities on there
SiMoNsAyS
you miss the first purpose of every "unattended xp installer" ( laugh.gif ) which it's to shrink the installation and try to move 2gb into 1cd biggrin.gif
dandragonrage
If you left out WMP9 and you get the incompatible error when trying to install later, then what you do is extract WMP10, right click on WMP10.inf, install... And then you will be able to run the installer normally and it won't b***h anymore.
ALiAS_2004
Hello EveryBody,

What all this ?

I installed Media Player 10 Final Silently. How ?

"WMP10.exe /Q"

ONLY THAT !!!
Ap0kalipSe
We have system restore disabled on all our desktops, and even with "MP10Setup.exe /Q:A /C:\"setup_wm.exe /Q:A /R:N\" it still pops up saying: "system restore is disabled and you wont be able to remove blah blah blah."

confused.gif
Banshee
I have it working with a slipstreamed XP SP2 cd with media player 9 installed by default & System Restore disabled upon setup & in my Apps.bat file (which is executed at logon) I have the following code

CODE
ECHO Installing Windows Media Player 10
ECHO Please wait...
start /wait %windir%\Apps\WMP10\MP10Setup.exe /Q:A /R:N /C:"setup_wm.exe /DisallowSystemRestore /Q:A /R:N"
ECHO Finished


Tried & Tested - Works perfectly! cool.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.