@ECHO OFF CLS ECHO We will run a Microsoft Net Framework repair utility ECHO if it is present on this computer. PAUSE CLS ECHO WARNING! ********************************************************************* ECHO Proceed ONLY if you have been instructed by an IntegraLink polling specialist ECHO to use this procedure. If this is not the case, do not continue. ECHO WARNING! ********************************************************************* ECHO Press CTRL-C to stop this utility. Otherwise ... PAUSE CLS REM Continue only if we have the right directory IF NOT EXIST %windir%\microsoft.net\framework\v2.0.50727\installutil.exe GOTO NOGOOD IF NOT EXIST "%ProgramFiles%\integralink\integralink smart agent\integralinksmartagent.exe" GOTO x86 %windir%\microsoft.net\framework\v2.0.50727\installutil "%ProgramFiles%\integralink\integralink smart agent\integralinksmartagent.exe" GOTO END :NOGOOD ECHO The Microsoft Net Framework utility needed is not present. An ECHO IntegraLink technician will need to connect to this computer. :x86 %windir%\microsoft.net\framework\v2.0.50727\installutil "%ProgramFiles(x86)%\integralink\integralink smart agent\integralinksmartagent.exe" GOTO END :END PAUSE