Microsoft Power BI Desktop

Informations

Creator Message
clazarsantos Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 516
Wine: 5.0.2

Feedbacks

Description

Power BI is a collection of software services, apps, and connectors that work together to turn your unrelated sources of data into coherent, visually immersive, and interactive insights. Wikipedia.

Screenshots

Miniature

Source code

#!/bin/bash
 
# CHANGELOG
# [Claudio Santos] (2020-08-23 17:00)
#   Initial script.
# [Dadu042] (2020-10-24 11-26)
#   POL POL_RequiredVersion 4.0 -> v4.3 (required for Wine 5.x).
#   Remove useless POL_Wine_OverrideDLL (job is done by the functions).
#   Fix POL_Shortcut category.

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

TITLE="Microsoft Power BI Desktop"
PREFIX="Power BI Desktop"
WINEVERSION="5.0.2"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/Office/top.jpg" "http://files.playonlinux.com/resources/setups/Office/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 801
 
POL_SetupWindow_presentation "$TITLE" "Microsoft" "https://powerbi.microsoft.com" "Claudio Santos" "$PREFIX"
 
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
 
if [ "$POL_OS" = "Linux" ]; then
        wbinfo -V || POL_Debug_Fatal "Please install winbind (or samba, on Arch Linux) before installing $TITLE"
fi
POL_Debug_Init
POL_System_SetArch "x86"
 
 
POL_SetupWindow_InstallMethod "LOCAL"

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
SetupIs="$APP_ANSWER"

 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
if [ "$POL_OS" = "Mac" ]; then
    # Samba support
    POL_Call POL_GetTool_samba3
    source "$POL_USER_ROOT/tools/samba3/init"
fi
 
 
POL_Wine_WaitBefore "$TITLE"
[ "$CDROM" ] && cd "$CDROM"
 
if [ ! "$(file $SetupIs | grep 'x86-64')" = "" ]; then
    POL_Debug_Fatal "$(eval_gettext "The 64bits version is not compatible! Sorry")";
fi
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"
POL_Call POL_Install_dotnet45
POL_Call POL_Install_gecko
POL_Call POL_Install_corefonts
POL_Call POL_Install_gdiplus
POL_Call POL_Install_riched20
POL_Call POL_Install_riched30
POL_Call POL_Install_msxml6
POL_Call POL_Install_mspatcha
# See http://forum.winehq.org/viewtopic.php?f=8&t=23126&p=95555#p95555

# Fix a crash when loading a file


POL_Shortcut "PBIDesktop.exe" "Power BI Desktop" "" "" "Office;" 
 
POL_Extension_Write pbix "Power BI Desktop"

 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully.\n\nIf an installation Windows prevent your programs from running, you must remove and reinstall $TITLE')" "$TITLE"
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
IAmNotARobot Thursday 29 October 2020 at 5:12
IAmNotARobot Anonymous

Message

I have been trying to use this install script for the 64 bit version of Power BI desktop on my macOS Catalina.  Using PlayOnMac version 4.4.1 with the latest Power BI installer.

Installation fails with following message.  Happy to get something from my logs if that's useful to anyone.

Error in POL_Wine
Wine seems to have crashed

Also, to make sure PlayOnMac was working I installed Notepad++ and that worked fine.

Replies

Thursday 29 October 2020 at 5:40
It's because this script uses 32bits mode, Catalina can not.
Anonymous
Thursday 29 October 2020 at 11:11
Should I just try setting POL_System_SetArch "x64" or is there more to it? Sorry first time trying POL/POM
Anonymous
Thursday 29 October 2020 at 11:14
I see it's "amd64", I'll just give this a go! :)
Anonymous
Thursday 29 October 2020 at 17:31
Changed POL_System_SetArch to "amd64" and removed lines 53, 54 and 55 to try my luck: unfortunately it did not successfully install.
Dadu042 Saturday 24 October 2020 at 13:32
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -1,15 +1,19 @@
 #!/bin/bash
  
 # CHANGELOG
