Update old (local) recordings <v2.2.2.9 to use the new silverlight player.

Since version 2.2.2.9 of the encoder application, local recordings (from your harddisk or CD) can be played with the new silverlight player.

Recordings created with the 2.2.2.9 encoder will automatically have the right settings but older recordings need a modification.

The first step is to republish the old recordings with the new (2.2.2.9 or newer) encoder application. This will convert the recording to its new format.

To do this use the republish option in the Presentations2Go encoder and republish each individual recordings.

The second step is to update the player files in all recordings.

This requires two steps.

1) First create a new (local) recording. A recording of a minute or so is sufficient. This will be the source for the next step.

2) Copy the player files to all directories that have a recording.

The easiest way to do this is by means of a smal batch file (see below). Just copy the lines below to a file in notepad and safe that file in c:\p2g or another folder if you used another installation directory.

Safe the file as UpdateP2G.cmd

The start the batch file in a DOS prompt in the directory where you created the cmd file (in c:\p2g) and give it the full path to the recording you just created.

So try:

Start/Run/Cmd

In the dos box type: cd c:\p2g

Then type: UpdateP2G c:\p2g\postprocessing\2009\03\31\1 

The batchfile will show the directories it updates. and notify you when it is done.

=============================

The contens of the file:

@echo off
cls
Echo Update script for Presentations2Go recordings
Echo =============================================
Echo Usage: "UpdateP2G.cmd sourcefolder". Eg. UpdateP2G c:\p2g\recordings\2009\03\31\1
IF (%1 == "") goto NoInput
IF NOT EXIST "%1\Viewer.html" GOTO NOFILE1
IF NOT EXIST "%1\SilverLightviewer.html" GOTO NOFILE2 
IF NOT EXIST "%1\Presentations2Go.xap" GOTO NOFILE3
ECHO Starting replacing of Viewer.html.
FOR /R  %%d IN (Viewer.html) DO IF EXIST %%~dpd\Viewer.html (copy/y %1\Viewer.html %%~dpd && ECHO "Copying Viewer.html to %%~dpd")
ECHO Starting replacing of SilverLightviewer.html.
FOR /R  %%d IN (SilverLightviewer.html ) DO IF EXIST %%~dpd\SilverLightviewer.html (copy/y %1\SilverLightviewer.html %%~dpd && ECHO "Copying SilverLightviewer.html to %%~dpd")
ECHO Starting replacing of Presentations2Go.xap.
FOR /R  %%d IN (Presentations2Go.xap) DO IF EXIST %%~dpd\Presentations2Go.xap (copy/y %1\Presentations2Go.xap %%~dpd && ECHO "Copying Presentations2Go.xap to %%~dpd")
ECHO Done replacing
GOTO END

:NOFILE1
Echo Input file Viewer.html not found in %1
GOTO END
:NOFILE2
Echo Input file SilverLightviewer.html not found in %1
GOTO END
:NOFILE3
Echo Input file Presentations2Go.xap not found in %1
GOTO END
:NoInput
Echo No input paramaters supplied
Echo Usage: "UpdateP2G.cmd sourcefolder". Eg. UpdateP2G c:\p2g\recordings\2009\03\31\1
:END

Have more questions? Submit a request

Comments

Powered by Zendesk