SHARE
TWEET

Arkalys install

aureole Jun 13th, 2018 27 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. [ "$PLAYONLINUX" = "" ] && exit 0
  3. source "$PLAYONLINUX/lib/sources"
  4.  
  5. POL_SetupWindow_Init
  6. POL_Debug_Init
  7.  
  8. TITLE="Arkalys"
  9. PREFIX="testdrive"
  10. INSTALLER_NAME="Arkalys_Setup.exe"
  11. DOWNLOAD_URL="http://dl.arkalys.com/Arkalys_Setup.exe"
  12.  
  13. POL_SetupWindow_message "Script d'installation d'Arkalys créé par Aureole." "$TITLE"
  14.  
  15. POL_SetupWindow_presentation "Arkalys" "Arkalys team" "http://www.arkalys.com" "Aureole" "$PREFIX"
  16.  
  17. POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
  18.  
  19. if [ "$INSTALL_METHOD" = "LOCAL" ]
  20. then
  21.     POL_SetupWindow_browse "Veuillez sélectionner le programme d'installation." "$TITLE"
  22.     INSTALLER="$APP_ANSWER"
  23. elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  24. then
  25.     POL_System_TmpCreate "$PREFIX"
  26.     cd "$POL_System_TmpDir"
  27.     POL_Download "$DOWNLOAD_URL"
  28.     INSTALLER="$INSTALLER_NAME"
  29. fi
  30.  
  31. POL_System_SetArch "x86"
  32. POL_Wine_SelectPrefix "$PREFIX"
  33. POL_Wine_PrefixCreate
  34.  
  35. Set_OS "win7"
  36.  
  37. POL_SetupWindow_wait "Installation en cours." "$TITLE"
  38. POL_Wine start /unix "$INSTALLER"
  39. POL_Wine_WaitExit "$TITLE"
  40.  
  41. POL_Shortcut "Arkalys.exe" "$TITLE"
  42.  
  43. POL_SetupWindow_Close
  44. exit
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top