This project has moved and is read-only. For the latest updates, please go here.

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 5: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 5: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 6: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 3: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.

Mar 1, 2016 at 12:52 AM
Edited Mar 1, 2016 at 12:54 AM
Sure, make sense. Thanks for the input, brianlala.
Can be closed.