

A fully qualified pathname must be specified. Overrides the default directory name displayed on the Select Destination Location wizard page. When a valid /LANG parameter is used, the Select Language dialog will be suppressed. language specifies the internal name of the language as specified in a section entry. Instructs Setup to save installation settings to the specified file.ĭon't forget to use quotes if the filename contains spaces. This file can be prepared using the '/SAVEINF=' command as explained below.ĭon't forget to use quotes if the filename contains spaces. Instructs Setup to load the settings from the specified file after having checked the command line. If /RESTARTAPPLICATIONS was also used, this command line parameter is ignored. Prevents Setup from restarting applications. If Setup didn't close these applications (for example because /NOCLOSEAPPLICATIONS was used), this command line parameter is ignored. Instructs Setup to restart applications if possible.

If /CLOSEAPPLICATIONS was also used, this command line parameter is ignored. Prevents Setup from closing applications using files that need to be updated by Setup. Instructs Setup to close applications using files that need to be updated by Setup if possible. See also: Setup Exit Codes /CLOSEAPPLICATIONS (By default, 0 is returned in this case.) Typically used along with /NORESTART.
#Inno setup install requirements code
Specifies a custom exit code that Setup is to return when the system needs to be restarted following a successful installation. Typically used along with /SILENT or /VERYSILENT. Prevents Setup from restarting the system following a successful installation, or after a Preparing to Install failure that requests a restart. Useful along with '/SILENT' or '/VERYSILENT'. Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button. If the file cannot be created, Setup will abort with an error message.

If a file with the specified name already exists it will be overwritten. Same as /LOG, except it allows you to specify a fixed path/filename to use for the log file. Nor is it designed to be machine-parseable the format of the file is subject to change without notice. The information contained in the log file is technical in nature and therefore not intended to be understandable by end users. (It will not overwrite or append to existing files.) The log file is created with a unique name based on the current date. For example, if you suspect a file isn't being replaced when you believe it should be (or vice versa), the log file will tell you if the file was really skipped, and why. Any message box displayed by support function MsgBox.Ĭauses Setup to create a log file in the user's TEMP directory detailing file installation and actions taken during the installation process.Any (error) message box displayed before Setup (or Uninstall) could read the command line parameters.The FileNotInDir2 message box displayed when Setup requires a new disk to be inserted and the disk was not found.Yes (=restart) in a FinishedRestartMessage/UninstalledAndNeedsRestart situation.Yes (=continue) in a DiskSpaceWarning/DirExists/DirDoesntExist/NoUninstallWarning/ExitSetupMessage/ConfirmUninstall situation.No in a 'File exists, confirm overwrite.' situation.The default response in situations where there's a choice is: Only has an effect when combined with '/SILENT' or '/VERYSILENT'. Instructs Setup to suppress message boxes. If it's very silent it will reboot without asking. If a restart is necessary and the '/NORESTART' command isn't used (see below) and Setup is silent, it will display a Reboot now? message box. Everything else is normal so for example error messages during installation are displayed and the startup prompt is (if you haven't disabled it with DisableStartupPrompt or the '/SP-' command line option explained above). When a setup is very silent this installation progress window is not displayed. When Setup is silent the wizard and the background window are not displayed but the installation progress window is. Instructs Setup to be silent or very silent. Of course, this will have no effect if the DisableStartupPrompt section directive was set to yes. Do you wish to continue? prompt at the beginning of Setup. Ignored if the UseSetupLdr section directive was set to no. These can be useful to system administrators, and to other programs calling the Setup program. The Setup program accepts optional command line parameters.
