jrsoftware.org // Jordan Russell's Software


-Inno Setup







-Contact Me

visitors since
Jan. 1998

Inno Setup Knowledge Base
Return to index

HOWTO: Start a program when Windows starts

Article Created: 2004-07-30 21:38 GMT by Jordan Russell
Last Updated: 2004-07-30 21:44 GMT by Jordan Russell

There are two different ways to accomplish this:

  1. Create a shortcut in the Startup group.
  2. Create a value in the Run key of the registry:
    Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "YourApplicationName"; ValueData: """{app}\YourApplicationName.exe"""; Flags: uninsdeletevalue
    Administrative privileges are needed to write to that key, so be sure this is in your [Setup] section:

Site contents Copyright © 1997-2012 Jordan Russell. All rights reserved.