setup_section.RdThis section contains global settings used by the installer and uninstaller. See [Setup] for details.
setup_section(iss, app_dir, dir_out, app_version = "{#MyAppVersion}", name = "{#MyAppName}", publisher = "{#MyAppPublisher}", default_dir = "userdocs", privilege = "lowest", info_before = "infobefore.txt", info_after = "infoafter.txt", license_file = "none", setup_icon = "setup.ico", inst_pw = "none", pub_url = "{#MyAppURL}", sup_url = "{#MyAppURL}", upd_url = "{#MyAppURL}", compression = "lzma2/ultra64")
| iss | Character vector which cumulatively becomes an Inno Setup Script (ISS). |
|---|---|
| app_dir | Development app's directory, defaults to |
| dir_out | Installer's directory. A sub-directory of |
| app_version | Version number of the app being installed, defaults to |
| name | Defaults to ISPP directive, |
| publisher | String displayed on the "Support" dialogue of the Add/Remove Programs Control Panel applet, defaults to " ". See [Setup]:AppPublisher for details. |
| default_dir | The default directory name used by the Select Destination Page of the installer. See [Setup]:DefaultDirName and Constants for details. |
| privilege | Valid options: |
| info_before | File, in .txt or .rtf format, which is displayed on the first page of the installer. It must be located in |
| info_after | File, in .txt or .rtf format, which is displayed on the last page of the installer. It must be located in |
| license_file | File, in .txt or .rtf format, which is displayed before the Select Destination Page of the wizard. See [Setup]:LicenseFile for details. |
| setup_icon | File name of the icon used for installer/uninstaller. The file must be located in |
| inst_pw | Installer password, string. Visit the Inno Setup Downloads page and place ISCrypt.dll in your Inno Setup directory. Afterwards, if a |
| pub_url | String. Defaults to |
| sup_url | String. Defaults to |
| upd_url | String. Defaults to |
| compression | Defaults to |
Chainable character vector, which can be used as the text argument of writeLines to generate an ISS.
get_R, copy_installation, create_config, create_bat, directives_section, setup_section, languages_section, tasks_section, files_section, icons_section, run_section, and code_section.
# NOT RUN { start_iss('myapp') %>% directives_section( include_R = FALSE, R_version = '3.3.2') %>% setup_section( dir_out = 'installer', default_dir = 'pf') # }