How to install XnView silently

Frequently Asked Questions regarding XnView (including Answers)

Moderators: XnTriq, helmut, xnview

User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

How to install XnView silently

Post by helmut »

When installing XnView on several computers, or in special cases, a so-called silent installation can be helpful. This means that installation is performed without displaying any dialogs or needing user interaction.

The topic 'Silent Deployment of XnView' contains infos needed to create a silent deployment / installation.
User avatar
XnTriq
Moderator & Librarian
Posts: 6368
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Disable new version check

Post by XnTriq »

http://www.itninja.com/software/xnsoft/xnview-1/2-7900 wrote:
The software is packaged with Inno Setup so you can explore the .exe using unpackers.

XnView-win-full.exe /? will give you the list of silent parameters or you can use this website to understand more about innosetup

http://www.silentinstall.org/inno_setup

A basic install can be performed using the below command

Code: Select all

XnView-win-full.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
xnview-installer.exe /? wrote:
The Setup program accepts optional command line parameters.

/HELP, /?
Shows this information.
/SP-
Disables the This will install... Do you wish to continue? prompt at the beginning of Setup.
/SILENT, /VERYSILENT
Instructs Setup to be silent or very silent.
/SUPPRESSMSGBOXES
Instructs Setup to suppress message boxes.
/LOG
Causes Setup to create a log file in the user's TEMP directory.
/LOG="filename"
Same as /LOG, except it allows you to specify a fixed path/filename to use for the log file.
/NOCANCEL
Prevents the user from cancelling during the installation process.
/NORESTART
Prevents Setup from restarting the system following a successful installation, or after a Preparing to Install failure that requests a restart.
/RESTARTEXITCODE=exit code
Specifies a custom exit code that Setup is to return when the system needs to be restarted.
/CLOSEAPPLICATIONS
Instructs Setup to close applications using files that need to be updated.
/NOCLOSEAPPLICATIONS
Prevents Setup from closing applications using files that need to be updated.
/RESTARTAPPLICATIONS
Instructs Setup to restart applications.
/NORESTARTAPPLICATIONS
Prevents Setup from restarting applications.
/LOADINF="filename"
Instructs Setup to load the settings from the specified file after having checked the command line.
/SAVEINF="filename"
Instructs Setup to save installation settings to the specified file.
/LANG=language
Specifies the internal name of the language to use.
/DIR="x:\dirname"
Overrides the default directory name.
/GROUP="folder name"
Overrides the default folder name.
/NOICONS
Instructs Setup to initially check the Don't create a Start Menu folder check box.
/TYPE=type name
Overrides the default setup type.
/COMPONENTS="comma separated list of component names"
Overrides the default component settings.
/TASKS="comma separated list of task names"
Specifies a list of tasks that should be initially selected.
/MERGETASKS="comma separated list of task names"
Like the /TASKS parameter, except the specified tasks will be merged with the set of tasks that would have otherwise been selected by default.
/PASSWORD=password
Specifies the password to use.

For more detailed information, please visit http://www.jrsoftware.org/ishelp/index. ... tupcmdline