Graceful restart after installation

UncleRonin

Well-known member
Joined
Feb 28, 2006
Messages
230
Location
South Africa
Programming Experience
5-10
After installing an application I'd like to prompt the user to restart the computer. I've checked online and here in the forums but I haven't been able to find anything for this yet.

Any ideas?
 
I've been looking for months now, and also a way to start the process (under the user's account not SYSTEM) after installation...

Pass the install directory (via custom actions) to an installer class (dll)...

You need a setup project for this (requires VS Professional)

NOTE: This does not work with ClickOnce installers...

Cheers
 
Thanks, I know the code, but it doesn't look nice when your installing, it shuts down before your application finishes installing

Cheers
Icyculyr
 
Back
Top