How to perform a silent install of Mobile Server supplying a BasicUser for VMS communication.

I am attempting to perform a silent install of the Mobile Server (2023 R2) and have a Basic User set up that is part of a Role that has Connect, Read, and Edit permissions for the Management Server.

I have attempted to install the Mobile Server using the following command:

C:\Users\Public\Desktop\Milestone XProtect Mobile Server 2023 R2 Installer.exe --quiet --parameters="MANAGEMENTSERVERURI:[http://xprotect-mgmt.larsenwh.com/]:MOSVMSUSEBASICUSER:true:MOSVMSUSER:XProtectMobileUser:MOSVMSPASSWORD:Milestone1234!"

I have also tried using the hashed/encrypted string for the password that is output in the installer log when I installed manually.

Here is the error from the installer.log file:

1/23/2024 12:15:37 AM	Error	An error occurred: 'FaultException`1: VMO61008: You do not have sufficient permissions to complete the operation.'. Error details: 
Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
 
Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at VideoOS.WebService.Common.ServerCommandService.IServerCommandService.Login(Guid instanceId, String currentToken)
   at VideoOS.WebService.Common.ServerCommandService.ServerCommandServiceClient.Login(Guid instanceId, String currentToken)
   at VideoOS.WebService.Common.ServerCommandService.ServerCommandServiceProxy.<>c__DisplayClass21_0.<VideoOS.WebService.Common.ServerCommandService.IServerCommandServiceProxy.Login>b__0(IServerCommandService c)
   at VideoOS.WebService.Common.Framework.ManagerBase`2.CallWithRetry[TResult](Func`2 call, Func`2 manualErrorHandler)
   at VideoOS.Installer.Common.Utilities.ServerHelper.TryLoginToCorporate(Uri managementServerAddress, Uri identityServerAddress, ICredentials credentials)

I have also attached the entire installer.log file.

I also performed a manual (non-quiet) installation directly after my attempts at performing a quiet install, and the installer completed successfully.

How can I provide a password to the installer in quiet mode?

As this is not related to software development with the MIP SDK, which is the focus of this forum, please ask again in the support community, you should get better help from the partners using the support community.

https://supportcommunity.milestonesys.com

I totally agree with what Rie wrote - it’s better to ask in the support community.

From a developer perspective this seems correct.

I just gave it a try and Mobile server ended up working fine

"Milestone XProtect Mobile Server 2023 R3 Installer.exe" --quiet --parameters="MANAGEMENTSERVERURI:[https://bgvm-nid-07.ta.rd.local/]:MOSVMSUSEBASICUSER:true:MOSVMSUSER:basicusr:MOSVMSPASSWORD:M1le$t0n3M0b1l3"