Windows | Install a service from cmd prompt suppressing hard coded dialog boxes

32bit: “C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe” “c:\myservice.exe” 64bit “C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil.exe” “c:\myservice.exe” Credits: https://stackoverflow.com/users/640888/hcb

Bash // dialog scripting

Create some functions: function prepare_dialog () { # DIALOG STDOUT exec 3>&1 } function d_selectOneGender () { C_GEND_LIST=”$(getexistinggenders)” D_STRG=”” for C_GEND in $C_GEND_LIST; do D_STRG=”${D_STRG} $C_GEND Gender OFF $C_GEND” done dialog \ –backtitle “$VERSION” \ –clear \ –title “$1” \ –item-help \ –radiolist ‘Select one:’ \ $H $W $MH \ $D_STRG return $? } … […]