|
|
#5 |
|
Junior Member
|
Take a look at the GetOptions macro defined in FileFunc.nsh. It allows command line options like /RESPONSE=responsefile.ini. If you format it as an .ini file, you can use the ReadINIStr commands to pull information out of it, such as usernames and passwords.
In our case we simply supply a sample response.ini file, so that our user can create their own to do silent installs like this: OurSetup.exe /S /RESPONSE=responses.ini ...where responses.ini might contain: code: Here's some sample script for getting the values: code: (You'll need to remove or replace the DetailsLogSet unless you use the build I posted about earlier, or replace it with LogSet and use LogText instead of DetailPrint.) |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|