Memories On TV 2

Informations

Creator Message
Ueliton

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 6519
Wine: 1.7.28

Feedbacks

Description

MemoriesOnTV is our award-winning photo/video slideshow software. This feature-packed program comes with beautiful and elegant pre-built effects that you can use. In addition, the powerful and advanced features and tools allow you to craft your slideshows anyway you want.

 

Website.

Screenshots

MiniatureMiniatureMiniature

Source code

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="MemoriesOnTV2"
TITLE="MemoriesOnTV2"
WINEVERSION="1.7.28"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"

# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine motv221.exe
fi

# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file.')" "$TITLE"
      POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Ronin DUSETTE Thursday 4 June 2015 at 6:42
Ronin DUSETTE

Information

This update has been approved by the team.

Message

Fixing unused variable...

Differences

@@ -13,7 +13,7 @@
 BINU_SERVER="http://media.binu.com/12630290/stream"
 PREFIX="MemoriesOnTV2"
 TITLE="MemoriesOnTV2"
-WORKING_WINE_VERSION="1.7.28"
+WINEVERSION="1.7.28"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init

New source code

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="MemoriesOnTV2"
TITLE="MemoriesOnTV2"
WINEVERSION="1.7.28"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"

# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine motv221.exe
fi

# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file.')" "$TITLE"
      POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

petch Thursday 4 June 2015 at 1:01
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Fix POL_GetSetupImages, missing POL_Wine_WaitBefore

Differences

@@ -7,7 +7,7 @@
 # Author: Ueliton
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 # Variables -------------
 AUTHOR="Ueliton"
 BINU_SERVER="http://media.binu.com/12630290/stream"
@@ -15,20 +15,19 @@
 TITLE="MemoriesOnTV2"
 WORKING_WINE_VERSION="1.7.28"
 
-POL_GetSetupImages "https://sites.google.com/site/myubuntustudio/top.png" "https://sites.google.com/site/myubuntustudio/left.png" "$TITLE"
- 
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2546
 # Enable debugging
 POL_Debug_Init
- 
+
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
- 
+
 # Managing prefix and Wine version
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
- 
+
 # Creating Temp directory
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
@@ -39,10 +38,11 @@
 if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
   then
   POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
-  POL_SetupWindow_message "Please do not restart" "$TITLE"
+  POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
+  POL_Wine_WaitBefore "$TITLE"
   POL_Wine motv221.exe
 fi
-     
+
 # Installation Method LOCAL
 if [ "$INSTALL_METHOD" = "LOCAL" ]
   then

New source code

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="MemoriesOnTV2"
TITLE="MemoriesOnTV2"
WORKING_WINE_VERSION="1.7.28"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"

# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine motv221.exe
fi

# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file.')" "$TITLE"
      POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Ueliton Wednesday 3 June 2015 at 21:49
Ueliton

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,60 @@
+#!/usr/bin/env playonlinux-bash
+# CHANGELOG
+# **PlayOnLinux 4.2.8**
+# Wine version used: 1.7.28
+# Distribution used to test: openSUSE 13.2 x86_64
+# MemoriesOnTV2 version used to test: 2.2.1
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="MemoriesOnTV2"
+TITLE="MemoriesOnTV2"
+WORKING_WINE_VERSION="1.7.28"
+
+POL_GetSetupImages "https://sites.google.com/site/myubuntustudio/top.png" "https://sites.google.com/site/myubuntustudio/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2546
+# Enable debugging
+POL_Debug_Init
+ 
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
+ 
+# Managing prefix and Wine version
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+ 
+# Creating Temp directory
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+
+# Installation Method DOWNLOAD
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+  then
+  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
+  POL_SetupWindow_message "Please do not restart" "$TITLE"
+  POL_Wine motv221.exe
+fi
+     
+# Installation Method LOCAL
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+  then
+      cd "$HOME"
+      POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file.')" "$TITLE"
+      POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
+      POL_Wine_WaitBefore "$TITLE"
+      POL_Wine "$APP_ANSWER"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="MemoriesOnTV2"
TITLE="MemoriesOnTV2"
WORKING_WINE_VERSION="1.7.28"

POL_GetSetupImages "https://sites.google.com/site/myubuntustudio/top.png" "https://sites.google.com/site/myubuntustudio/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
 
# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "Please do not restart" "$TITLE"
  POL_Wine motv221.exe
fi
     
# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file.')" "$TITLE"
      POL_SetupWindow_message "$(eval_gettext 'Please do not restart.')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Wednesday 3 June 2015 at 21:49
Sideways banner that is on the left side of the first window when script is ran:

https://drive.google.com/file/d/0ByH5JawQF0PodjhHZ25VaGRLc00/view?usp=sharing # left.png

Top corner Icon for install script:

https://sites.google.com/site/myubuntustudio/top.png
Ueliton Wednesday 3 June 2015 at 17:02
Ueliton

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

New edited script

Differences

