Free edition VB to C++ Converter

Informations

Creator Message
wrigh347 Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 7565
Wine: 1.7.40

Feedbacks

Description

Free edition VB to C++ Converter is a Visual Basic .NET to C++ converter.

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-28 19-49)
# Last revision : (2015-04-11 15-23)
# Wine version used : 1.7.40
# Distribution used to test : Linux Mint 17.1 LTS
# Author : wrigh347
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Free edition VB to C++ Converter"
PREFIX="freeVB2CPP"

WINEVERSION="1.7.40"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2486
 
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"
 
# Create a 32bit virtual drive
POL_System_SetArch "x86"
 
POL_System_TmpCreate "VBtoCPP"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file to run.')" "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
    INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_dotnet40
POL_Call POL_Install_riched30
POL_Call POL_Install_corefonts
 
POL_Wine_WaitExit "$TITLE"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete
 
POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
  
POL_SetupWindow_Close
 
exit 0

Contributions

Filters:

Contribute
Member Message
wrigh347 Saturday 11 April 2015 at 22:30
wrigh347 Anonymous

Information

This update has been approved by the team.

Message

This is a fix of a bug that makes it impossible to paste code into the file & snippet converter section.

I updated the wine version too. I tested it and it works.

 

Differences

@@ -1,31 +1,32 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2015-03-28 19-49)
-# Last revision : (2015-03-29 12-42)
-# Wine version used : System
+# Last revision : (2015-04-11 15-23)
+# Wine version used : 1.7.40
 # Distribution used to test : Linux Mint 17.1 LTS
 # Author : wrigh347
-
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Free edition VB to C++ Converter"
 PREFIX="freeVB2CPP"
-WINEVERSION="1.7.39"
 
+WINEVERSION="1.7.40"
+ 
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2486
-
+ 
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"
-
+ 
 # Create a 32bit virtual drive
 POL_System_SetArch "x86"
-
+ 
 POL_System_TmpCreate "VBtoCPP"
-
+ 
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-
+ 
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file to run.')" "$TITLE installation"
@@ -36,19 +37,21 @@
     POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
     INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
 fi
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
 
 POL_Call POL_Install_dotnet40
-
+POL_Call POL_Install_riched30
+POL_Call POL_Install_corefonts
+ 
 POL_Wine_WaitExit "$TITLE"
 POL_Wine "$INSTALLER"
-
+ 
 POL_System_TmpDelete
-
-POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
  
+POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
+  
 POL_SetupWindow_Close
-
+ 
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-28 19-49)
# Last revision : (2015-04-11 15-23)
# Wine version used : 1.7.40
# Distribution used to test : Linux Mint 17.1 LTS
# Author : wrigh347
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Free edition VB to C++ Converter"
PREFIX="freeVB2CPP"

WINEVERSION="1.7.40"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2486
 
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"
 
# Create a 32bit virtual drive
POL_System_SetArch "x86"
 
POL_System_TmpCreate "VBtoCPP"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file to run.')" "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
    INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_dotnet40
POL_Call POL_Install_riched30
POL_Call POL_Install_corefonts
 
POL_Wine_WaitExit "$TITLE"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete
 
POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
  
POL_SetupWindow_Close
 
exit 0

Replies

Saturday 11 April 2015 at 22:34
Approved.
wrigh347 Wednesday 1 April 2015 at 1:34
wrigh347 Anonymous

Warning

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

Message

I just added a specific wine version as suggested.

Differences

@@ -10,6 +10,7 @@
 
 TITLE="Free edition VB to C++ Converter"
 PREFIX="freeVB2CPP"
+WINEVERSION="1.7.39"
 
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2486
@@ -37,7 +38,7 @@
 fi
 
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate
+POL_Wine_PrefixCreate "$WINEVERSION"
 
 POL_Call POL_Install_dotnet40
 

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-28 19-49)
# Last revision : (2015-03-29 12-42)
# Wine version used : System
# Distribution used to test : Linux Mint 17.1 LTS
# Author : wrigh347

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

TITLE="Free edition VB to C++ Converter"
PREFIX="freeVB2CPP"
WINEVERSION="1.7.39"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2486

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"

# Create a 32bit virtual drive
POL_System_SetArch "x86"

POL_System_TmpCreate "VBtoCPP"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file to run.')" "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
    INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_dotnet40

POL_Wine_WaitExit "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
 
POL_SetupWindow_Close

exit 0

Replies

Ronin DUSETTE Tuesday 31 March 2015 at 6:54
Ronin DUSETTE

Warning

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

Message

Added the correct exit code at the end and deleted un-needed whitespace and newlines. 

Differences

@@ -4,6 +4,7 @@
 # Wine version used : System
 # Distribution used to test : Linux Mint 17.1 LTS
 # Author : wrigh347
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
@@ -14,16 +15,16 @@
 POL_SetupWindow_SetID 2486
 
 POL_Debug_Init
