RealNetworks Real Player

Views: 3.7k  |  Created: 10/05/2004

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

Deployment Tips (13)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 3 / 5 (Average) based on 3 ratings
Most Commonly Reported Deployment Method
Repackaged (to a setup.msi)
or cancel
122
Command Line
The only slight problem with the r1puninst.exe file is that it's not silent - it throws up a popup box to let you know that it's uninstalled the files (even if you use the -all switch)...

To get around it, you could try what I did..

1. Get Resource Hacker
2. Copy r1puninst.exe somewhere
3. Open the copied version in Resource Hacker
4. Open "Dialog"
5. Open "912"
6. Right click on "1033" (should be the "Uninstallation complete" dialog box)
7. Select Delete Resources [912:1033]
8. Click Yes
9. Select File, Save

You should now have a modified version which is silent when using the -all switch.


I hope this is of some help?

Toodle-pip!
Gerard
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
122
Command Line
You can silently uninstall all versions of RealPlayer 8 through 11, and at least RealOne Player 2.0 with the following three command lines:

"C:\Program Files\Common Files\Real\Update\rnuninst.exe" "RealNetworks|RealPlayer|6.0" -s
"C:\Program Files\Common Files\Real\Update_OB\rnuninst.exe" "RealNetworks|RealPlayer|6.0" -s
"C:\Program Files\Common Files\Real\Update_OB\r1puninst.exe" "RealNetworks|RealPlayer|6.0" -s

I'd wager that this works for all versions of RealPlayer down to 6.0, and RealOne Player 1.0 as well.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
121
Note

You can extract the executable from the Download Manager by allowing it to launch "Download Manager" and browsing to "C:\My Downloads" and copying out the executable file (RealPlayer10-5GOLD_bb.exe)

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
121
Note
*How to cripple the Music store*

-remove
C:\Program Files\Real\RealPlayer\DataCache\mstore\mstore.ini
C:\Program Files\Real\RealPlayer\DataCache\mstore\mstore.ver
C:\Program Files\Real\RealPlayer\DataCache\mstore\mstorehome.ini

*How to cripple the "RollingStone" in Music store*
delete C:\Program Files\Real\RealPlayer\DataCache\RollingStone folder

*Gracefully disable Real Guide, Music & My Library, and Music store buttons (web search too)*
::gracefully disable Real Guide, Music & My Library, Music store, web search too!
::BUT keep \Prefs (keeps prefs menu in order)
::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
Pause
rd /s /q "C:\Program Files\Real\RealPlayer\DataCache"
xcopy "%TEMP%\DataCache\." "C:\Program Files\Real\RealPlayer\DataCache\" /s /v
Del /q "C:\Program Files\Real\RealPlayer\DataCache\Formats\*.bmp"


*Accept EULA*
[HKEY_CURRENT_USER\Software\RealNetworks\RealPlayer\6.0\Preferences\EulaAcceptedVersion]
@="2"

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

**Kill the "Universal Player" feature**
By default RealPlayer wants to take all media file associations.
In fact, if you just browse the preferences, *Look* at media types and click OK you've just associated everything to RealPlayer. This reg tweak prevents this.

[HKEY_CURRENT_USER\Software\RealNetworks\RealPlayer\6.0\Preferences\UniversalPlayback]
@="0"

* Gracefully disable Message Center completely *
del /q "C:\Program Files\Common Files\Real\Update_OB\rnms3270.dll
del /q "C:\Program Files\Common Files\Real\Update_OB\RealOneMessageCenter.exe
rd /s /q "C:\Documents and Settings\%USERNAME%\Application Data\Real\Msg"

Now you can also delete:
[HKEY_CURRENT_USER\Software\RealNetworks\Msg]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Software\RealNetworks\Msg]

*remove GoogleDesktopSearch*
"C:\Program Files\Common Files\Real\GToolbar\GDSSetup.exe" -uninstall
pause
rd /s /q "C:\Program Files\Google"

::Now truly clean out Google bar
Regsvr32 /u "C:\Program Files\Common Files\Real\GToolbar\BarControl.dll"
pause
rd /s /q "C:\Program Files\Common Files\Real\GToolbar"

Regsvr32 /u "C:\Program Files\Common Files\Real\WeatherBug\MiniBugTransporter.dll"
pause
rd /s /q "C:\Program Files\Common Files\Real\WeatherBug"

Now you can also delete:
[HKEY_CLASSES_ROOT\Software\RealNetworks\Update\6.0\Preferences\Components\gds:1.0]
[HKEY_CLASSES_ROOT\Software\RealNetworks\Update\6.0\Preferences\Components\gtoolbar:6.2]
[HKEY_CLASSES_ROOT\CLSID\{2B96D5CC-C5B5-49A5-A69D-CC0A30F9028C}]
[HKEY_CLASSES_ROOT\Software\RealNetworks\Update\6.0\Preferences\Components\weatherbug:2.0]


*Disable Check Update in tools menu*
del /q "C:\Program Files\Common Files\Real\Update_OB\rnup3270.dll
del /q "C:\Program Files\Common Files\Real\Update_OB\upgr3270.dll
del /q "C:\Program Files\Common Files\Real\Update_OB\upgrdhlp.exe
del /q "C:\Program Files\Common Files\Real\Update_OB\realsched.exe

rd /s /q "C:\Documents and Settings\%USERNAME%\Application Data\Real\Msg"

*Garbage to take out if repackaging*
::not needed since we are doing MSI
rd /s /q "C:\Program Files\Real\RealPlayer\Setup"

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



Tips on Edit the package
-The prefs.ini is a non Standard INI file. Delete it from the INI section and add it back as a regular file.
C:\Program Files\Real\RealPlayer\DataCache\prefs\prefs.ini

Files -> delete:
\Program Files\Real\RealPlayer\subscription.rnx
\Program Files\Common Files\Real\Update_OB\r1puninst.exe

Shortcuts -> delete:
-RealPlayer Subscription
-Uninstall RealPlayer
-Check for RealPlayer Updates

Registry -> delete
HKEY_CURRENT_USER\Software\Microsoft\Windows Media\WMSDK\General
(This stuff is created on-the-fly by WMP, not RealPlayer)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication
(This changes everytime an app uses DD)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
(Prevents RealSched.exe from running)

*fix the 1904 errors*
With testing, 1904 errors occurred while the package was self-registering DLLs.
-Error 1904. Module C:\Program Files\Real\RealPlayer\rpplugins\MPACore.dll failed to register.
-Error 1904. Module C:\Program Files\Real\RealPlayer\rpplugins\rjmisc.dll failed to register.

I decided to set the order for all self-registering DLLs according to the order to the original RealNetworks' install.
This is the order that I got for the English version
05-C:\Program Files\Common Files\Real\Update_OB\nprfxins.dll
15-C:\Program Files\Real\RealPlayer\rpplugins\MPACore.dll
20-C:\Program Files\Real\RealPlayer\rpplugins\rjmisc.dll
23-C:\Program Files\Real\RealPlayer\rpplugins\rpcomproxy.dll
28-C:\Program Files\Real\RealPlayer\rpplugins\ierpplug.dll
29-C:\Program Files\Real\RealPlayer\rpplugprot.dll
29-C:\Program Files\Real\RealPlayer\rpshell.dll
30-C:\Program Files\Real\RealPlayer\rdsf3260.dll
30-C:\Program Files\Real\RealPlayer\CDDBRealControl.dll
40-C:\WINDOWS\system32\rmoc3260
61-C:\Program Files\Real\RealPlayer\rpau3260.dll
72-C:\Program Files\Real\RealPlayer\rpshellsearch.dll
76-C:\Program Files\Common Files\xing shared\mpeg encode\xmencmp3.dll
83-C:\Program Files\Real\RealPlayer\plugins\tdwnmgr.dll
84-C:\Program Files\Real\RealPlayer\ierjplug.dll

