Solved

VB.net "Portable App"

Posted on 2011-03-24
6
709 Views
Last Modified: 2012-05-11
Hello,

We need to develop a basic VB.net app for distribution to 100+ computers on a network.  We cannot assume the user has admin rights to their PC.  We can be sure that .NET will be installed.

How would we create a "Portable" version of our app, not requiring an install on the client's PC, but just an .exe that would launch immediately.  

Like I said, we can assume they already have .NET installed.

Thanks
0
Comment
Question by:compsol1993
6 Comments
 
LVL 25

Expert Comment

by:Luis Pérez
ID: 35208021
From what I know, if you're sure that right .Net Framework is installed, you can run your .exe without any problem.
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 35208080
if the correct version of the .Net framework is installed (along with the correct SP), your application will run even if not "installed" if all other requirements (like additional 3rd party components) are available.
0
 

Author Comment

by:compsol1993
ID: 35208097
Ok, I guess that would be the problem, the 3rd party components/references -- is there anyway to package them all up into an .exe?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 69

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 35208112
no but you can copy them into the same folder as the .exe. normally, you take everything that is in the bin folder and copy it to the user's computer
0
 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 35208332
If you're looking for a "zero footprint" EXE based on a .Net application, including 3rd party components, then you'd have to shell out some $$$ for something like ThinApp:
http://www.vmware.com/products/thinapp/

That would allow you to embed the 3rd party DLLs (and the applicable .Net framework portions itself) INSIDE the EXE making it "stand alone".  With that tool, you wouldn't even need the .Net framework on the target machine.

*Of course you are sacrificing file size in the process...
0
 
LVL 41

Expert Comment

by:graye
ID: 35243862
I'd suggest that you just create a location on a network share, and but the *.exe plus all of it's required DLL files into that directory.

Then you could just tell folks to go to that network share (such as \\SomeServer\SomeShare\SomeDir\Some.exe).   You could create a shortcut for them... or they could just navigate to the correct location and double-click on the *.exe file.

This way, you'd end up installing (er, well... just doing a copy) the application "just once" on a network drive.   Nothing needs to be installed on the individual PCs at all (unless you wanted to install a shortcut on their desktop).
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A short article about a problem I had getting the GPS LocationListener working.
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now