Applications

Choose a category

accessories
Accessories
development
Development
education
Education
games
Games
graphics
Graphics
internet
Internet
multimedia
Multimedia
office
Office
other
Other

Cadstd Lite 3.7.0

#!/bin/sh

#Vérifier que PlayOnLinux est bien exécuté avant
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi

#Charger les librairies
source "$PLAYONLINUX/lib/sources"

#Verifier les dépendences
cfg_check

#Definition des variables
LONG_NAME="Cadstd Lite 3.7.0"
NAME="Cadstdlite370"
EDITOR="Apperson & Daughters"
WEBSITE="http://www.cadstd.com/"
AUTHOR="malownu"
TMPDIR=~/.PlayOnLinux/tmp/$NAME

DL_LINK="http://www.cadstd.com/binaries/cslte361.exe"

if [ "$POL_LANG" == "fr_FR.UTF-8" ]
then
TEXT_DL="Téléchargement de Cadstd 3.7.0"
else
TEXT_DL="Downloading Cadstd 3.7.0"
fi

#Presentation
presentation "$LONG_NAME" "$EDITOR" "$WEBSITE" "$AUTHOR" "$NAME"

#Preparation de wine
mkdir -p $REPERTOIRE/wineprefix/$NAME
cd $REPERTOIRE/wineprefix/$NAME
select_prefixe "$(pwd)"
creer_prefixe

cd $WINEPREFIX/dosdevices
rm ./*
ln -s ../drive_c c:
ln -s / z:

#Configuration de wine
Set_OS "winxp"

#Creation du répertoire temporaire
mkdir -p $TMPDIR
cd $TMPDIR

#Téléchargement des fichiers nécessaires à l'installation
telecharger "$TEXT_DL" "$DL_LINK" 1 1

#Lancement de l'installeur
wine $TMPDIR/cslte361.exe

creer_lanceur "$NAME" "Program Files/Apperson/CadStd" "cadstd.exe" "" "$LONG_NAME"

exit

Il n'y a rien à voir ici