Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 491215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T01:59:18+00:00 2026-05-13T01:59:18+00:00

Launching your app automatically immediately after install is suprisingly tricky. The advice that’s out

  • 0

Launching your app automatically immediately after install is suprisingly tricky. The advice that’s out there if you google the problem is varied but most of it unsatisfactory.

We’re using the built in Setup & Deployment project in Visual Studio.

So, how to do it?

What doesn’t work:
The simplest solution suggested is to add your app as a Custom Action (at Commit). InstallerClass property has to be set to false. Sure this fires up your app during the install, but the installer is then suspended while your app runs. No good at all.

What sort of works (not in Vista/Win7?):
An idea here gets round the above problem by asking a .vbs to kick your app off. This actually works in some environments. But seems mighty clunky.

What we probably need to do:
More sophisticated suggestions seem to involve building our own InstallerClass. Some useful code samples out there but none of them spell out how and where the InstallerClass fits into our sln. Does it get compiled into an existing project .exe or .dll or does it need its own standalone project or does it go in the setup project. Or something else entirely?

What we’d rather not try at this stage:
Moving to a different installer Inno, Wix etc

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T01:59:18+00:00Added an answer on May 13, 2026 at 1:59 am

    Found this sister question with a 7-vote answer which basically points to this CodeProject sample. The CodeProject answer describes in detail (both C# & VB), and with screenshots, how to implement the InstallerClass.

    We have a more complex .sln than the sample, but we slotted the InstallerClass into what seemed the most logical of the subprojects and it worked fine.

    Also, found it was necessary to run the installation from the setup.exe not the .msi to ensure running with the right privileges in Vista/7.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

after launching your app on google app engine. you can use the 'logs' page
After Google discontinued its support of Android App Inventor on December 31st 2011, it
thanks for all your advice I took out of this forum over the last
When launching a thread or a process in .NET or Java, is there a
After launching our first public alpha release of http://wwww.trademango.com which is built with Play
Upon launching a sinatra app, I get the following error message: /home/matt/.rvm/gems/ruby-1.9.3-p125/gems/backports-2.5.1/lib/backports/tools.rb:310:in `require': cannot
We are launching a site that is media heavy and looking at using silverlight,
Can you create a .NET 4 version of your app for testing was the
Maybe you all know that .app bundle is easily accessible for reading via such
I have OpenFeint integrated, compiling and launching when my app launches. Following the OF

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.