Question Help with installer

Billie1123

Member
Joined
Oct 24, 2009
Messages
11
Programming Experience
Beginner
Good.
I have a WinForm project finished, and I've added a setup project with wizard.

I wanted to modify the installer to achieve four main things in this order of priority:

1 - That the application to start automatically after logging in to the system
2 - That the application starts immediately after the installer closed.
3 - To display a shortcut on the desktop
4 - That the system's default browser open a specific web site.

-------------------------------------------------- -------------

1 - To get you started when you turn the system:

I had thought about adding a registry entry. In the window installer REGISTER I have to create the key path HKLM \ Software \ Microsoft \ Windows \ CurrentVersion \ Run and then a string value with the name of the program. The value of this entry I have to put the executable, but this address varies depending on the computer, in fact the user can select during installation. I just have to know how to give the value of that path includes the name of the executable.

2 - To get you started after closing I have no idea.

3 - Neither do I know how to create the shortcut to the desktop.

4 - I suppose to open the browser you could use something like this:

Dim WB As New System.Diagnostics.Process
WB.StartInfo.FileName = "URL"

I do not know how to do it when you close the installer.


I hope you can help me with this, is all I need to finish my application, and I've searched all over the Internet and have not found much information on installation projects.

A greeting and thank you very much!
 
Back
Top