Hi Joe,
As for launching a certain application after the installation completed,
the VS IDE's setup project dosn't provide direct support on this since VS's
setup project only expose part of all the windows installer sdk's
functionality. To do this, the windows installer sdk (within platform sdk)
provide the Custom Action which help launch a certain program at the end of
the setup .... Here is the msdn reference on it:
#Using a Custom Action to Launch an Installed File at the End of the
Installation
http://msdn.microsoft.com/library/en...om_action_to_l
aunch_an_installed_file_at_the_end_of_the_installa tion.asp?frame=true
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Joe" <jb*******@noemail.noemail>
| References: <e2**************@TK2MSFTNGP09.phx.gbl>
<11*********************@g49g2000cwa.googlegroups. com>
| Subject: Re: Launch application after setup is complete
| Date: Sun, 18 Dec 2005 15:12:58 -0500
| Lines: 37
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <eY**************@TK2MSFTNGP14.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: 69.37.58.70.adsl.snet.net 69.37.58.70
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.languages.csharp:372601
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Parul,
|
| I don't get it...
|
| I go to Custom Actions and right click on Install and choose to Add
Custom
| Action
| I select the dll that has my custom action. I have a method called
| LaunchApplication in this dll.
| I go to the properties for this new action and set:
| Condition mycheckboxVariable
| CustomActionData /appName = [TARGETDIR]\myappname.exe
| EntryPoint LaunchApplication
| InstallerClass false
|
|
| This way the installer complains it can't find the entry point. My class
| inherits from Installer.
|
| If I add my exe as the Custom Action how does the installer know what to
do?
| Also, I didn't see any Installer property. I only see an InstallerClass
one.
|
| -Joe
|
| "ABCL" <oh****@hotmail.com> wrote in message
| news:11*********************@g49g2000cwa.googlegro ups.com...
| > Create Custom Action,
| > in Install, add primary output of the application( that you want to
| > launch after setup is complete) .
| > Right click on it and Set property "Installer --> false" in Property
| > window.
| > This will launch your application
| > I hope I will work
| >
| > Parul
| >
|
|
|