-# CHANGELOG
-# [Claudio Santos] (23/08/2020 17:00)
+# [Claudio Santos] (2020-08-23 17:00)
+#   Initial script.
+# [Dadu042] (2020-10-24 11-26)
+#   POL POL_RequiredVersion 4.0 -> v4.3 (required for Wine 5.x).
+#   Remove useless POL_Wine_OverrideDLL (job is done by the functions).
+#   Fix POL_Shortcut category.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
+TITLE="Microsoft Power BI Desktop"
 PREFIX="Power BI Desktop"
 WINEVERSION="5.0.2"
-TITLE="Microsoft Power BI Desktop"
  
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/Office/top.jpg" "http://files.playonlinux.com/resources/setups/Office/left.png" "$TITLE"
  
@@ -18,7 +22,7 @@
  
 POL_SetupWindow_presentation "$TITLE" "Microsoft" "https://powerbi.microsoft.com" "Claudio Santos" "$PREFIX"
  
-POL_RequiredVersion 4.0.18 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
+POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
  
 if [ "$POL_OS" = "Linux" ]; then
         wbinfo -V || POL_Debug_Fatal "Please install winbind (or samba, on Arch Linux) before installing $TITLE"
@@ -28,7 +32,6 @@
  
  
 POL_SetupWindow_InstallMethod "LOCAL"
-POL_SetupWindow_InstallMethod "LOCAL"
 
 POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
 SetupIs="$APP_ANSWER"
@@ -61,24 +64,15 @@
 POL_Call POL_Install_msxml6
 POL_Call POL_Install_mspatcha
 # See http://forum.winehq.org/viewtopic.php?f=8&t=23126&p=95555#p95555
-POL_Wine_OverrideDLL "native,builtin" "riched20"
-POL_Wine_OverrideDLL "native,builtin" "riched30"
-POL_Wine_OverrideDLL "native,builtin" "gdiplus"
 
 # Fix a crash when loading a file
 
 
-POL_Shortcut "PBIDesktop.exe" "Power BI Desktop" "" "" "Power BI;Power BI Desktop;" 
+POL_Shortcut "PBIDesktop.exe" "Power BI Desktop" "" "" "Office;" 
  
 POL_Extension_Write pbix "Power BI Desktop"
 
  
-POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully\n\nIf an installation Windows prevent your programs from running, you must remove and reinstall $TITLE')" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully.\n\nIf an installation Windows prevent your programs from running, you must remove and reinstall $TITLE')" "$TITLE"
 POL_SetupWindow_Close
-exit 0
------BEGIN PGP SIGNATURE-----
-
-iF0EABECAB0WIQRFtWEU2eoWQNaBNczlMfrJqhPKRwUCXkFAewAKCRDlMfrJqhPK
-R4RMAJ90k0E2E2D8Q/ZxUENHU/IfKLst/gCffjLO4ag0f2fENlwOxtwIkQeEiv0=
-=XQgU
------END PGP SIGNATURE-----
\ No newline at end of file
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
 
# CHANGELOG
# [Claudio Santos] (2020-08-23 17:00)
#   Initial script.
# [Dadu042] (2020-10-24 11-26)
#   POL POL_RequiredVersion 4.0 -> v4.3 (required for Wine 5.x).
#   Remove useless POL_Wine_OverrideDLL (job is done by the functions).
#   Fix POL_Shortcut category.

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

TITLE="Microsoft Power BI Desktop"
PREFIX="Power BI Desktop"
WINEVERSION="5.0.2"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/Office/top.jpg" "http://files.playonlinux.com/resources/setups/Office/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 801
 
POL_SetupWindow_presentation "$TITLE" "Microsoft" "https://powerbi.microsoft.com" "Claudio Santos" "$PREFIX"
 
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
 
if [ "$POL_OS" = "Linux" ]; then
        wbinfo -V || POL_Debug_Fatal "Please install winbind (or samba, on Arch Linux) before installing $TITLE"
