Support #715

unattended Installtation nomacs app run checkbox

Added by Anonymous about 3 years ago. Updated over 2 years ago.

Status:NewStart date:19.07.2016
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:3.2.2
Version: Operating System:Windows 7/8/10 64bit

Description

Hello,
please, i have an unattended install that works fine. But under WIN7 a normal User can't install Software. So I have an Install User script but i can't top the Installer from Stating nomacs.exe. Is it polible to disable the "run nomacs" checkbox in the install-script.js ?
Maybee i habe tried this, but no luck !

the end of the file from Markus Diem.

// close installer
Controller.prototype.FinishedPageCallback = function() {

var checkBoxForm = gui.currentPageWidget().openAppCheckBox
if (checkBoxForm && checkBoxForm.openAppCheckBox) {
checkBoxForm.openAppCheckBox.checked = false;
}

gui.clickButton(buttons.FinishButton);

Please Help.
Thanks
Jake

History

#1 Updated by Markus about 3 years ago

hi,

this should work:

    // uncheck 'open nomacs'
    var cbForm = gui.currentPageWidget().OpenAppCheckBoxForm;
    if (cbForm && cbForm.openAppCheckBox) {
        cbForm.openAppCheckBox.checked = false;
    }

#2 Updated by Markus over 2 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF