Forums

[Script] Photomatix Pro 5.0.2

(Modified Script by Christophe B.)

Auteur Réponses
marios Samedi 1 Mars 2014 à 12:58
mariosAnonymous

I modified the script written by Christophe B. (http://www.playonmac.com/en/source-1909-Photomatix_Pro_427.html) to install Photomatix Pro 5.0.2.



[code language=playonlinux]
#!/bin/bash
# Date : (2013-12-20 10-33)
# Last revision : (2013-12-20 10-33)
# Wine version used : 1.6.1
# Distribution used to test : Ubuntu 13.10
# Author : Christophe B.
# Script licence : GPLv3
# Modified by Marios Hadjimichael (2014-03-01) to install Photomatix 5
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Photomatix Pro 5"
PREFIX="photomatix5"
 
# Début du script
POL_SetupWindow_Init
POL_SetupWindow_SetID 1909
POL_Debug_Init
 
# Fenêtre de présentation
POL_SetupWindow_presentation  "$TITLE" "HDRsoft" "http://www.hdrsoft.com/" "Christophe B."
 
# Avertissement
POL_SetupWindow_message "$(eval_gettext 'When Wine asks to install the "Mono" package, click "Cancel"')" "$TITLE"
 
# Préparation de Wine
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.6.1"
 
# Extensions nécessaires
POL_Call POL_Install_corefonts
POL_Call POL_Install_dotnet20
POL_Call POL_Install_gdiplus
 
# Installation
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
    SetupFile="$APP_ANSWER"
 
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_USER_ROOT/tmp"
    POL_Download "http://photomatix-en.s3.amazonaws.com/PhotomatixPro502ax32.exe" "e5ec113677bf7a8c7ffa5bbf1e465889"
    SetupFile="$PWD/PhotomatixPro502ax32.exe"
fi
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$SetupFile"
 
# Création du lanceur
POL_Shortcut "PhotomatixPro.exe" "$TITLE"
 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
 
# Fin du script
POL_SetupWindow_Close
 
exit
[/code]

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