Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / February 2007

Tip: Looking for answers? Try searching our database.

Automatically launch application after installation complete

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ido.rebelrebel@gmail.com - 24 Jan 2007 09:17 GMT
In order to deploy an application written in C# using VS 2005 (and
obviously .Net 2.0) I have generated a setup and deployment project via
visual studio. In the user interface dialog I have created a
check-boxes dialog that one of them is launch application. how do I run
the application automatically when installation finish depending on
check-box?
thanks
Phil Wilson - 24 Jan 2007 21:14 GMT
Create an install custom action to launch the program conditioned on the
checkbox property. You'll need to make the custom action do an asynchronous
launch because if you just launch your app directly the MSI setup will wait
for your launched app to finish - that's just the way Visual Studio custom
actions work.
Signature

Phil Wilson
[Microsoft MVP Windows Installer]

> In order to deploy an application written in C# using VS 2005 (and
> obviously .Net 2.0) I have generated a setup and deployment project via
[quoted text clipped - 3 lines]
> check-box?
> thanks
J Reddy - 14 Feb 2007 21:48 GMT
You wrote, "You'll need to make the custom action do an asynchronous
launch ..."

How do I set the custom action to make the asynchronously?

The only properties I see available in the Custom Actions page is
(Name), Arguments, Condition, CustomActionData, InstallerClass and
Sourcepath.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.