how to put myfile.exe in windows path
I'm using inno setup to deploy my vb program, let's call it "myapp.exe ".
It works fine.
[but]
I want to be able to just type myapp.exe from the command line and have it execute my application.
The way it works now is you have to enter the entire path to myapp.exe in order for windows to find it.
Does anyone know how to get the install to put the path to myapp in windows' "Path"?
(I'm assuming that's what needs to be done)
Thanks
Oh, yeah. Inno supports setting environment variables
You can update the path using the registry on NT/2K/XP, and you can edit the Autoexec.bat file to do it on 95/98/ME.
For XP, just add your install dir to the end of this reg key (DON'T overwrite the data - just append to it!):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
See Innos site for further details:
http://www.jrsoftware.org/isfaq.php#env
http://www.jrsoftware.org/ishowto.phtml?a=custom
Does that help?