I want to install an EXE on a limited Windows account and be able to have it launched from other applications (probably using ShellExecute
Windows API calls) without the caller knowing the full path to the folder where the EXE is installed. My only options seem to be modifying the PATH or adding an entry to HKLM (SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
).
Is there any other way to allow my EXE to be launched by filename alone (e.g. 'app.exe') or am I out of luck? The App Paths registry trick would be desirable but seems to be an HKLM-only setting, and I won't have access to this key under a limited user account.