#!/bin/bash
[ -z
"$PLAYONLINUX"
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
TITLE=
"Star Trek Voyager - Elite Force"
PREFIX=
"star-trek-v-elite-force"
WORKING_WINE_VERSION=
"4.4"
AUTHOR=
"Dadu042"
EDITOR=
"Activision"
Set_OS
"winxp"
Set_Desktop On 1024 768
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation
"$TITLE"
"$EDITOR"
"$GAME_URL"
"$AUTHOR"
"$PREFIX"
POL_Wine_SelectPrefix
"$PREFIX"
POL_System_SetArch
"x86"
POL_Wine_PrefixCreate
"$WORKING_WINE_VERSION"
POL_System_TmpCreate
"$TITLE"
POL_SetupWindow_InstallMethod
"LOCAL,CD"
if
[
"$INSTALL_METHOD"
==
"LOCAL"
];
then
cd
"$HOME"
POL_SetupWindow_browse
"$(eval_gettext 'Please select the setup file to run')"
"$TITLE"
SETUP_EXE=
"$APP_ANSWER"
POL_Wine
start
/unix
"$SETUP_EXE"
POL_Wine_WaitExit
"$TITLE"
cd
"$POL_System_TmpDir"
else
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom
"ds32.dll"
POL_Wine
start
/unix
"$CDROM/Setup.exe"
POL_Wine_WaitExit
"Setup.exe"
cd
"$POL_System_TmpDir"
fi
POL_Shortcut
"stvoy.exe"
"$TITLE"
""
POL_Shortcut
"stvoyHM.exe"
"$TITLE - Multi player"
""
POL_Shortcut
"sysinfo.exe"
"$TITLE - Sysinfo"
""
POL_Shortcut_Document
"$TITLE"
"default.htm"
POL_System_TmpDelete
POL_SetupWindow_Close
exit
0