[Code] procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); var xResultCode: Integer; begin Exec(ExpandConstant('{code:VSNET2008_PATH|}\devenv.exe'), '/setup', '', SW_HIDE, ewWaitUntilTerminated, xResultCode); if xResultCode <> 0 then begin RaiseException('An error occurred while unregistering with Visual Studio!'); end; end;