Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
4.5.0
-
None
-
Windows
Description
Also raised here: CBD-1832, please feel free to close one as duplicate as needed.
Summary: The Couchbase installer, even when running unattended (per docs: http://developer.couchbase.com/documentation/server/4.5/install/windows-install-unattended.html) will still pop a URL to the couchbase console (e.g. http://localhost:8091). This could cause issues where this behavior is not expected. Specifically when trying to create a Chocolately NuGet package: https://chocolatey.org/packages/couchbase-community/4.0.0
Repro is to run according to docs (link above).
Expected: No website popup (or maybe a separate flag to silence the website popup)
Actual: Website pops up no matter what.
This issue seems specific to Windows and is an issue when using https://chocolatey.org/.
From what I can tell, the popup is triggered from here https://github.com/couchbase/voltron/blob/master/win/server/Script%20Files/Setup.Rul#L1324:
if (MODE !=SILENTMODE && !PortTaken(szPort)) then
|
MessageBox("Looks like Couchbase Server doesn't respond in time.\n" +
|
"Please manually refresh browser and wait for the Admin Console to fully start.",
|
WARNING);
|
endif;
|
LaunchBrowser(szSite);
|
This is in the 'OnFirstUIAfter' function, which is triggered after the file transfer has completed (this is part of the InstallShield framework I think).
I think that the LaunchBrowser command should be within the if statement checking if it is in silent mode so that it doesn't pop up if in silent mode.