Capture installed directory

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I enabled my new creation "MyProg.exe" to start up at the second last screen
of the windows install process, as set up in VB.net.

My problem is, that MyProg.exe expects the current direcory to be the
directory into which it was copied by the install program, usually
Start>Progam files>Mycompany.>MyProgram

At the time the windows installe launched MyProgam, the current directory
was windows\system32
I can code my application to start in the default directory, but what if the
user choses another directory during the install.
Is this variable which is created during the install available to the run
time process where i can use it in real time to change the directory to the
installed location?

In the registtry perhaps??

joisey.
 
Back
Top