IrfanView

Informations

Creator Message
Yaotl Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 247
Wine: 4.0.1

Feedbacks

Description

IrfanView is a fast, compact and innovative FREEWARE (for non-commercial use) graphic viewer for Windows.

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-08-02 03-49)
# Last revision : (2019-08-06 15-04)
# Wine version used : 4.0.1
# Distribution used to test : Linux Mint 19.2 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3


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

TITLE="IrfanView"
PREFIX="IrfanView"

# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 3581
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Irfan Škiljan" "https://www.irfanview.com/" "Yaotl" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://download.betanews.com/download/967963863-1/iview453_setup.exe" "bca517c1ce593cf26037ef2f51faa853"
POL_Download "http://download.betanews.com/download/1099412658-1/iview453_plugins_setup.exe" "fdf1175e658927a7e15129bf35964e7d"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "4.0.1"

Set_OS "win10"

# Installation
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix iview453_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"
POL_Wine start /unix iview453_plugins_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "i_view32.exe" "$TITLE" "" "" "Graphics;"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Yaotl Tuesday 6 August 2019 at 15:23
Yaotl Anonymous

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,54 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2019-08-02 03-49)
+# Last revision : (2019-08-06 15-04)
+# Wine version used : 4.0.1
+# Distribution used to test : Linux Mint 19.2 Cinnamon
+# Author : Yaotl
+# PlayOnLinux : 4.3.4
+# Script licence : GPL3
+
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="IrfanView"
+PREFIX="IrfanView"
+
+# Initialization
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 3581
+POL_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Irfan Škiljan" "https://www.irfanview.com/" "Yaotl" "$PREFIX"
+
+POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+
+# Download
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+POL_Download "http://download.betanews.com/download/967963863-1/iview453_setup.exe" "bca517c1ce593cf26037ef2f51faa853"
+POL_Download "http://download.betanews.com/download/1099412658-1/iview453_plugins_setup.exe" "fdf1175e658927a7e15129bf35964e7d"
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "4.0.1"
+
+Set_OS "win10"
+
+# Installation
+cd "$POL_System_TmpDir"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine start /unix iview453_setup.exe /silent /folder='C:\Program Files\IrfanView'
+POL_Wine_WaitExit "$TITLE"
+POL_Wine start /unix iview453_plugins_setup.exe /silent /folder='C:\Program Files\IrfanView'
+POL_Wine_WaitExit "$TITLE"
+
+# Create Shortcut
+POL_Shortcut "i_view32.exe" "$TITLE" "" "" "Graphics;"
+
+# Cleanup
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-08-02 03-49)
# Last revision : (2019-08-06 15-04)
# Wine version used : 4.0.1
# Distribution used to test : Linux Mint 19.2 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3


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

TITLE="IrfanView"
PREFIX="IrfanView"

# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 3581
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Irfan Škiljan" "https://www.irfanview.com/" "Yaotl" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://download.betanews.com/download/967963863-1/iview453_setup.exe" "bca517c1ce593cf26037ef2f51faa853"
POL_Download "http://download.betanews.com/download/1099412658-1/iview453_plugins_setup.exe" "fdf1175e658927a7e15129bf35964e7d"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "4.0.1"

Set_OS "win10"

# Installation
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix iview453_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"
POL_Wine start /unix iview453_plugins_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "i_view32.exe" "$TITLE" "" "" "Graphics;"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Tuesday 6 August 2019 at 19:47
Approved.