POL_Wine_InstallCDROM

Informations

Créateur Messages
Quentin PÂRIS
Admin

Information

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

Informations

Plate-formes :
Téléchargements : 153476
Wine: System

Retours d'expérience

Description

Easy installers with cdrom.

Usage: POL_Wine_InstallCDROM [CD-Rom number] [Letter] [File(s) to check]

Code source

CDNumber="$1"
Letter="$2"

shift
shift

if [ "$CDNumber" = "1" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the first disc')" "$TITLE"

        POL_SetupWindow_cdrom
        
        POL_SetupWindow_cdrom_MountPC "$@"
        POL_SetupWindow_check_cdrom "$@"
        POL_SetupWindow_message "$(eval_gettext 'Read this carefully!\n\nWhen the $TITLE installer ask you to change your cdrom, please come back to this $APPLICATION_TITLE window')" "$TITLE"
        POL_Call POL_Wine_LinkCDROM "$Letter"

else
        POL_SetupWindow_message "$(eval_gettext 'When the installer ask you to insert the cdrom number $CDNumber, click next.\n\nDo not click next before!')" "$TITLE"

        POL_Wine --ignore-errors eject
        POL_SetupWindow_message "$(eval_gettext 'Now, insert the cdrom number $CDNumber.')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_cdrom_MountPC "$@"
        POL_SetupWindow_check_cdrom "$@"
        
        POL_Call POL_Wine_LinkCDROM "$LETTER"
        POL_SetupWindow_wait "$(eval_gettext 'Now you can go back to the $TITLE installation window to continue')" "$TITLE"
        sleep 10
fi

Contributions

Filters:

Contribuer
Membre Messages