Invoke or BeginInvoke cannot be called on a control until the window handle has been created Error when Installing SQL 2008

Issue

When installing SQL server 2008 or SQL 2008 R2 to manually an instance for I/NET, Vista or Continuum, sometimes an error "Invoke or BeginInvoke cannot be called on a control until the window handle has been created" will show up.

Product Line

TAC I/NET, TAC Vista, Andover Continuum, SmartStruxure Solution

Environment

SQL 2008 / SQL 2008 R2

Vista

I/NET

Continuum

SmartStruxure

Cause

This issue is happening because of a behavior change in .NET that is exposing an issue with SQL Setup User Interface (UI).

Resolution

Generally, if you just rerun the installer, it won't hit the issue again. If this can't help, just manually create a C:\temp folder and it will work fine.