Quantcast
Channel: VMware Communities : Unanswered Discussions - vCenter™ Server
Viewing all articles
Browse latest Browse all 3506

Unattended vCenter Installation - INSTALLDIR problems

$
0
0

I have been using the published PDF that gives assistance on performing unattended vCenter Server installs: http://www.vmware.com/files/pdf/techpaper/vcenter_server_cmdline_install.pdf

 

I have this mostly working, but one part is not working, and I think I've nailed it down to the INSTALLDIR switch for the various MSI files.

 

For example, this command doesn't work (it brings up the msi help window):

$arguments = ' /qr ADMINPASSWORD=' + $SSOpasswd + ' DEPLOYMODE=FIRSTDOMAIN SSO_SITE=' + $SSOsite + ' INSTALLDIR=' + $InstallDIR /L*v D:\VCS-INSTALL-LOGS\ssoinstall.log'

Start-Process -FilePath 'D:\Installs\vCS\VMware-SSO-Service.msi' -ArgumentList $arguments

 

However, simply removing the INSTALLDIR switch does allow for the installation to occur, e.g.

$arguments = ' /qr ADMINPASSWORD=' + $SSOpasswd + ' DEPLOYMODE=FIRSTDOMAIN SSO_SITE=' + $SSOsite + ' /L*v D:\VCS-INSTALL-LOGS\ssoinstall.log'

Start-Process -FilePath 'D:\Installs\vCS\VMware-SSO-Service.msi' -ArgumentList $arguments

 

The PDF does suggest that this switch is available.  In addition, I have tested that switch in place with no spaces and no double-quotes, so it doesn't appear to be a double-quotes/escape character problem. I am also using double-quotes and escape characters elsewhere for passwords etc. so it shouldn't be that either..

 

I've confirmed it's a problem (for me at least) for:

SSO

Web Client

Inventory Service

vCenter Server

ESXi Dump Collector

Syslog Collector

 

Any ideas?

I'm trying this using vCenter Server 5.5 Update 2 installing onto Server 2012 R2 using PowerShell (4).

 

Thanks,

Tom


Viewing all articles
Browse latest Browse all 3506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>