C:\Program Files\Internet Explorer\PLUGINS\RichFX\Player\nprfxins.dll
was also set to self-register in the original MSI package but I decided not to self-register this DLL at all.


*prevent the application error with IE, for good*
This is the tricky part. At this point you should get a package that gets an application error with IE when RP is used for the first time from within IE. After that everything is ok.
It seems RP keeps a list of what modules it consists of and keeps some kind of hash for each key file. To prevent the error we need to capture what it does to the registry and add those changes into the package. To do this:
-Install ARM (Active Registry Monitor)
-Open IE to the RP test page.
-Launch ARM to take a snapshot of the registry.
-From inside IE trigger RealPlayer stream, wait for the error.
-Close the Error box and RealPlayer.
-Use ARM to take 2nd snapshot of the registry.
-Use ARM to create a Fix.reg (redo) and an Unfix.reg (undo) file.
-“massage” the Fix.reg file to remove the garbage and reduce it until you get only what will fix it. Use the UnFix.reg file to undo the fix each time you need to test a smaller fix.reg file.
-Add the contents of the fix.reg file to the package
-Compile a new MSI and test again

*Add Profile fixup Active setup*
The last this is to add an Active Setup to trigger a profile fixup for each new user.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
121
Note
*How to cripple the Music store*

-remove
C:\Program Files\Real\RealPlayer\DataCache\mstore\mstore.ini
C:\Program Files\Real\RealPlayer\DataCache\mstore\mstore.ver
C:\Program Files\Real\RealPlayer\DataCache\mstore\mstorehome.ini

*How to cripple the "RollingStone" in Music store*
delete C:\Program Files\Real\RealPlayer\DataCache\RollingStone folder

*Gracefully disable Real Guide, Music & My Library, and Music store buttons (web search too)*
::gracefully disable Real Guide, Music & My Library, Music store, web search too!
::BUT keep \Prefs (keeps prefs menu in order)
::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
Pause
rd /s /q "C:\Program Files\Real\RealPlayer\DataCache"
xcopy "%TEMP%\DataCache\." "C:\Program Files\Real\RealPlayer\DataCache\" /s /v
Del /q "C:\Program Files\Real\RealPlayer\DataCache\Formats\*.bmp"


*Accept EULA*
[HKEY_CURRENT_USER\Software\RealNetworks\RealPlayer\6.0\Preferences\EulaAcceptedVersion]
@="2"

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

**Kill the "Universal Player" feature**
By default RealPlayer wants to take all media file associations.
In fact, if you just browse the preferences, *Look* at media types and click OK you've just associated everything to RealPlayer. This reg tweak prevents this.

[HKEY_CURRENT_USER\Software\RealNetworks\RealPlayer\6.0\Preferences\UniversalPlayback]
@="0"

* Gracefully disable Message Center completely *
del /q "C:\Program Files\Common Files\Real\Update_OB\rnms3270.dll
del /q "C:\Program Files\Common Files\Real\Update_OB\RealOneMessageCenter.exe
rd /s /q "C:\Documents and Settings\%USERNAME%\Application Data\Real\Msg"

Now you can also delete:
[HKEY_CURRENT_USER\Software\RealNetworks\Msg]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Software\RealNetworks\Msg]

*remove GoogleDesktopSearch*
"C:\Program Files\Common Files\Real\GToolbar\GDSSetup.exe" -uninstall
pause
rd /s /q "C:\Program Files\Google"

::Now truly clean out Google bar
Regsvr32 /u "C:\Program Files\Common Files\Real\GToolbar\BarControl.dll"
pause
rd /s /q "C:\Program Files\Common Files\Real\GToolbar"

Regsvr32 /u "C:\Program Files\Common Files\Real\WeatherBug\MiniBugTransporter.dll"
pause
rd /s /q "C:\Program Files\Common Files\Real\WeatherBug"

