Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic .NET (http://www.programmingforums.org/forum19.html)
-   -   Deploy VB Application (http://www.programmingforums.org/showthread.php?t=14963)

praveensamra Jan 17th, 2008 6:20 AM

Deploy VB Application
 
:

I need to deploy a visual basic application that has been created in Visual Studio 2005.

I need to deploy the application so it will automatically create a short cut on the users desktop.

Please can you help


hollystyles Jan 17th, 2008 6:38 AM

Re: Deploy VB Application
 
Right click the solution in solution explorer, choose add -> New Project... choose a setup project. Build the set-up project it will output a setup.exe and an msi file.

Google for tutorials on setup projects for more information, there's quite a lot you can do with them.

praveensamra Jan 17th, 2008 6:48 AM

Re: Deploy VB Application
 
:

Thanks for your reply,

I have tried to follow you directions but still have problems, i right click on solutions explorer and i select 'add' but there no New Project there is a 'new ideas' 


I create a application using visual studios 2005 - Microsoft Visual Basic 2008 Express Edition.

I have been using the click once to deploy the application but found that i when the users install the application, it doesn't create a short cut onto there desktop.


hollystyles Jan 17th, 2008 2:48 PM

Re: Deploy VB Application
 
Quote:

I create a application using visual studios 2005 - Microsoft Visual Basic 2008 Express Edition.
Are you using 2005 Express Edition or 2008 ?

Quote:

I have tried to follow you directions but still have problems, i right click on solutions explorer and i select 'add' but there no New Project there is a 'new ideas'
You must right click on the actual Solution node at the top of the project tree, not just any where in solution explorer.

praveensamra Jan 18th, 2008 3:55 AM

Re: Deploy VB Application
 
Im using 2005 Express Edition.

Quote:

You must right click on the actual Solution node at the top of the project tree, not just any where in solution explorer.
I did a right click on the project name in the Solution tree.

hollystyles Jan 18th, 2008 4:16 AM

Re: Deploy VB Application
 
Ok it seems the Express editions of Visual Studio don't include setup projects. Only the click once deployment technology which you can see how to use here:

http://msdn2.microsoft.com/en-gb/vstudio/aa718413.aspx

It states that this method will add a shortcut to the users program menu.

praveensamra Jan 18th, 2008 6:01 AM

Re: Deploy VB Application
 
Quote:

Originally Posted by hollystyles (Post 139823)
It states that this method will add a shortcut to the users program menu.

Is there a way of doing it so it will also add a shortcut to the users desktop

hollystyles Jan 18th, 2008 6:07 AM

Re: Deploy VB Application
 
It doesn't say and I don't know without trying it for myself which I might do one evening soon. If there isn't a way to do it using 'Click once' you could do it in your code. Keep a setting in the app.config file, when the app first starts you can read the setting, if it's false you could use a dialog box to ask the user if they want to make a desktop shortcut or not. Do the necessary according to their choice and set the config setting to true so the dialog doesn't show anymore.

hollystyles Jan 18th, 2008 6:10 AM

Re: Deploy VB Application
 
There are third party installer tools you can get and use to make set-up programs too. Like Inno which is perhaps the most well known.


All times are GMT -5. The time now is 9:06 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC