Views: 3.1k  |  Created: 06/02/2011

Average Rating: 0
RealPlayer has 1 inventory records, 4 Questions, 0 Blogs and 1 links. Please help add to this by sharing more!

Deployment Tips (4)

Most Common Setup Type
Legacy Setup with no known command line support
Average Package Difficulty Rating
Rated 5 / 5 (Very Difficult) based on 1 ratings
Most Commonly Reported Deployment Method
Repackaged (to a proprietary Format)
or cancel
6
Note
******** Batch file contents ********
Rem This batch file removes some of the unnecessary components that are bundled with RealPlayer prior to completing the repackaging event
rem
rem Created 9/20/2006
rem modified by tx_admin 05/25/2011 for Realplayer 14.0
rem the version number is 14.x but it references everything as version 12 in the registry
rem
rem *************************
rem @echo off

rem install realplayer silently and wait for install to finish
robocopy \\network\dfs\install\realplayer %temp% realplayer.exe
c:
cd %temp%
realplayer.exe -s

rem delay until all files are installed - note that start /wait didn't work from prism because of an install error
:again
if exist "c:\program files\real\realplayer\update\r1puninst.exe" goto complete
sleep 2
goto again

:complete
rem pause 5 more seconds just to be sure
sleep 5

:cleanup
rem after install, remove extras and updater

rem How to cripple the Music store
del "C:\Program Files\Real\RealPlayer\DataCache\mstore\mstore.ini"
del "C:\Program Files\Real\RealPlayer\DataCache\mstore\mstore.ver"
del "C:\Program Files\Real\RealPlayer\DataCache\mstore\mstorehome.ini"

rem How to cripple the "RollingStone" in Music store
rem del C:\Program Files\Real\RealPlayer\DataCache\RollingStone
rd /s /q "C:\Program Files\Real\RealPlayer\DataCache\RollingStone"

rem Gracefully disable Real Guide, Music & My Library, and Music store buttons (web search too)
rem gracefully disable Real Guide, Music & My Library, Music store, web search too!
rem BUT keep \Prefs (keeps prefs menu in order)
rem and keep \Formats (CD in Prefs menu will blow up without it)
xcopy "C:\Program Files\Real\RealPlayer\DataCache\prefs\." "%TEMP%\DataCache\prefs\" /s /v
xcopy "C:\Program Files\Real\RealPlayer\DataCache\Formats\." "%TEMP%\DataCache\Formats\" /s /v
rd /s /q "C:\Program Files\Real\RealPlayer\DataCache"
xcopy "%TEMP%\DataCache\." "C:\Program Files\Real\RealPlayer\DataCache\" /s /v
rd /s /q %TEMP%\DataCache
Del /q "C:\Program Files\Real\RealPlayer\DataCache\Formats\*.bmp"

rem Disable the call home on first run
rem not in 12.0
rem rd /s /q "C:\Program Files\Real\RealPlayer\Firstrun"

rem Gracefully disable Message Center completely *
rem not in 12.0 del /q "C:\Program Files\Common Files\Real\Update_OB\rnms3270.dll
rem not in 12.0 del /q "C:\Program Files\Common Files\Real\Update_OB\RealOneMessageCenter.exe
rd /s /q "%USERPROFILE%\AppData\Roaming\Real\Msg"

rem Garbage to take out if repackaging
rem rd /s /q "C:\Program Files\Real\RealPlayer\Setup"

rem Not needed, file are created on the fly. No config info here either
rem rd /s /q "C:\Documents and Settings\%USERNAME%\Application Data\Real"
rem rd /s /q "C:\Documents and Settings\%USERNAME%\Cookies"

rem Files -> Delete
del /q "c:\Program Files\Real\RealPlayer\subscription.rnx"
del /q "c:\Program Files\Common Files\Real\Update_OB\r1puninst.exe"

rem Delete just the Desktop shortcut
del /q "C:\Users\Public\Desktop\RealPlayer.lnk"