@@ -0,0 +1,59 @@
+#!/usr/bin/env playonlinux-bash
+# CHANGELOG
+# **PlayOnLinux 4.2.8**
+# Wine version used: 1.7.28
+# Distribution used to test: openSUSE 13.2 x86_64
+# MemoriesOnTV2 version used to test: 2.2.1
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="MemoriesOnTV2"
+TEXT_INSTRUCTIONS="$(eval_gettext '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')"
+TITLE="MemoriesOnTV2"
+WORKING_WINE_VERSION="1.7.28"
+
+POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2546
+# Enable debugging
+POL_Debug_Init
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
+# INFO
+POL_SetupWindow_message "INFO: This install MemoriesOnTV version 2.\n\nIf you have registration code from others versions...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV3 or Memories On TV(for 4)." "$TITLE" 
+# Managing prefix and Wine version
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+# Creating Temp directory
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+
+# Installation Method DOWNLOAD
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+  then
+  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
+  POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
+  POL_Wine motv221.exe
+fi
+    
+# Installation Method LOCAL
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+  then
+      cd "$HOME"
+      POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+      POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
+      POL_Wine "$APP_ANSWER"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="MemoriesOnTV2"
TEXT_INSTRUCTIONS="$(eval_gettext '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')"
TITLE="MemoriesOnTV2"
WORKING_WINE_VERSION="1.7.28"

POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init
# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
# INFO
POL_SetupWindow_message "INFO: This install MemoriesOnTV version 2.\n\nIf you have registration code from others versions...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV3 or Memories On TV(for 4)." "$TITLE" 
# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
  POL_Wine motv221.exe
fi
    
# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
      POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Wednesday 3 June 2015 at 17:06
Just curious; why choose the longer "WORKING_WINE_VERSION" instead of just WINEVERSION? Much more concise, and stating that it is working doesn't make sense, because if it didn't work, it wouldn't be in the script, right? haha. ;)

At the end, it should be "exit 0". If the script completes with success, "0" is the code it should throw. Next, there is no support for translations in your script. That is required:

http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_10:_Script_Translation

And the GetSetupImages URLs need to be changed to the ones used by our servers:

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

 

 Then submit the links to download the images so that we can upload them to our servers. This is required for all scripts, as we don't want 3rd party servers feeding images to users without knowing what they are. 
Ueliton Tuesday 2 June 2015 at 22:52
Ueliton

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,63 @@
+#!/usr/bin/env playonlinux-bash
+# CHANGELOG
+# **PlayOnLinux 4.2.8**
+# Wine version used: 1.7.28
+# Distribution used to test: openSUSE 13.2 x86_64
+# MemoriesOnTV2 version used to test: 2.2.1
+# Author: Ueliton
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+# Variables -------------
+AUTHOR="Ueliton"
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="Codejam2"
+TEXT_INSTRUCTIONS="\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART."
+TITLE="MemoriesOnTV2"
+WORKING_WINE_VERSION="1.7.28"
+
+POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 2546
+# Enable debugging
+POL_Debug_Init
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
+# INFO
+POL_SetupWindow_message "INFO: This install MemoriesOnTV version 2.\n\nIf you have registration code from others versions...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV3 or Memories On TV(for 4 or later)." "$TITLE" 
+# Managing prefix and Wine version
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+# Creating Temp directory
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+
+# Installation Method DOWNLOAD
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+  then
+  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
+  POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
+  POL_Wine_WaitBefore "$TITLE"
+  POL_Wine motv221.exe
+  POL_Wine_WaitExit "$TITLE"
+fi
+    
+# Installation Method LOCAL
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+  then
+      cd "$HOME"
+      POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+      POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
+      POL_Wine_WaitBefore "$TITLE"
+      POL_Wine "$APP_ANSWER"
+      POL_Wine_WaitExit "$TITLE"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# **PlayOnLinux 4.2.8**
# Wine version used: 1.7.28
# Distribution used to test: openSUSE 13.2 x86_64
# MemoriesOnTV2 version used to test: 2.2.1
# Author: Ueliton
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Variables -------------
AUTHOR="Ueliton"
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="Codejam2"
TEXT_INSTRUCTIONS="\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART."
TITLE="MemoriesOnTV2"
WORKING_WINE_VERSION="1.7.28"

POL_GetSetupImages "http://media.binu.com/12630290/stream/98566724475-c96e651946818e07/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2546
# Enable debugging
POL_Debug_Init
# Presentation
POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX"
# INFO
POL_SetupWindow_message "INFO: This install MemoriesOnTV version 2.\n\nIf you have registration code from others versions...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV3 or Memories On TV(for 4 or later)." "$TITLE" 
# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566922982-dc363817786ff182/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a"
  POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine motv221.exe
  POL_Wine_WaitExit "$TITLE"
fi
    
# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
      POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
      POL_Wine_WaitExit "$TITLE"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "MemoriesOnTV.exe" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Tuesday 2 June 2015 at 22:53
MemoriesOnTV2 Screenshots:

http://media.binu.com/12630290/stream/98566723759-750263dbb2fb8547/MemoriesOnTV2-1.png
http://media.binu.com/12630290/stream/98566723720-3b92d18aa7a6176d/MemoriesOnTV2-2.png
http://media.binu.com/12630290/stream/98566723680-72da7fd6d1302c0a/MemoriesOnTV2-3.png
Tuesday 2 June 2015 at 22:54
The icon that will be used in the PlayOnLinux script list and the site:
http://media.binu.com/12630290/stream/98566724324-12b1e42dc0746f22/MemoriesOnTV2-22X22.png

The icon that will be used for the installed program:
http://media.binu.com/12630290/stream/98566724390-729c68884bd359ad/MemoriesOnTV2-48X48.png

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com