Now you can also delete:
[HKEY_CLASSES_ROOT\Software\RealNetworks\Update\6.0\Preferences\Components\gds:1.0]
[HKEY_CLASSES_ROOT\Software\RealNetworks\Update\6.0\Preferences\Components\gtoolbar:6.2]
[HKEY_CLASSES_ROOT\CLSID\{2B96D5CC-C5B5-49A5-A69D-CC0A30F9028C}]
[HKEY_CLASSES_ROOT\Software\RealNetworks\Update\6.0\Preferences\Components\weatherbug:2.0]


*Disable Check Update in tools menu*
del /q "C:\Program Files\Common Files\Real\Update_OB\rnup3270.dll
del /q "C:\Program Files\Common Files\Real\Update_OB\upgr3270.dll
del /q "C:\Program Files\Common Files\Real\Update_OB\upgrdhlp.exe
del /q "C:\Program Files\Common Files\Real\Update_OB\realsched.exe

rd /s /q "C:\Documents and Settings\%USERNAME%\Application Data\Real\Msg"

*Garbage to take out if repackaging*
::not needed since we are doing MSI
rd /s /q "C:\Program Files\Real\RealPlayer\Setup"

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



Tips on Edit the package
-The prefs.ini is a non Standard INI file. Delete it from the INI section and add it back as a regular file.
C:\Program Files\Real\RealPlayer\DataCache\prefs\prefs.ini

Files -> delete:
\Program Files\Real\RealPlayer\subscription.rnx
\Program Files\Common Files\Real\Update_OB\r1puninst.exe

Shortcuts -> delete:
-RealPlayer Subscription
-Uninstall RealPlayer
-Check for RealPlayer Updates

Registry -> delete
HKEY_CURRENT_USER\Software\Microsoft\Windows Media\WMSDK\General
(This stuff is created on-the-fly by WMP, not RealPlayer)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication
(This changes everytime an app uses DD)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
(Prevents RealSched.exe from running)

*fix the 1904 errors*
With testing, 1904 errors occurred while the package was self-registering DLLs.
-Error 1904. Module C:\Program Files\Real\RealPlayer\rpplugins\MPACore.dll failed to register.
-Error 1904. Module C:\Program Files\Real\RealPlayer\rpplugins\rjmisc.dll failed to register.

I decided to set the order for all self-registering DLLs according to the order to the original RealNetworks' install.
This is the order that I got for the English version
05-C:\Program Files\Common Files\Real\Update_OB\nprfxins.dll
15-C:\Program Files\Real\RealPlayer\rpplugins\MPACore.dll
20-C:\Program Files\Real\RealPlayer\rpplugins\rjmisc.dll
23-C:\Program Files\Real\RealPlayer\rpplugins\rpcomproxy.dll
28-C:\Program Files\Real\RealPlayer\rpplugins\ierpplug.dll
29-C:\Program Files\Real\RealPlayer\rpplugprot.dll
29-C:\Program Files\Real\RealPlayer\rpshell.dll
30-C:\Program Files\Real\RealPlayer\rdsf3260.dll
30-C:\Program Files\Real\RealPlayer\CDDBRealControl.dll
40-C:\WINDOWS\system32\rmoc3260
61-C:\Program Files\Real\RealPlayer\rpau3260.dll
72-C:\Program Files\Real\RealPlayer\rpshellsearch.dll
76-C:\Program Files\Common Files\xing shared\mpeg encode\xmencmp3.dll
83-C:\Program Files\Real\RealPlayer\plugins\tdwnmgr.dll
84-C:\Program Files\Real\RealPlayer\ierjplug.dll

C:\Program Files\Internet Explorer\PLUGINS\RichFX\Player\nprfxins.dll
was also set to self-register in the original MSI package but I decided not to self-register this DLL at all.


