Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Setting my windows app as a startup program
 

Setting my windows app as a startup program

Hello,

I'm somewhat new to creating setup projects, and I'm trying to figure out how I can configure my setup project so that the windows installer will automatically set my program to run on startup.

Thanks!
sconno05  Sunday, February 24, 2008 5:07 PM
Use File System on Target Machine and add there User's Startup folder. (right click, Add Special Folder)
And place a link to your application in this folder.

boothwine  Monday, February 25, 2008 4:21 PM
Use File System on Target Machine and add there User's Startup folder. (right click, Add Special Folder)
And place a link to your application in this folder.

boothwine  Monday, February 25, 2008 4:21 PM

Tried this and I am having issues. I used add to add "project output" to the user's startup folder. However when I ran the project and looked in the startup folder it was not there. I changed from adding "project output" to adding file and added the applaunch.exe and run the project and it worked. However, there is a bluesquigly colored line under applaunch.exe when I look at the user's startup folder using the file system editor.

I looked and the file was installed in all users \start menu \ programs \ startup which is what I need but not what is supposed to happen. What should I be doing to get a program run at startup for all users?

BarberColman  Friday, July 17, 2009 12:05 PM
I'm not sure what that last comment means, "what I need but not what is supposed to happen." When I do this I do not see a blue line, so make sure the shortcut is valid (right click your exe and create it again maybe) and make sure you've got InstallAllUsers True, and you're doing an Everyone install. The User's Startup folder is the StartupFolder MSI folder property, same as CSIDL_COMMON_STARTUP, and that looks like what you want in an Everyone install.

Phil Wilson
PhilWilson  Friday, July 17, 2009 7:29 PM

You can use google to search for other answers

Custom Search

More Threads

• how to add O2003PIA.msi to the prerequesite of a vb.net 2005 app
• I'm getting "that assembly does not allow partially trusted callers" when I run my app?
• clickonce
• Bundling Java with MSI installer?
• ClickOnce & Custom Actions
• Application Updater Question
• The remote server returned an error: (504) Gateway Timeout.
• Deployed application breaks when it's auto-updated.
• Add-in for Outlook not displaying on other users PC´s.
• multiple exe