Page 1 of 1
NRDS_Win_64.exe Silent Install
Posted: Wed Sep 03, 2014 2:16 pm
by thernand
Hi,
A few weeks ago I opened in the general forum under this same heading a request for info on NRDS_Win_64.exe silent install options. mainly on a tag to change the destination of the install via the command line. it was reported to me that this function if not available, then a new release will need to produced. This has now become an issue. For testing purposes the inactive install was fine but now due to security requirements, the ability to script the install for automation for cloud server deployment, and the requirement to load this on another drive instead of the C system drive on windows. I need to know when the next release of NRDS_Win_64.exe that will support a command line tag to change the destination of the install.
Thanks
Re: NRDS_Win_64.exe Silent Install
Posted: Thu Sep 04, 2014 10:13 am
by lmiltchev
We have an internal feature request, posted already (TASK ID 3938). It's hard to say when/if this functionality will be implemented. It all depends on the priority of the project and the length of our developers' TODO list. If you don't want to wait, you can contact our sales team at
[email protected] and request a quote for custom development.
Re: NRDS_Win_64.exe Silent Install
Posted: Wed Nov 05, 2014 12:31 pm
by thernand
Hi,
Can I get a status on this as to when and if this will be implemented or updated?
Thanks
Re: NRDS_Win_64.exe Silent Install
Posted: Wed Nov 05, 2014 1:55 pm
by slansing
It looks like as of yet, it has not been picked up as a feature addition to be worked on.
Re: NRDS_Win_64.exe Silent Install
Posted: Mon Jun 08, 2015 3:58 pm
by thernand
Hey
Is there an update on this? Will we ever be able to do a silent install to a target drive and directory! I checked other tools and they have the same issue. I need this resolved because I have to deploy to 17000+ windows servers and make this install a part of the win build process for my company.
Re: NRDS_Win_64.exe Silent Install
Posted: Tue Jun 09, 2015 11:05 am
by ssax
There is not currently a way to do this and it will still prompt for administrative privileges.
You could edit the /usr/local/nrdp/win_clients/build_files/NRDS_Win_64.nsi and add/change:
Code: Select all
;The default installation directory
InstallDir C:\YOUR\PATH\Nagios\NRDS_Win
Code: Select all
;Settings
ShowInstDetails show
SilentInstall silent
Which will silent install but the problem comes with what the installer is looking for.
You would have to edit that nsi file and have it grab the hostname and set the interval because it's expecting a different host name per machine.
You could add/change it to something like:
Code: Select all
; !insertmacro INSTALLOPTIONS_READ $3 "field.ini" "Field 4" "State"
; !insertmacro INSTALLOPTIONS_READ $4 "field.ini" "Field 5" "State"
; Set Hostname
ReadRegStr $3 HKLM "SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName" "ComputerName"
StrCmp $3 "" 0 win9x
Goto done
win9x:
ReadRegStr $3 HKLM "SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName" "ComputerName"
done:
; Set Interval
StrCpy $4 5
Which would set the hostname from the registry and then set the interval to 5 or whatever you want.