Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 692
  • Last Modified:

How to deploy application to another computer

Hello Everyone

I have written an application using VB Express 2010 on one of my laptops running Vista, and I want to use this application on another laptop running XP.

And I am not quite sure how to get the application on to the XP laptop.

Any help would be appreciated.

Thank you

Karl
0
KarlTheHopeless
Asked:
KarlTheHopeless
2 Solutions
 
larkvaleCommented:
you can either copy all the files to the XP machine or else you can create a setup project and use it to install the application on the target machine

1. Copy files
copy all the files from your bin/Debug ot bin/Release folder to the XP machine and run the exe from that folder

note that you must also include any other DLLs that your app uses

an easy way to do this is to select the assembly in References in the solution Explorer and set its Local Copy property to True which will always include the referenced dll in your bin/Release or bin/Debug folder

2. Setup Project
In you solution, create a new project, select the Setup project template, and include the output of your application in it. then build the setup project, it will create a msi file which you can run on the other PC to install your application there

0
 
BalkaniteCommented:
Hi,

Building on what LarkVale has mentioned you can use Visual Studio 2010 to deploy applications,

Please see the below Walkthrough that may be of some assistance.

I hope this has helped with your question

Link: http://msdn.microsoft.com/en-us/library/k3bb4tfd.aspx

Kind Regards

Balkanite
0
 
KarlTheHopelessAuthor Commented:
Done!

Thank you.

In the end I chose Larvale's copy files solution, because it seemed easier for me to understand.

I have now managed to install on my XP laptop - though, my goodness, it runs very slowly.

But, at least it works!
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now