Redhatcc Posted March 13, 2008 Posted March 13, 2008 HiTrying to silently install Windows Media Player 11 with a batch, but the code i use still extracts and installs it normally. Wish i could find something that makes it quiet and no human interaction... i found this by searching through the site but doesnt seem to work.. mabe i have it typed wrong or not using the right switches at all. ps - i renamed the installer to wmp11.exe, should effect it should it? START /WAIT wmp11.exe /Q:A /C:"SETUP_WM.EXE /Q:A /R:N /P:#e"
vascorama Posted March 13, 2008 Posted March 13, 2008 (edited) Hi there, wmp11 also gave me trouble...i spent almost as much time for wmp11 as for the remaining programs of my dvd...:Si managed to do it like this, using winrar, right clik the installer/extract to...Put all files inside one folder, name it whatever you want, but try to keep the name short and with no spaces.then check if inside that folder you have the following files:wmp11.exe umdf.exe wmdbexport.exe wmfdist11.exe update.exe if so, here is the batch code for your installer:if exist d:\Extras\wmp11 set cdrom=d:if exist e:\Extras\wmp11 set cdrom=e:if exist f:\Extras\wmp11 set cdrom=f:if exist g:\Extras\wmp11 set cdrom=g:if exist h:\Extras\wmp11 set cdrom=h:if exist i:\Extras\wmp11 set cdrom=i:if exist j:\Extras\wmp11 set cdrom=j:if exist k:\Extras\wmp11 set cdrom=k:if exist l:\Extras\wmp11 set cdrom=l:if exist m:\Extras\wmp11 set cdrom=m:if exist n:\Extras\wmp11 set cdrom=n:if exist o:\Extras\wmp11 set cdrom=o:if exist p:\Extras\wmp11 set cdrom=p:if exist q:\Extras\wmp11 set cdrom=q:if exist r:\Extras\wmp11 set cdrom=r:if exist s:\Extras\wmp11 set cdrom=s:if exist t:\Extras\wmp11 set cdrom=t:if exist u:\Extras\wmp11 set cdrom=u:if exist v:\Extras\wmp11 set cdrom=v:if exist w:\Extras\wmp11 set cdrom=w:if exist x:\Extras\wmp11 set cdrom=x:if exist y:\Extras\wmp11 set cdrom=y:if exist z:\Extras\wmp11 set cdrom=z:mkdir %systemdrive%\windows\temp\WMP11xcopy %CDROM%\Extras\wmp11 /e /y %systemdrive%\windows\temp\WMP11 /i start /wait %SYSTEMDRIVE%\Windows\temp\wmp11\wmp11.exe /passive /norestart /erstart /wait %SYSTEMDRIVE%\Windows\temp\wmp11\umdf.exe /passive /norestart /erstart /wait %SYSTEMDRIVE%\Windows\temp\wmp11\wmdbexport.exe /passive /norestart /erstart /wait %SYSTEMDRIVE%\Windows\temp\wmp11\wmfdist11.exe /passive /norestart /erstart /wait %SYSTEMDRIVE%\Windows\temp\wmp11\update\update\update.exe /passive /norestart /erRD /S /Q %SYSTEMDRIVE%\Windows\temp\wmp11exitThe location in bold at the code is what you need to replace, just put %cdrom%\(the rest of the path to your folder of wmp11 with all the files inside it).Hope it helps.Regards Edited March 13, 2008 by vascorama
Shark007 Posted March 13, 2008 Posted March 13, 2008 If you follow the URL in my signature you will find a MSI posted that is capable of upgrading version 9 or 10.use usual MSI switches to hide the install if you wish ( /qn )shark
Redhatcc Posted March 14, 2008 Author Posted March 14, 2008 vascorama, nice code lol took me a second to figure out what you were doing in the code but i got ya :-P... code does work good just have to change up directories... shark very nice .msi installer! thx for the help both work perfect
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now