- 
+
 POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"
- 
+
 # Create a 32bit virtual drive
 POL_System_SetArch "x86"
 
 POL_System_TmpCreate "VBtoCPP"
- 
+
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
- 
+
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file to run.')" "$TITLE installation"
@@ -34,20 +35,19 @@
     POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
     INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
 fi
- 
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
 
 POL_Call POL_Install_dotnet40
- 
+
 POL_Wine_WaitExit "$TITLE"
 POL_Wine "$INSTALLER"
 
-
- 
 POL_System_TmpDelete
- 
+
 POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
  
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-28 19-49)
# Last revision : (2015-03-29 12-42)
# Wine version used : System
# Distribution used to test : Linux Mint 17.1 LTS
# Author : wrigh347

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

TITLE="Free edition VB to C++ Converter"
PREFIX="freeVB2CPP"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2486

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"

# Create a 32bit virtual drive
POL_System_SetArch "x86"

POL_System_TmpCreate "VBtoCPP"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file to run.')" "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
    INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_Call POL_Install_dotnet40

POL_Wine_WaitExit "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
 
POL_SetupWindow_Close

exit 0

Replies

Edited by RoninDusette

petch Monday 30 March 2015 at 18:14
petch

Warning

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

Message

Added localization support

Differences

@@ -11,6 +11,7 @@
 PREFIX="freeVB2CPP"
 
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 2486
 
 POL_Debug_Init
  
@@ -25,7 +26,7 @@
  
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
-    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file to run.')" "$TITLE installation"
     INSTALLER="$APP_ANSWER"
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-28 19-49)
# Last revision : (2015-03-29 12-42)
# Wine version used : System
# Distribution used to test : Linux Mint 17.1 LTS
# Author : wrigh347
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Free edition VB to C++ Converter"
PREFIX="freeVB2CPP"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2486

POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"
 
# Create a 32bit virtual drive
POL_System_SetArch "x86"

POL_System_TmpCreate "VBtoCPP"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file to run.')" "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
    INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_Call POL_Install_dotnet40
 
POL_Wine_WaitExit "$TITLE"
POL_Wine "$INSTALLER"


 
POL_System_TmpDelete
 
POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

Monday 30 March 2015 at 18:27
With this using the System Wine, though, if someone does not have a version of Wine that works with this, or the ~/.Wine prefix is 64-bit, this script may not work, reducing portability. Of course, if the user chooses to, the system Wine is still there, but shoulnd't the script be made more explicit and portable by using a POL WineBuild by default, since the script is not declaring one, and it would just use the system Wine, correct?
Monday 30 March 2015 at 19:32
That's up to the script author, personally I always specify a Wine version (for repeatability), but for now using system Wine is still supported ;)
Monday 30 March 2015 at 19:35
Ok.
Monday 30 March 2015 at 19:48
We never use ~/.wine by the way, and architecture is per virtual drive
On this topic, if I remember correctly PoL always uses the system Wine as a 32 bit version, setting WINEARCH=win32 to try to make it behave as such if necessary. That should work with most 64 bit Wines, as long as they're really "hybrid" builds that support both 64 and 32 bit. At least that's the plan...
Tuesday 31 March 2015 at 6:51
Wait wait wait; this is listed as needing a no-cd crack, but it is a free converter? I am sorry, but this script seems sloppily put together (no offence intended). It tests fine without any crack of any sort (since it is free), and is also missing the MD5 for the download. The MD5 is an optional positional argument, so that is fine, but I am going to remove the "no-cd" flag, as it is not needed (I still think it needs a declared Wine version just to be safe, but that is just me. hahaha. ).
Tuesday 31 March 2015 at 7:56
Oops, didn't notice the no-cd flag. That's a common mistake as people are reading "no-cd needed" as "no cd needed", the wording should probably be made less confusing...
Tuesday 31 March 2015 at 17:58
That makes sense. Lol. I didn't even think of that. I forget how ambiguous English can be at times. ;)
wrigh347 Sunday 29 March 2015 at 19:44
wrigh347 Anonymous

Warning

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

Message

This one should work.

Differences

@@ -0,0 +1,52 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2015-03-28 19-49)
+# Last revision : (2015-03-29 12-42)
+# Wine version used : System
+# Distribution used to test : Linux Mint 17.1 LTS
+# Author : wrigh347
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Free edition VB to C++ Converter"
+PREFIX="freeVB2CPP"
+
+POL_SetupWindow_Init
+
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"
+ 
+# Create a 32bit virtual drive
+POL_System_SetArch "x86"
+
+POL_System_TmpCreate "VBtoCPP"
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
+    INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
+fi
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+
+POL_Call POL_Install_dotnet40
+ 
+POL_Wine_WaitExit "$TITLE"
+POL_Wine "$INSTALLER"
+
+
+ 
+POL_System_TmpDelete
+ 
+POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-28 19-49)
# Last revision : (2015-03-29 12-42)
# Wine version used : System
# Distribution used to test : Linux Mint 17.1 LTS
# Author : wrigh347
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Free edition VB to C++ Converter"
PREFIX="freeVB2CPP"

