Photomatix Pro 5

Informations

Creator Message
dhancock Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 9951
Wine: 1.7.44

Feedbacks

Description

"Have you ever photographed a high contrast scene, only to find you have blown out highlights and flat shadows?

Try High Dynamic Range (HDR) photography to capture the scene as you saw it..."

Website.

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-6-10)
# Last revision : (2015-6-10)
# Wine version used :1.7.44
# Distribution used to test : Ubuntu 14.04 LTS
# Author : dhancock

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Photomatix Pro 5"
PREFIX="PhotomatixPro5"
WINEVERSION="1.7.44"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "HDR Soft" "http://www.hdrsoft.com/" "DHancock" "$TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_dotnet20
POL_Call POL_Install_gecko

POL_System_TmpCreate "photomatix"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "Photomatix installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://photomatix-en.s3.amazonaws.com/PhotomatixPro505ax32.exe"
    INSTALLER="$POL_System_TmpDir/PhotomatixPro505ax32.exe"
fi

POL_SetupWindow_wait "$(eval_gettext 'Installation in progress.')" "$TITLE installation"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "PhotomatixPro.exe" "PhotomatixPro"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Ronin DUSETTE Thursday 11 June 2015 at 5:58
Ronin DUSETTE

Information

This update has been approved by the team.

Message

Re-arranged header and removed extra whitespace. Also removed message that states that it hopes that the program works on other computers with the biblical reference. Please only put needed messages in there. lol. 

Differences

@@ -1,21 +1,21 @@
 #!/usr/bin/env playonlinux-bash
-[ "$PLAYONLINUX" = "" ] && exit 0
-source "$PLAYONLINUX/lib/sources"
 # Date : (2015-6-10)
 # Last revision : (2015-6-10)
 # Wine version used :1.7.44
 # Distribution used to test : Ubuntu 14.04 LTS
 # Author : dhancock
- 
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
 TITLE="Photomatix Pro 5"
 PREFIX="PhotomatixPro5"
 WINEVERSION="1.7.44"
- 
+
 POL_SetupWindow_Init
 POL_Debug_Init
 
-POL_SetupWindow_message "$(eval_gettext 'This works on my computer, hopefully it will help out others as well... John 3:16')" "$TITLE"
-POL_SetupWindow_presentation "$TITLE" "HDR Soft" "http://www.hdrsoft.com/" "DHancock" "Photomatix Pro 5"
+POL_SetupWindow_presentation "$TITLE" "HDR Soft" "http://www.hdrsoft.com/" "DHancock" "$TITLE"
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
@@ -24,9 +24,9 @@
 POL_Call POL_Install_gecko
 
 POL_System_TmpCreate "photomatix"
- 
+
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
- 
+
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "Photomatix installation"
@@ -37,13 +37,13 @@
     POL_Download "http://photomatix-en.s3.amazonaws.com/PhotomatixPro505ax32.exe"
     INSTALLER="$POL_System_TmpDir/PhotomatixPro505ax32.exe"
 fi
- 
+
 POL_SetupWindow_wait "$(eval_gettext 'Installation in progress.')" "$TITLE installation"
 POL_Wine "$INSTALLER"
- 
+
 POL_System_TmpDelete
 
 POL_Shortcut "PhotomatixPro.exe" "PhotomatixPro"
- 
+
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-6-10)
# Last revision : (2015-6-10)
# Wine version used :1.7.44
# Distribution used to test : Ubuntu 14.04 LTS
# Author : dhancock

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Photomatix Pro 5"
PREFIX="PhotomatixPro5"
WINEVERSION="1.7.44"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "HDR Soft" "http://www.hdrsoft.com/" "DHancock" "$TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_dotnet20
POL_Call POL_Install_gecko

POL_System_TmpCreate "photomatix"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "Photomatix installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://photomatix-en.s3.amazonaws.com/PhotomatixPro505ax32.exe"
    INSTALLER="$POL_System_TmpDir/PhotomatixPro505ax32.exe"
fi

POL_SetupWindow_wait "$(eval_gettext 'Installation in progress.')" "$TITLE installation"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "PhotomatixPro.exe" "PhotomatixPro"

POL_SetupWindow_Close
exit 0

Replies

Thursday 11 June 2015 at 20:07
I also changed the description of the program; the description field is for describing the program itself (which also shows up in the right pane in the Install window. :)
dhancock Wednesday 10 June 2015 at 21:38
dhancock Anonymous

Warning

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

Message

I couldn't get it working with gdiplus and dotnet20; it seems to work well with just ghecko and dotnet20. I don't think wine version affects it either.

Differences

@@ -0,0 +1,49 @@
+#!/usr/bin/env playonlinux-bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+# Date : (2015-6-10)
+# Last revision : (2015-6-10)
+# Wine version used :1.7.44
+# Distribution used to test : Ubuntu 14.04 LTS
+# Author : dhancock
+ 
+TITLE="Photomatix Pro 5"
+PREFIX="PhotomatixPro5"
+WINEVERSION="1.7.44"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_message "$(eval_gettext 'This works on my computer, hopefully it will help out others as well... John 3:16')" "$TITLE"
+POL_SetupWindow_presentation "$TITLE" "HDR Soft" "http://www.hdrsoft.com/" "DHancock" "Photomatix Pro 5"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+POL_Call POL_Install_dotnet20
+POL_Call POL_Install_gecko
+
+POL_System_TmpCreate "photomatix"
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "Photomatix installation"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://photomatix-en.s3.amazonaws.com/PhotomatixPro505ax32.exe"
+    INSTALLER="$POL_System_TmpDir/PhotomatixPro505ax32.exe"
+fi
+ 
+POL_SetupWindow_wait "$(eval_gettext 'Installation in progress.')" "$TITLE installation"
+POL_Wine "$INSTALLER"
+ 
+POL_System_TmpDelete
+
+POL_Shortcut "PhotomatixPro.exe" "PhotomatixPro"
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
# Date : (2015-6-10)
# Last revision : (2015-6-10)
# Wine version used :1.7.44
# Distribution used to test : Ubuntu 14.04 LTS
# Author : dhancock
 
