Registry
(1)
Setup
(1)
Project
(1)
Application
(1)
HKEY_LOCAL_MACHINE
(1)
SOFTWARE
(1)
Microsoft
(1)
Windows
(1)

Add App to Run registry key at setup

Asked By PedroGonalve
17-Nov-06 06:17 AM
Hi,

I'm making a setup project with VS2005 and I need to add my application to
the registry key
to make my aplication start when the windows start.

I need this because I want my application to run as a kiosk, so I don't want
that the user has the oportunity to use other applications or disable the
auto start of my application.

The other option is to add a shortcut in the User's Startup Folder. I
tryied. But the problem is that the user as lot of time before the
application start to mess with the system, inclusive to remove my application
from this folder.

How can I do it?

Thanks,
Pedro Gonçalves

If you check the top of the solution explorer window when you select your

Asked By WilliamSulliva
20-Nov-06 09:37 AM
If you check the top of the solution explorer window when you select your
startup project, you will see a number of icons.  One of the icons is the
familiar registry icon.  You can click on it to open the registry editor.
But what I think you want is to replace explorer.exe as the "shell" for a
particular user.  You'll need to do a search to find out how to do this.
Essentially, you have to tell Windows that you want your program to be the
shell program for the user.  Once the user logs on, Windows will run your
program.  Explorer will not run, so the user can't alt-tab out and mess with
the system.

Thanks William.But how do I make that change of the explorer?

Asked By PedroGonalve
23-Nov-06 04:57 AM
Thanks William.

But how do I make that change of the explorer? Is it a key in the registry?
Where should I search for information about how to make that substitution of
the explorer with my application?

Regards,
Pedro Gonçalves
Post Question To EggHeadCafe