POL_SetupWindow_Init

POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"
 
# Create a 32bit virtual drive
POL_System_SetArch "x86"

POL_System_TmpCreate "VBtoCPP"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
    INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_Call POL_Install_dotnet40
 
POL_Wine_WaitExit "$TITLE"
POL_Wine "$INSTALLER"


 
POL_System_TmpDelete
 
POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

Monday 30 March 2015 at 17:56
You need to use eval_gettext for localization, you need to declare a Wine version, your comment in there is no needed at all, too. Also, you need to run POL_Wine_SelectPrefix and PrefixCreate before doing ANYTHING to the virtual drive. If you are trying to do this using use the System Wine, that is not supported in Scripts. You need to declare a Wine version and use it in the script. Please re-write the script to use a POL WineBuild and correct the other stuff, as well.
Monday 30 March 2015 at 18:09
He's not doing anything to the virtual drive before PrefixCreate, temporary directory is created outside of virtual drives, so that resources can be downloaded before creating them. The tutorial in the Wiki has been updated to promote this style.
Monday 30 March 2015 at 18:17
However I missed the first time around that localization support was missing, adding it myself. Other changes are only improvements in my opinion.
Monday 30 March 2015 at 18:27
Oh. Ok. I see that now in the wiki.
wrigh347 Sunday 29 March 2015 at 4:51
wrigh347 Anonymous

Warning

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

Differences

@@ -0,0 +1,50 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2015-03-28 19-49)
+# Last revision : (2015-03-28 20-33)
+# Wine version used : System
+# Distribution used to test : Linux Mint 17.1 LTS
+# Author : wrigh347
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Free edition VB to C++ Converter"
+PREFIX="freeVB2CPP"
+
+POL_SetupWindow_Init
+
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"
+ 
+# Create a 32bit virtual drive
+POL_System_SetArch "x86"
+
+POL_System_TmpCreate "VBtoCPP"
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
+    INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
+fi
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+
+POL_Install_dotnet35
+ 
+POL_Wine_WaitExit "$TITLE"
+POL_Wine "$INSTALLER"
+ 
+POL_System_TmpDelete
+ 
+POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-28 19-49)
# Last revision : (2015-03-28 20-33)
# Wine version used : System
# Distribution used to test : Linux Mint 17.1 LTS
# Author : wrigh347
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Free edition VB to C++ Converter"
PREFIX="freeVB2CPP"

POL_SetupWindow_Init

POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"
 
# Create a 32bit virtual drive
POL_System_SetArch "x86"

POL_System_TmpCreate "VBtoCPP"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
    INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_Install_dotnet35
 
POL_Wine_WaitExit "$TITLE"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete
 
POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

Sunday 29 March 2015 at 10:48
You forgot the POL_Call statement in front of POL_Install_dotnet35
wrigh347 Sunday 29 March 2015 at 3:55
wrigh347 Anonymous

Warning

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

Message

Free edition VB to C++ Converter is a free Visual Basic to C++ code converter.

Differences

@@ -0,0 +1,50 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2015-03-28 19-49)
+# Last revision : (2015-03-28 20-33)
+# Wine version used : System
+# Distribution used to test : Linux Mint 17.1 LTS
+# Author : wrigh347
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Free edition VB to C++ Converter"
+PREFIX="freeVB2CPP"
+
+POL_SetupWindow_Init
+
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"
+ 
+# Create a 32bit virtual drive
+POL_System_SetArch "x86"
+
+POL_System_TmpCreate "VBtoCPP"
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+    cd "$POL_System_TmpDir"
+    POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
+    INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
+fi
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+
+POL_Install_dotnet35
+ 
+POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
+POL_Wine "$INSTALLER"
+ 
+POL_System_TmpDelete
+ 
+POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-28 19-49)
# Last revision : (2015-03-28 20-33)
# Wine version used : System
# Distribution used to test : Linux Mint 17.1 LTS
# Author : wrigh347
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Free edition VB to C++ Converter"
PREFIX="freeVB2CPP"

POL_SetupWindow_Init

POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Tangible Software Solutions Inc." "http://www.tangiblesoftwaresolutions.com" "wrigh347" "$PREFIX"
 
# Create a 32bit virtual drive
POL_System_SetArch "x86"

POL_System_TmpCreate "VBtoCPP"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.tangiblesoftwaresolutions.com/Free_Edition_Downloads/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
    INSTALLER="$POL_System_TmpDir/VB%20to%20C++%20Converter%20(Free%20Edition)%20Setup.exe"
fi
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_Install_dotnet35
 
POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
POL_Wine "$INSTALLER"
 
POL_System_TmpDelete
 
POL_Shortcut "Free Edition VB to C++ Converter.exe" "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

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