rem Delete all shortcuts - tx_admin - disabled by me
rem del /q C:\Documents and Settings\Administrator\Start Menu\Programs\Accessories\Entertainment\RealPlayer.lnk
rem del /q C:\Documents and Settings\All Users\Start Menu\Programs\Realplayer.lnk
rem rd /s /q C:\Documents and Settings\All Users\Start Menu\Programs\Real

rem modify Registry settings

rem accept Eula
reg add HKCU\Software\RealNetworks\RealPlayer\12.0\Preferences\EulaAcceptVersion /t REG_SZ /d 4 /f
reg add HKCU\Software\RealNetworks\RealPlayer\12.0\Preferences\EulaAcceptedVersion /t REG_SZ /d 4 /f
reg add HKCU\Software\RealNetworks\RealPlayer\12.0\Preferences\mktg_launched /t REG_SZ /d 1 /f
reg add HKCU\Software\RealNetworks\RealPlayer\12.0\Preferences\ConfigurationComplete /t REG_SZ /d 1 /f

rem disable RealPlayer taking over all media formats
reg add HKCU\Software\RealNetworks\RealPlayer\12.0\Preferences\UniversalPlayback /t REG_SZ /d 0 /f

rem delete the RealPlayer Update manager from running at startup
reg delete HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v TkBellExe /f
rem del /q "C:\Program Files\Real\RealPlayer\Update\realsched.exe"

rem add a runonce key to delete the tkbell run entry AGAIN
rem Realplayer adds tkbell - realsched back as soon as you run Realplayer, the second deletion gets rid of it perm.

reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v Cleanrealsched /t REG_SZ /d \\network\dfs\install\realplayer\realplayercleanupdater.bat /f

rem ****** End of batch file contents *****
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
3
Note
Following on the excellent work done in the Package KB for RealPlayer 10.x, I'm posting here what I did to get a silent install working for RealPlayer 14.0.3.647

Note that all references in the registry indicate version 12, but if you go into help...about it shows 14.0.3.647.

We use Prism deploy in our environment and I ended up using a batch file to install and make all appropriate settings. The batch file
1) installs silently
2) makes registry settings to disable the music store
3) accepts EULA
4) disables the autoupdate feature

I give full credit for most of this batch file to the work done on the Realplayer 10.x Notes. I just made modifications.

I'll post the full batch file in the next note.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note
Note that the environment for this was Windows 7 32 bit with Prism deploy.

I ran into a problem where Prism wouldn't run the install properly with network admin credentials. I set it to run as the currently logged on user (which does NOT have local admin rights) and it worked fine. That's the opposite of what would make sense, but I decided to try it because the batch file would run fine interactively, but not from Prism.

Note that we have UAC turned off if that matters. But again users do NOT have local admin rights.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line
I talked to a Customer Service rep about possible flags, and he said the only available flags are -s (silent) and -p (progress).

The other configuration options (Disabling Desktop Shortcuts, Prevent RealPlayer from claiming MIME types) are only available if you install interactively via the GUI. These should be easy enough to clean up post-install in a batch script though.

Ex:
%~dp0RealPlayer.exe /S
IF EXIST "%ALLUSERSPROFILE%\Desktop\RealPlayer.lnk DEL "%ALLUSERSPROFILE%\Desktop\RealPlayer.lnk
IF EXIST "%ALLUSERSPROFILE%\Desktop\Free Movies & Games.lnk DEL "%ALLUSERSPROFILE%\Desktop\Free Movies & Games.lnk
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

RealPlayer

Version

14

Questions & Answers (4)

Questions & Answers related to RealNetworks RealPlayer

4
ANSWERS
1
ANSWERS
1
ANSWERED
1
ANSWERED

Blogs (0)

Blog posts related to RealNetworks RealPlayer

Reviews (0)

Reviews related to RealNetworks RealPlayer