467,915 Members | 1,116 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,915 developers. It's quick & easy.

Setup and Deployment project autostart

Hi All -
I'm trying to create a setup project using the Setup deployment project
option from Visual Studio 05.
Everything works great except I cannot find how start the application once
user click on finish installing the application.

Do you need to write a script for that or is it built in somewhere?

Any help would be great.

Thanks

Jun 28 '08 #1
  • viewed: 3406
Share:
3 Replies
Your going to need to use a Custom Action. They are pretty simple and
straight forward once you do it once or twice.
Check out this tutorial on custom actions and im sure when your done reading
/ trying it out you will be able to do what you want.

http://msdn.microsoft.com/en-us/libr...2d(VS.80).aspx

- Adam

P.S

You are probably going to have to add a checkbox dialog to the installer to
promt the user to start the app after installation or not.
You will have to use Context Paramaters to check if the user has check the
box or not.

VB.NET
Context.Parameters([CheckboxName])

C#
Context.Parameters[Checkbox Name];
"Sonu" <re*********@hotmail.comwrote in message
news:1E**********************************@microsof t.com...
Hi All -
I'm trying to create a setup project using the Setup deployment project
option from Visual Studio 05.
Everything works great except I cannot find how start the application once
user click on finish installing the application.

Do you need to write a script for that or is it built in somewhere?

Any help would be great.

Thanks
Jun 28 '08 #2
SK
Thank you -- that works great.
How about checking the application updates? I know one can do using one
click but how do I do that using Setup deployment project?

Thanks

On 6/28/08 7:45 PM, in article #t**************@TK2MSFTNGP02.phx.gbl,
"SneeKeeFahk" <NO****@DONTSPAM.comwrote:
Your going to need to use a Custom Action. They are pretty simple and
straight forward once you do it once or twice.
Check out this tutorial on custom actions and im sure when your done reading
/ trying it out you will be able to do what you want.

http://msdn.microsoft.com/en-us/libr...2d(VS.80).aspx

- Adam

P.S

You are probably going to have to add a checkbox dialog to the installer to
promt the user to start the app after installation or not.
You will have to use Context Paramaters to check if the user has check the
box or not.

VB.NET
Context.Parameters([CheckboxName])

C#
Context.Parameters[Checkbox Name];
"Sonu" <re*********@hotmail.comwrote in message
news:1E**********************************@microsof t.com...
>Hi All -
I'm trying to create a setup project using the Setup deployment project
option from Visual Studio 05.
Everything works great except I cannot find how start the application once
user click on finish installing the application.

Do you need to write a script for that or is it built in somewhere?

Any help would be great.

Thanks
Jun 29 '08 #3
I have not used ClickOnce deployment so I wont be able to offer any help on
that front.
However you might want to check out this section of the MSDN.

http://msdn.microsoft.com/en-us/libr...3d(VS.80).aspx

- Adam

"SK" <re*********@hotmail.comwrote in message
news:C4***********************@hotmail.com...
Thank you -- that works great.
How about checking the application updates? I know one can do using one
click but how do I do that using Setup deployment project?

Thanks
Jun 29 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Mika M | last post: by
7 posts views Thread by dhussong | last post: by
6 posts views Thread by andrewbb | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.