G 'Day Customer Support,
Does anyone know whether there is a Silent installation directive to specify a different drive on Windows?
I would really like the ability to specify our standard application drive which is not C:\
Or whether I could simply create a zipped directory of the installation...execute whatever commands to add the services, fw rules and yada, yada, yada...
Looking for info/suggestions on the subject.
Let me know and thanks,
Danny
NCPA Silent Install
NCPA Silent Install
Last edited by onegative on Thu Sep 28, 2017 2:45 pm, edited 1 time in total.
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: NCPA Silent Install
i can't find any reference out of the box, but it should be possible with it being opensource. https://github.com/NagiosEnterprises/ncpa
if not currently possible, i imagine there is a %basedir% type variable lurking somewhere that would then allow you to set it to whatever data drive you'd like.
if not currently possible, i imagine there is a %basedir% type variable lurking somewhere that would then allow you to set it to whatever data drive you'd like.
Re: NCPA Silent Install
Well I tried setting %ProgramFiles(x86)% from the batch file used to initiate the silent install but it still installed under the C:\ProgramFiles(x86) directory.
I took a gander at the build files on github but I am not completely sure I understand where to try and modify the installation basedir.
Plus I do not have a development environment to compile on Windows so I am really unsure how to proceed but I really wish there was a way to pass /BASEDIR directive from the silent install for the installation path...frustrating that an install path variable wasn't included for the silent installation...
If anyone else has a suggestion I am all ears...
Thanks,
Danny
I took a gander at the build files on github but I am not completely sure I understand where to try and modify the installation basedir.
Plus I do not have a development environment to compile on Windows so I am really unsure how to proceed but I really wish there was a way to pass /BASEDIR directive from the silent install for the installation path...frustrating that an install path variable wasn't included for the silent installation...
If anyone else has a suggestion I am all ears...
Thanks,
Danny
Re: NCPA Silent Install
Danny, currently there is no way to pass a custom location via the NCPA silent installer. However, we are going to try find a workaround (if available). We will do some testing and digging into this, and will get back to you if we find a possible solution/workaround.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA Silent Install
Thanks for stepping up...not being able to automate installations to preferred logical drives really hamstrings large organizations especially when C: is off limits to teams other than the system administrators.
Many thanks,
Danny
Many thanks,
Danny
Re: NCPA Silent Install
Danny, try running:
where "X:\folder" is the path to the installation folder. Place the "/D=xxx" last and don't wrap the path in quotes.
Let us know if this worked for you.
Code: Select all
ncpa-2.0.5.exe /S /TOKEN='token' /D=X:\folderLet us know if this worked for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA Silent Install
OUTSTANDING!!!!!!!!!!!!!!!!!!
That worked and exactly how I specified the path.
Did Jake provide that piece of information? It definitely needs to be added to the https://www.nagios.org/ncpa/getting-sta ... nt-install section.
Thank you so much for investigating this...it really simplifies my deployments.
Danny
That worked and exactly how I specified the path.
Did Jake provide that piece of information? It definitely needs to be added to the https://www.nagios.org/ncpa/getting-sta ... nt-install section.
Thank you so much for investigating this...it really simplifies my deployments.
Danny
Re: NCPA Silent Install
This is great! I am glad we were able to help!
Yes, Jake provided this piece of information. He asked me to test it. Initially, it didn't work for me, probably because I was wrapping the path in double quotes or/and not placing the "/D" parameter last. Then I saw this:
modified my command, and were able to successfully install NCPA on my D drive.
Let us know if it is OK to close this topic, and mark it as "resolved". Thank you!
Yes, Jake provided this piece of information. He asked me to test it. Initially, it didn't work for me, probably because I was wrapping the path in double quotes or/and not placing the "/D" parameter last. Then I saw this:
https://en.wikipedia.org/wiki/Nullsoft_ ... all_System/D sets the default installation directory. It must be the last parameter and must not contain any quotes. Only absolute paths are supported.
modified my command, and were able to successfully install NCPA on my D drive.
Let us know if it is OK to close this topic, and mark it as "resolved". Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA Silent Install
This request can be closed/locked...and thanks...Danny