Ghetto vCenter 4.0 Unattended Installer

This has been a while coming, and rather than wait longer to get some conditional logic into the script to allow you to use it on 32bit Windows i thought I’d just get it out now. So basically, what we have is a HTA file (with all functions written in JavaScript – none of that VBscript shite) that will prompt you for the requisite install parameters for an unattended vCenter 4.0 install, and then run the install including 32bit DSN creation on a 64bit box.

Now there are of course some caveats / prerequisites. This installer only works on 64bit Windows, and assumes you want to use Windows Authentication to the target SQL Server 2005 database which is ideally running on a remote host. Having said that however, by “only works on 64bit Windows” I simply mean that the hardcoded regsitry entries for the DSN will not write to the correct area of a 32bit OS. You could of course just change those values in the script in order to install on 32bit Windows. But since Microsoft is going 64bit only on the server, you might as well start doing the same now!

To see it in action, check out the video I have created. It goes through the prereqs in detail including some undocumented quirks that will catch you out if you just follow the VMware document that details the command line parameters. And yes, I do have an open support case with VMware to fix these little quirks that only appear to effect a commandline installation – if I run the GUI installer on the same box with the same configuration and same remote database, I don’t get either of the quirks detailed in the video.

So download this file, watch the video to get an idea of how it works and hax it up however you like (you could even put in some error handling that actually works if you feel so inclined). And shout outs to Will Lam, the ghetto scripting original gangsta! Wesssssiiiiiiiddde

Advertisements

One Response to “Ghetto vCenter 4.0 Unattended Installer”

  1. Wallsy Says:

    The first how-to video I have seen with an N.W.A. instrumental break!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: