POL_Wine_InstallCDROM

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 201042
Wine: System

Feedbacks

Description

Easy installers with cdrom.

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

Source code

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:

Contribute
Member Message

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