/S
switch is a common silent install switch used with NSIS installers. Sometimes, additional switches might be supported, such as /VERYSILENT
or /SUPPRESSMSGBOXES
. You can try running the installer with these switches to see if they are recognized and properly handled. For example:
Program.exe /S Program.exe /VERYSILENT Program.exe /SUPPRESSMSGBOXES
If standard methods like documentation, ReadMe files, and contacting the developer haven't provided the necessary information about the command-line switches for the NSIS installer, and reverse engineering isn't feasible or practical, then unfortunately, there might not be a straightforward way to obtain all the available CLI switches. In such cases, trial and error might be your best option. You can try experimenting with different command-line switches to see if they have any effect on the installer's behavior. However, be cautious when using undocumented switches, as they may not be officially supported and could potentially cause unintended issues. Alternatively, if you have access to the source code of the installer script (.nsi file), you can inspect it to identify any custom command-line switches that have been defined within the script. Ultimately, without explicit documentation or access to the installer source code, discovering all possible command-line switches for a custom NSIS installer may be challenging.To find out the CLI switches that can be used with an NSIS installer, you can try the following approaches:
1. Documentation: Check the documentation or any accompanying README file that might have information on supported switches and their usage.
2. Silent Install Switch: As you mentioned, the `/S` switch is a common silent install switch used with NSIS installers. Sometimes, additional switches might be supported, such as `/VERYSILENT` or `/SUPPRESSMSGBOXES`. You can try running the installer with these switches to see if they are recognized and properly handled.
For example:
```
Program.exe /S
Program.exe /VERYSILENT
Program.exe /SUPPRESSMSGBOXES
```
3. Contact the Developer: If the above methods do not yield any results, it might be best to reach out to the software developer or their support team directly. They should be able to provide you with the correct switches to use for automating the installation process for Home Additions and Remodeling.
Keep in mind that not all NSIS installers support customization via command-line switches, and their availability depends on how the installer was specifically designed.
/S
for silent install, and there are a handful of other frequently supported switches to experiment with:/D=
: Specifies the directory for installation./NCRC
: Skips the CRC check./LANG=
: Specifies a particular language if the installer supports multiple languages./SUPPRESSMSGBOXES
: Suppresses message boxes during installation. Program.exe /S /D=C:\MyFolder /SUPPRESSMSGBOXES
.exe
file with /?
, /HELP
, or similar flags: Program.exe /? Program.exe /HELP
.nsi
script source code is not available, here’s an alternative:strings
on the installer might reveal hidden switches.Uncompile
utility to extract the script from the installer if it's not obfuscated. Doing so will give you direct access to all defined switches: nsis.exe /UNC