Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi 2010 AutoRun Tab Error

Many versions of Delphi including Delphi 2010 display" Error executing 'D:\ProgramData{BBD31133-40F8-4B57-9BA6-DB76C03D153B}\Setup.exe': The parameter is incorrect in the AutoRun Tab."

What does it mean and how do you eliminate it?

like image 554
Bill Miller Avatar asked Sep 03 '09 22:09

Bill Miller


2 Answers

You need to tell Delphi to not check for updates upon startup - I believe you have to do that in the installer (doing a repair should be good enough, I think), or go into the registry and change it manually. The alternative is running the IDE as an administrator.

It's a conflict between the privileges Vista believes the update checker requires (due to the filename, apparently) and the privileges the IDE has, causing UAC to prevent the executable from being launched automatically (unfortunately, the error message returned doesn't really make much sense in the context).

like image 158
Michael Madsen Avatar answered Oct 30 '22 17:10

Michael Madsen


Addendum to @michaels's answer:

Open regedit.exe and navigate to the following registry key:

HKEY_CURRENT_USER\Software\CodeGear\BDS\7.0\AutoRun\UpdateCheck

Find the Name ProgramToRun and simply modify and set the value to an empty string.

like image 36
Server Overflow Avatar answered Oct 30 '22 18:10

Server Overflow