Skip to content
⌘ NSIS Forum Archive

wait command / silent installation

4 posts

slain#

wait command / silent installation

Hi im quite new to this programm, so i have some questions i hope you can help me out.

1.) i want to kill a process that no problem but i want the installation to wait for about 5 seconds after the programm got killed because it needs some time to shutdown, how can i use a wait command for it??

2.) i want to install my programm silent like this: programm.exe /S -test

when i write -test i want to install the section "test" how is the command for it? to choose which section shall be installed?


greets
Slain
slain#
i still dont get any clue with the GetOptions section

when i type in the cmd.exe : setup.exe /S (******?)

what is the parameter for the section / Group i want to install??
Afrow UK#
You need to write code to check if a parameter has been passed with GetOptions and then enable the correct section. There are no built in parameters.

-Stu