Free edition VB to C++ Converter

Informations

Créateur Messages
wrigh347 Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 6727
Wine: 1.7.40

Retours d'expérience

Description

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

Code source

#!/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:

Contribuer
Membre Messages
wrigh347 Samedi 11 Avril 2015 à 22:30
wrigh347 Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Messages

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

Nouveau code source

#!/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

Réponses

Samedi 11 Avril 2015 à 22:34
Approved.
wrigh347 Mercredi 1 Avril 2015 à 1:34
wrigh347 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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
 

Nouveau code source

#!/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

Réponses

Ronin DUSETTE Mardi 31 Mars 2015 à 6:54
Ronin DUSETTE

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Edité par RoninDusette

petch Lundi 30 Mars 2015 à 18:14
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Lundi 30 Mars 2015 à 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?
Lundi 30 Mars 2015 à 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 ;)
Lundi 30 Mars 2015 à 19:35
Ok.
Lundi 30 Mars 2015 à 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...
Mardi 31 Mars 2015 à 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. ).
Mardi 31 Mars 2015 à 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...
Mardi 31 Mars 2015 à 17:58
That makes sense. Lol. I didn't even think of that. I forget how ambiguous English can be at times. ;)
wrigh347 Dimanche 29 Mars 2015 à 19:44
wrigh347 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Lundi 30 Mars 2015 à 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.
Lundi 30 Mars 2015 à 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.
Lundi 30 Mars 2015 à 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.
Lundi 30 Mars 2015 à 18:27
Oh. Ok. I see that now in the wiki.
wrigh347 Dimanche 29 Mars 2015 à 4:51
wrigh347 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Dimanche 29 Mars 2015 à 10:48
You forgot the POL_Call statement in front of POL_Install_dotnet35
wrigh347 Dimanche 29 Mars 2015 à 3:55
wrigh347 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses