Auto launch only works if app in system32 Bug?

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

From the XPe books, postings etc, in order to auto-launch
my application on startup, in its component's registry data
I should only have to add the line:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
plus the component's name in the Value name field and
REG_SZ in the format field.

The application component is correctly built in its own
sub-directory under "Program Files", and the .dlls in
another directory under that. However it doesn't auto
start. Under windows explorer I double-click the app and
it runs correctly.

The only thing that I'm not sure of is what to put in the
"Value Name" field. I have tried the component's name as
well as the app's .exe name with and without the .exe.
None worked.

Yesterday I discovered that if I copy the app and its .dlls
to the Windows\sytem32 directory it will auto-launch. Is
this a bug? If not what could be my problem?
 
Your application relies on default working folder that is assigned during
the application start.

You must change your application or find a way to change default working
folder for this app.

Regards,
Slobodan
 
Hi,

I simply put my app in the startup folder, and that worked
fine. That was during testing and may not be so nice for
end-users, but if you can live with it...

Maarten
 
Back
Top