The forum

[Script]ConvertXtoDVD

Author Replies
wiired24 Friday 14 March 2014 at 22:26
wiired24Anonymous

Here is a scipt i have been working on for the Popular ConvertXtoDVD software
Also apologies for any errors in posting this, I'm new to the forums  The script Does work i have tested it myself.



#!/bin/bash
# Date : 2014-03-014
# Wine version used : 1.4.1
# Distribution used to test : Ubuntu 13.04
# Author : wiired24


#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"



POL_SetupWindow_Init
 
POL_SetupWindow_message "This Script will install ConvertxtoDVD Please be patient this may take awhile..."
 




POL_SetupWindow_browse "Select the .exe for ConvertxtoDVD (It's usually in Downloads)"
#Promts for the executable file

POL_Wine start /unix "$APP_ANSWER"

#Installs the executable via wine


POL_SetupWindow_Close
exit






petch Saturday 15 March 2014 at 8:15
petch
Developer

Hi,
Did you paste the whole script? It lacks lots of statements to be considered valid (for example it doesn't create a new virtual drive, no idea where the installation goes, probably in the default virtual drive).
Messages do not support localization (eval_gettext support).
Because of the (usually useless) start /unix the installation starts asynchronously, so I guess the installation wizard window closes before the installation is completed.
The script is not creating a shortcut to the newly installed program either.

Have you read the documentation ?
("Scriptwriter's documentation", http://www.playonmac.com/en/documentation.html)