*prevent the application error with IE, for good*
This is the tricky part. At this point you should get a package that gets an application error with IE when RP is used for the first time from within IE. After that everything is ok.
It seems RP keeps a list of what modules it consists of and keeps some kind of hash for each key file. To prevent the error we need to capture what it does to the registry and add those changes into the package. To do this:
-Install ARM (Active Registry Monitor)
-Open IE to the RP test page.
-Launch ARM to take a snapshot of the registry.
-From inside IE trigger RealPlayer stream, wait for the error.
-Close the Error box and RealPlayer.
-Use ARM to take 2nd snapshot of the registry.
-Use ARM to create a Fix.reg (redo) and an Unfix.reg (undo) file.
-“massage” the Fix.reg file to remove the garbage and reduce it until you get only what will fix it. Use the UnFix.reg file to undo the fix each time you need to test a smaller fix.reg file.
-Add the contents of the fix.reg file to the package
-Compile a new MSI and test again

*Add Profile fixup Active setup*
The last this is to add an Active Setup to trigger a profile fixup for each new user.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
119
Command Line
To install it, just use /s
To uninstall it, use: "C:\Program Files\Fichiers
communs\Real\Update_OB\r1puninst.exe" -ask -all
or
"C:\Program Files\Fichiers
communs\Real\Update_OB\r1puninst.exe" -all
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
119
Note
I took the information from misterd's post to get a package that installed correctly and did not produce any errors in installation, execution or removal. In order to reduce errors and improve consistency between iterations, I created a batch file that took care of the file operations and a VB script that handled all of the registry operations. I have included these here below for all concerned. Additionally, the Fix.reg file has been included as well.

The package was run as a repackage operation using the Installation Monitoring option in AdminStudio 7.5. The prerequisites for the package included the following:
- no updating allowed
- removal of the realsched component
- automatic registration
- EULA acceptance
- no messaging functions
- no Google components
- no Rhapsody components
- leave Windows Media associations alone

To implement this, I removed all checkboxes relating to the extraneous products and manually assigned the file associations. I cleared the checkboxes that were already assigned to Windows Media Player and left the others checked that pointed to RealPlayer. Before completing the repackage operation, I ran the batch file and the VB Script to remove the undesired information (files and reg settings).

Click here for scripts and registry settings mentioned

Save the MST. The command line you will want to use will include the following information in addition to whatever parameters you want to use for logging, user interface, etc. I used the following command line:

MSIEXEC /i <MSIfile name>.MSI TRANSFORMS=<Name of MST file>.MST /L*vx /quiet /norestart

This gives a silent installation that can be distributed using SMS which is the delivery mechanism we are using here.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
118
Note
If you want to disable the GoogleToobar setup on the first run add:

HKCU\Software\RealNetworks\RealPlayer\6.0\Preferences\ConfigurationComplete\\Default = 1
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
In a multiuser environment, whereby users do not have admin rights, the following command is needed to be performed in order to prevent the autoupdating error appearing when the Java Browser Plugin is launched.

cacls "C:\\program files\real\RealPlayer" /T /C /E /G "Administrators":F "Power Users":F "Users":F
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note

When you do RealPlayer 10.x repackaging, you may face an issue where in RealPlayer does not connect to the internet from within the RealPlayer interface. Just look out for some INI files in the DataCache directory of Real Player installdir. This would be the first place to start of with your troubleshooting.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
116
Note

Remove the registry items that have large keys and then import it using MSI script. I am using Wise Package Studio 6.01. It's not that difficult.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
-2
Note
The enterprise packaging tool is not for free.

In Germany you have to pay 2,20€ for each RealPlayer to install. Minimum 250 installations to take.

This means 550€ minimum to pay!
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
-2
Note
The enterprise packaging tool is not for free.

In Germany you have to pay 2,20€ for each RealPlayer to install. Minimum 250 installations to take.

This means 550€ minimum to pay!
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

Real Player

Version

10

Questions & Answers (2)

Questions & Answers related to RealNetworks Real Player

4
ANSWERS
1
ANSWERS

Blogs (0)

Blog posts related to RealNetworks Real Player

Reviews (0)

Reviews related to RealNetworks Real Player