Re: Shellexecute question



Mike Glazer wrote:
> I want to run a Shellexecute in my Delphi pascal program to run a
> registered software program. However, suppose I dont know in which
> directory the executable exists (usually in Program Files, but it may
> be located in dofferent places on different machines). How can
> specify the runnable software without knowing specifically the
> location of the relevant exe file? Mike Glazer

Most programs that require registration (most, not all) write a specific
registry key. Search the registry for that key, and you should be able to
track down the installation details. That might tell you where it is on
disk.

D.


.



Relevant Pages

  • Re: System Speed
    ... "Mike Glazer" wrote in message ... My Registry has a tell-tale value of $000003e8 in key ... Found, of course, by searching the Registry for "MHz". ...
    (comp.lang.pascal.delphi.misc)
  • Re: hijack this startup - can someone tell me the hack i am experienci
    ... | *Registry key not found* ... | *Registry value not found* ... | Autorun entries from Registry: ... | Intel82801 Audio Driver Install Service: ...
    (microsoft.public.windowsxp.security_admin)
  • Help with Outlook profile script
    ... I would like to have a script that checks if the correct Outlook profile is configured in the users profile. ... Outlook profiles are configured in the following registry key: ...
    (microsoft.public.scripting.vbscript)
  • Re: Cannot Delete Registry Key
    ... > to the permissions on the bad key, ... >> [[Incorrectly editing the registry may severely damage your system. ... >> take ownership of the registry key by the current owner. ... >> MS-MVP Windows Shell/User ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Risks in Disabling Macro Security
    ... The trusted location is set up by creating a registry key at the location: ... our company security setup rejects EMails with .mdb ...
    (microsoft.public.access.security)