How to bypass "proceed if you know that #SharePoint is already installed, or Ctrl-C to exit" "y" message?

Topics: General Questions
Feb 29, 2016 at 4:23 AM
We created a few VMs out of Azure templates with pre-installed SP2013.
Once running AutoSPInstaller the following message pops up:
"proceed if you know that #SharePoint is already installed, or Ctrl-C to exit" "y" message?
Check the source code, can't see any way to by pass that message, so that the provision process would be fully automated.

What's the best way to handle that?
Feb 29, 2016 at 4:52 AM
The code is in AutoSPInstallerMain.ps1
Pause "proceed if you know that SharePoint is already installed, or Ctrl-C to exit" "y"
You could bypass in many way, simplest of which is to comment out the "Pause" statement.
Feb 29, 2016 at 5:34 AM
Thanks josephsaad,

Of course the one can modify the source code, yet it will be a custom build and will be overwritten with the next AutoSPInstaller update. Will go with commenting out that line, that'll do.

What are the other ways to bypass it? The hardest ways aiming to get automated, unattended one-click install? :)
Feb 29, 2016 at 2:35 PM
IMO your Azure VM templates should be grabbing the script and all dependencies from a shared location anyhow - so that when you update the script, XML etc. you don't need to update your VM templates), so why not just drop the SP2013 bits in that share, in a structure AutoSPInstaller expects? That way the bits will always be found, no need to modify the script, comment out the message etc. or anything.

Feb 29, 2016 at 11:52 PM
Edited Feb 29, 2016 at 11:54 PM
Sure, make sense. Thanks for the input, brianlala.
Can be closed.