Specifies any number of programs to execute after the program has been successfully installed, but before the installer displays the final dialog. See [Run] for details.

run_section(iss, R_flags = "/SILENT")

Arguments

iss

Character vector which cumulatively becomes an Inno Setup Script (ISS).

R_flags

String of flags to customize R's installation. Defaults to "/SILENT". For other options, visit Section 2.4 of the R FAQ. If using the '/DIR=""C:\myapp""' flag, use double backslashes and double quotes. For more information on valid Inno Setup constants, see the Constants section.

Value

Chainable character vector, which can be used as the text argument of writeLines to generate an ISS.

See also

Examples

# NOT RUN {
# You can combine custom R installation flags with Inno Setup constants
create_app("myapp", "app", R_flags = '/SILENT /DIR=""{userdocs}""')

# Or directly
run_section(iss, R_flags = '/SILENT /DIR=""{userdocs}""')

# }