Unattended Installation

When using Windows you can make an unattended installation of nomacs. Therefore you need to place install-script in a folder together with the nomacs-setup.exe. Then you can call
nomacs-setup.exe --script install-script.js
If you want to change the target directory, you can edit the following line in the install-script.js:

// Choose a target dir -----------------------------------------------------
// installer.setValue("TargetDir", "C:/nomacs");

Moreover, which components to install can be changed here:

// Select your components -----------------------------------------------------
// var page = gui.currentPageWidget();
// page.selectComponent("nomacs.x86");
// page.deselectComponent("nomacs.x64");
// Select your components -----------------------------------------------------

Local Repository

you can install nomacs using a local repository. Therefore you need to clone the current repository: http://download.nomacs.org/repository.zip. Extract this repository to a local server or machine.

Insalling from the Local Repository (GUI)

On the first page of the nomacs installer click the Settings button. Then add a User Defined Repository and uncheck the Default Repository. You can additionally add user credentials if needed (see screenshot).

img-2016-01-12 11.53.39-bInstalling from the Local Repository (CMD)

Open the nomacs-setup.exe or maintainancetool.exe from the Windows command line. Then type:

nomacs-setup.exe --addRepository <URI,...>

Configuring Presets (Export Settings)

If you want to automatically configure some settings, you can adjust nomacs on your machine. Then, run regedit.exe and choose the settings key you want to export:

regedit /e C:\nomacs-settings.reg "HKEY_CURRENT_USER\SOFTWARE\nomacs\Image Lounge"

If you run nomacs-settings.reg on the client machine, all your settings will be applied there.

6 thoughts on “Unattended Installation”

  1. Hello! Thank you for your product. It’s really very good. can you explain how to make a silent mode for local installation without network connectivity for “nomacs 3.4”. For example if the installer and repository are in the “C:\nomacs” folder.

  2. hello,
    how do i disable the autorun “openappcheckbox” so that after the installation no nomax .exe starts automaticly ?
    greedings Jake

Leave a Reply

Your email address will not be published.