fi
POL_Debug_Init
POL_System_SetArch "x86"
 
 
POL_SetupWindow_InstallMethod "LOCAL"

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
SetupIs="$APP_ANSWER"

 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
if [ "$POL_OS" = "Mac" ]; then
    # Samba support
    POL_Call POL_GetTool_samba3
    source "$POL_USER_ROOT/tools/samba3/init"
fi
 
 
POL_Wine_WaitBefore "$TITLE"
[ "$CDROM" ] && cd "$CDROM"
 
if [ ! "$(file $SetupIs | grep 'x86-64')" = "" ]; then
    POL_Debug_Fatal "$(eval_gettext "The 64bits version is not compatible! Sorry")";
fi
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"
POL_Call POL_Install_dotnet45
POL_Call POL_Install_gecko
POL_Call POL_Install_corefonts
POL_Call POL_Install_gdiplus
POL_Call POL_Install_riched20
POL_Call POL_Install_riched30
POL_Call POL_Install_msxml6
POL_Call POL_Install_mspatcha
# See http://forum.winehq.org/viewtopic.php?f=8&t=23126&p=95555#p95555

# Fix a crash when loading a file


POL_Shortcut "PBIDesktop.exe" "Power BI Desktop" "" "" "Office;" 
 
POL_Extension_Write pbix "Power BI Desktop"

 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully.\n\nIf an installation Windows prevent your programs from running, you must remove and reinstall $TITLE')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

clazarsantos Friday 23 October 2020 at 23:03
clazarsantos Anonymous

Warning

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

Message

Upload Code

Differences

@@ -0,0 +1,84 @@
+#!/bin/bash
+ 
+# CHANGELOG
+# CHANGELOG
+# [Claudio Santos] (23/08/2020 17:00)
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+PREFIX="Power BI Desktop"
+WINEVERSION="5.0.2"
+TITLE="Microsoft Power BI Desktop"
+ 
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/Office/top.jpg" "http://files.playonlinux.com/resources/setups/Office/left.png" "$TITLE"
+ 
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 801
+ 
+POL_SetupWindow_presentation "$TITLE" "Microsoft" "https://powerbi.microsoft.com" "Claudio Santos" "$PREFIX"
+ 
+POL_RequiredVersion 4.0.18 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
+ 
+if [ "$POL_OS" = "Linux" ]; then
+        wbinfo -V || POL_Debug_Fatal "Please install winbind (or samba, on Arch Linux) before installing $TITLE"
+fi
+POL_Debug_Init
+POL_System_SetArch "x86"
+ 
+ 
+POL_SetupWindow_InstallMethod "LOCAL"
+POL_SetupWindow_InstallMethod "LOCAL"
+
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+SetupIs="$APP_ANSWER"
+
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+ 
+if [ "$POL_OS" = "Mac" ]; then
+    # Samba support
+    POL_Call POL_GetTool_samba3
+    source "$POL_USER_ROOT/tools/samba3/init"
+fi
+ 
+ 
+POL_Wine_WaitBefore "$TITLE"
+[ "$CDROM" ] && cd "$CDROM"
+ 
+if [ ! "$(file $SetupIs | grep 'x86-64')" = "" ]; then
+    POL_Debug_Fatal "$(eval_gettext "The 64bits version is not compatible! Sorry")";
+fi
+POL_Wine "$SetupIs"
+POL_Wine_WaitExit "$TITLE"
+POL_Call POL_Install_dotnet45
+POL_Call POL_Install_gecko
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_gdiplus
+POL_Call POL_Install_riched20
+POL_Call POL_Install_riched30
+POL_Call POL_Install_msxml6
+POL_Call POL_Install_mspatcha
+# See http://forum.winehq.org/viewtopic.php?f=8&t=23126&p=95555#p95555
+POL_Wine_OverrideDLL "native,builtin" "riched20"
+POL_Wine_OverrideDLL "native,builtin" "riched30"
+POL_Wine_OverrideDLL "native,builtin" "gdiplus"
+
+# Fix a crash when loading a file
+
+
+POL_Shortcut "PBIDesktop.exe" "Power BI Desktop" "" "" "Power BI;Power BI Desktop;" 
+ 
+POL_Extension_Write pbix "Power BI Desktop"
+
+ 
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully\n\nIf an installation Windows prevent your programs from running, you must remove and reinstall $TITLE')" "$TITLE"
+POL_SetupWindow_Close
+exit 0
+-----BEGIN PGP SIGNATURE-----
+
+iF0EABECAB0WIQRFtWEU2eoWQNaBNczlMfrJqhPKRwUCXkFAewAKCRDlMfrJqhPK
+R4RMAJ90k0E2E2D8Q/ZxUENHU/IfKLst/gCffjLO4ag0f2fENlwOxtwIkQeEiv0=
+=XQgU
+-----END PGP SIGNATURE-----
\ No newline at end of file

New source code

#!/bin/bash
 
# CHANGELOG
# CHANGELOG
# [Claudio Santos] (23/08/2020 17:00)

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="Power BI Desktop"
WINEVERSION="5.0.2"
TITLE="Microsoft Power BI Desktop"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/Office/top.jpg" "http://files.playonlinux.com/resources/setups/Office/left.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 801
 
POL_SetupWindow_presentation "$TITLE" "Microsoft" "https://powerbi.microsoft.com" "Claudio Santos" "$PREFIX"
 
POL_RequiredVersion 4.0.18 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
 
if [ "$POL_OS" = "Linux" ]; then
        wbinfo -V || POL_Debug_Fatal "Please install winbind (or samba, on Arch Linux) before installing $TITLE"
fi
POL_Debug_Init
POL_System_SetArch "x86"
 
 
POL_SetupWindow_InstallMethod "LOCAL"
POL_SetupWindow_InstallMethod "LOCAL"

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
SetupIs="$APP_ANSWER"

 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
if [ "$POL_OS" = "Mac" ]; then
    # Samba support
    POL_Call POL_GetTool_samba3
    source "$POL_USER_ROOT/tools/samba3/init"
fi
 
 
POL_Wine_WaitBefore "$TITLE"
[ "$CDROM" ] && cd "$CDROM"
 
if [ ! "$(file $SetupIs | grep 'x86-64')" = "" ]; then
    POL_Debug_Fatal "$(eval_gettext "The 64bits version is not compatible! Sorry")";
fi
POL_Wine "$SetupIs"
POL_Wine_WaitExit "$TITLE"
POL_Call POL_Install_dotnet45
POL_Call POL_Install_gecko
POL_Call POL_Install_corefonts
POL_Call POL_Install_gdiplus
POL_Call POL_Install_riched20
POL_Call POL_Install_riched30
POL_Call POL_Install_msxml6
POL_Call POL_Install_mspatcha
# See http://forum.winehq.org/viewtopic.php?f=8&t=23126&p=95555#p95555
POL_Wine_OverrideDLL "native,builtin" "riched20"
POL_Wine_OverrideDLL "native,builtin" "riched30"
POL_Wine_OverrideDLL "native,builtin" "gdiplus"

# Fix a crash when loading a file


POL_Shortcut "PBIDesktop.exe" "Power BI Desktop" "" "" "Power BI;Power BI Desktop;" 
 
POL_Extension_Write pbix "Power BI Desktop"

 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully\n\nIf an installation Windows prevent your programs from running, you must remove and reinstall $TITLE')" "$TITLE"
POL_SetupWindow_Close
exit 0
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRFtWEU2eoWQNaBNczlMfrJqhPKRwUCXkFAewAKCRDlMfrJqhPK
R4RMAJ90k0E2E2D8Q/ZxUENHU/IfKLst/gCffjLO4ag0f2fENlwOxtwIkQeEiv0=
=XQgU
-----END PGP SIGNATURE-----

Replies

Saturday 24 October 2020 at 13:24
script approved