The forum

[Script] WarpPLS

Version 7 beta

Author Replies
tungdao Tuesday 28 January 2020 at 22:23
tungdaoAnonymous

WarpPLS is software helping analysis quantitative data (questionnaire, survey) on PLS-based structural equation modeling (SEM) on statistical science.
However, the author of WarpPLS (NedKock) have been developed it on Windows, doesn't supported MacOS. Therefore, I wrote the script to help someone (doctoral student, researchers, ...) who would like to make install easy on Mac.

This script use version 7 beta.

Wine version: 3.0.3 (x86)
Distribution: MacOS Mojave
Distribution Version: 10.14

Comments:
Before install, I recommend installation XQuartz and Win Mono at outside playonmac because XQuazt will help WarpPLS running data and create 2D and 3D graphic vectors. Moreover, I put direct link from his website on script that users know link offical.

Known issues
Does not work with Wine 4.0.3 & 5.0

Screenshots

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/bash
# Date : (2020-01-27)
# Distribution used to test : MacOS Mojave 10.14
# Author : DaoDuyTung
# PlayOnMac: 3.0.3
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="WarpPLS_7b"
PREFIX="TungDaoWarpPLS"
WORKING_WINE_VERSION="3.0.3"
OSVERSION="win10"
 
EDITOR="NedKock"
SETUPFILE="WarpPLS70SetupMCRSw.exe"
SHORTCUTFILENAME="WarpPLS_7_0.exe"
AUTHOR="DaoDuyTung"
 
 
POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$WEB_URL" "$AUTHOR" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
POL_System_TmpCreate "$PREFIX"
 
POL_Call POL_Install_msxml6
POL_Call POL_Install_corefonts
POL_Call POL_Install_dotnet20
POL_Call POL_Install_dotnet35
POL_Call POL_Install_dotnet40
POL_Call POL_Install_gecko
  
cd "$POL_System_TmpDir"
  
if [ "$POL_SELECTED_FILE" ]; then
    SetupFile="$POL_SELECTED_FILE"
else
    POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
    if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
    then
        POL_Download "$DOWNLOADURL" "56c6e58954fa48758e654697347ea513"
        SetupFile="$POL_System_TmpDir/$SETUPFILE"
    elif [ "$INSTALL_METHOD" = "LOCAL" ]
    then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SetupFile="$APP_ANSWER"
    fi
fi
 
# Installation
Set_OS "$OSVERSION"
  
POL_SetupWindow_message "The installer for $TITLE will now appear"
POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$SetupFile"
POL_Wine_WaitExit "$TITLE"
 
  
POL_System_TmpDelete
  
POL_Shortcut "$SHORTCUTFILENAME" "$TITLE"
  
POL_SetupWindow_Close
exit 0

Edited by tungdao

Dadu042 Wednesday 29 January 2020 at 16:43
Dadu042

Hello, I've see the script you posted. But there is a issue because the script download somefiles, and I want to be sure that these files are freeware (because of this project policy).

tungdao Wednesday 29 January 2020 at 20:07
tungdaoAnonymous

 

Hello, I've see the script you posted. But there is a issue because the script download somefiles, and I want to be sure that these files are freeware (because of this project policy).

 

 hello

Warppls also commercial software (free trial 3 months with full features and buy license would use continous, it depending on customers). 

in script I putted direct link from host website to help some person doesnot have techinical akills can setup easy on their macos. May I ask if I drop method download, just keep method local then Is it possible approve? 

Warppls developed from dotnet, matlab.

dotnet 4 also freeware. For matlab, it addition file integrated on setup file.

XQuartz jut tool supported create graph support together matlab. 

Edited by tungdao

Dadu042 Thursday 30 January 2020 at 12:09
Dadu042

Local installation will make approval much more easier :)

Edited by Dadu042

tungdao Thursday 30 January 2020 at 15:41
tungdaoAnonymous

 

Local installation will make approval much more easier :)

 

Hello,  I updated new version

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/bin/bash
# Date : (2020-01-30)
# Distribution used to test : MacOS Mojave 10.14
# Author : Dao Duy Tung
# PlayOnMac: 3.0.3
 
# CHANGELOGS
# Disable method DOWNLOAD
# Removed dotnet30
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="WarpPLS 7"
PREFIX="TungDaoWarpPLS"
WORKING_WINE_VERSION="3.0.3"
OSVERSION="win10"
 
EDITOR="Ned Kock"
# DOWNLOADURL=""
# SETUPFILE=""
SHORTCUTFILENAME="WarpPLS_7_0.exe"
AUTHOR="Dao Duy Tung"
# PERSONALBLOG="https://tungdao.org"
 
  
POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$WEB_URL" "$AUTHOR" "$PREFIX"
  
POL_RequiredVersion "3.0.3" || POL_Debug_Fatal "Sorry, $APPLICATION_TITLE 3.0.3 is required to install $TITLE"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
POL_System_TmpCreate "$PREFIX"
 
POL_Call POL_Install_msxml6
POL_Call POL_Install_corefonts
POL_Call POL_Install_dotnet20
POL_Call POL_Install_dotnet40
POL_Call POL_Install_gecko
  
cd "$POL_System_TmpDir"
  
if [ "$POL_SELECTED_FILE" ]; then
    SetupFile="$POL_SELECTED_FILE"
else
# POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
    INSTALL_METHOD="LOCAL"
    
    if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
        POL_Download "$DOWNLOADURL" ""
        SetupFile="$POL_System_TmpDir/$SETUPFILE"
    elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SetupFile="$APP_ANSWER"
    fi
fi
 
# Installation
Set_OS "$OSVERSION"
 
POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$SetupFile"
POL_Wine_WaitExit "$TITLE"
 
POL_System_TmpDelete
  
POL_Shortcut "$SHORTCUTFILENAME" "$TITLE"
POL_SetupWindow_message "Your application has been installed successfully." "$TITLE"
 
POL_SetupWindow_Close
exit 0
Dadu042 Thursday 30 January 2020 at 21:10
Dadu042

Approved and posted to : https://www.playonlinux.com/en/app-3864.html

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@playonlinux.com