Setup and Deployment project autostart

S

Sonu

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
 
S

SneeKeeFahk

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/library/d9k65z2d(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];
 
S

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



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/library/d9k65z2d(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 said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top