TITLE="Photomatix Pro 5"
PREFIX="PhotomatixPro5"
WINEVERSION="1.7.44"
 
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_message "$(eval_gettext 'This works on my computer, hopefully it will help out others as well... John 3:16')" "$TITLE"
POL_SetupWindow_presentation "$TITLE" "HDR Soft" "http://www.hdrsoft.com/" "DHancock" "Photomatix Pro 5"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_dotnet20
POL_Call POL_Install_gecko

POL_System_TmpCreate "photomatix"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "Photomatix installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://photomatix-en.s3.amazonaws.com/PhotomatixPro505ax32.exe"
    INSTALLER="$POL_System_TmpDir/PhotomatixPro505ax32.exe"
fi
 
POL_SetupWindow_wait "$(eval_gettext 'Installation in progress.')" "$TITLE installation"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete

POL_Shortcut "PhotomatixPro.exe" "PhotomatixPro"
 
POL_SetupWindow_Close
exit 0

Replies

Wednesday 10 June 2015 at 21:42
You could have used POL_Wine_WaitBefore "$TITLE" instead of POL_SetupWindow_wait, one less message to translate ;)
But the script is otherwise ok, validated
dhancock Wednesday 10 June 2015 at 17:02
dhancock Anonymous

Warning

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

Message

This is my finished result. Works on Ubuntu 14.04.

I'm new at this, sorry for the multiple posts,  I wasn't sure how it worked.

Differences

@@ -0,0 +1,53 @@
+#!/usr/bin/env playonlinux-bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+# Date : (2015-6-10)
+# Last revision : (2015-6-10)
+# Wine version used :1.7.44
+# Distribution used to test : Ubuntu 14.04 LTS
+# Author : dhancock
+ 
+TITLE="Photomatix Pro 5"
+PREFIX="PhotomatixPro5"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_message "This works on my computer, hopefully it will help out others as well..." "Introduction"
+POL_SetupWindow_presentation "$TITLE" "HDR Soft" "http://www.hdrsoft.com/" "DHancock" "Photomatix Pro 5"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "1.7.44"
+
+POL_Call POL_Wine_InstallFonts
+POL_Call POL_Install_dotnet30
+POL_Call POL_Install_gecko
+POL_Call POL_Install_RegisterFonts
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_tahoma
+POL_Call POL_Install_tahoma2
+
+POL_System_TmpCreate "photomatix"
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the setup file to run." "Photomatix installation"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://photomatix-en.s3.amazonaws.com/PhotomatixPro505ax32.exe"
+    INSTALLER="$POL_System_TmpDir/PhotomatixPro505ax32.exe"
+fi
+ 
+POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
+POL_Wine "$INSTALLER"
+ 
+POL_System_TmpDelete
+
+POL_Shortcut "PhotomatixPro.exe" "PhotomatixPro"
+ 
+POL_SetupWindow_Close
+exit

New source code

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
# Date : (2015-6-10)
# Last revision : (2015-6-10)
# Wine version used :1.7.44
# Distribution used to test : Ubuntu 14.04 LTS
# Author : dhancock
 
TITLE="Photomatix Pro 5"
PREFIX="PhotomatixPro5"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_message "This works on my computer, hopefully it will help out others as well..." "Introduction"
POL_SetupWindow_presentation "$TITLE" "HDR Soft" "http://www.hdrsoft.com/" "DHancock" "Photomatix Pro 5"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.44"

POL_Call POL_Wine_InstallFonts
POL_Call POL_Install_dotnet30
POL_Call POL_Install_gecko
POL_Call POL_Install_RegisterFonts
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma
POL_Call POL_Install_tahoma2

POL_System_TmpCreate "photomatix"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the setup file to run." "Photomatix installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://photomatix-en.s3.amazonaws.com/PhotomatixPro505ax32.exe"
    INSTALLER="$POL_System_TmpDir/PhotomatixPro505ax32.exe"
fi
 
POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete

POL_Shortcut "PhotomatixPro.exe" "PhotomatixPro"
 
POL_SetupWindow_Close
exit

Replies

Wednesday 10 June 2015 at 17:39
Ah. You beat me to it. ;) I was going to do this one next week. lol.


So, a few things:

line 53 should be "exit 0" instead of just "exit".

You should declare WINEVERSION="1.7.44" near the top and use the variable $WINEVERSION in POL_Wine_PrefixCreate. That makes it more maintainable.

And for any message that go to the user, they have to be wrapped with eval_gettext for translation support (lines 16, 36, and 45).

And according to appdb.winehq.org, you don't need most of those dependencies (just dotnet20 and gdiplus):

https://appdb.winehq.org/objectManager.php?sClass=version&iId=29567

Can you try to install photomatix using the wine version and dependencies listed in the link I gave you and see if it works? If we can cut down on the amount of dependencies, it will really speed up the install time. :)
dhancock Wednesday 10 June 2015 at 15:05
dhancock Anonymous

Warning

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

Differences

@@ -0,0 +1,8 @@
+#!/usr/bin/env playonlinux-bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+POL_SetupWindow_Init
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
 
POL_SetupWindow_Close
exit

Replies

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