473,327 Members | 1,920 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Simple installation of vb.net apps....

sam
I use vb.net for in-house development of apps. Many of these apps are
small in size, with few if any referenced dlls. I'd like my apps to be
*totally* self-contained--that is, I want to be able to drag and drop
the contents of the app's directory onto a new machine and have it run
*with no installation procedures*.

In the past (vb.net 2003) this seemed relatively reliable, assuming that
the dotnet framework was in place and that any referenced dlls or
third-party components had their CopyLocal property set to TRUE. Since
switching to vb.net 2006, this does not always seem to be the case. Apps
that I have ported from 2003 to 2006, fail to run with errors like "The
app encountered a problem....blah blah send a report to microsoft".

Is there a 100% accurate manner of making an app totally self-contained
in that it will run on a machine with the (proper) dotnet framework
installed? If not, is there a manner in which a more accurate error
report can be generated on a (non-developer) machine with a bit more
useful information--such as exactly what is missing?
Apr 6 '06 #1
4 1037

"sam" <sp*******@gtnincs.com> wrote in message
news:e9**************@TK2MSFTNGP05.phx.gbl...
I use vb.net for in-house development of apps. Many of these apps are small
in size, with few if any referenced dlls. I'd like my apps to be *totally*
self-contained--that is, I want to be able to drag and drop the contents of
the app's directory onto a new machine and have it run *with no
installation procedures*.

In the past (vb.net 2003) this seemed relatively reliable, assuming that
the dotnet framework was in place and that any referenced dlls or
third-party components had their CopyLocal property set to TRUE. Since
switching to vb.net 2006, this does not always seem to be the case. Apps
that I have ported from 2003 to 2006, fail to run with errors like "The
app encountered a problem....blah blah send a report to microsoft".

Is there a 100% accurate manner of making an app totally self-contained in
that it will run on a machine with the (proper) dotnet framework
installed? If not, is there a manner in which a more accurate error report
can be generated on a (non-developer) machine with a bit more useful
information--such as exactly what is missing?


ClickOnce
http://msdn.microsoft.com/smartclien...clickonce.aspx

David
Apr 6 '06 #2
sam
David Browne wrote:
ClickOnce
http://msdn.microsoft.com/smartclien...clickonce.aspx

Unfortunately, clickonce performs an installation per user
(installations being what I'm hoping to avoid in the first place). In
the past, I have placed an app (in it's folder with it's references and
dependencies) on a local machine or even on a linux server and both ran
fine from a windows box.

It only seems to have gotten more unpredictable with 2005 apps. Hence me
need to be able to create a folder containing ALL required materials for
the app.
Apr 7 '06 #3

"sam" <sp*******@gtnincs.com> wrote in message
news:e$****************@TK2MSFTNGP05.phx.gbl...
David Browne wrote:
ClickOnce
http://msdn.microsoft.com/smartclien...clickonce.aspx

Unfortunately, clickonce performs an installation per user (installations
being what I'm hoping to avoid in the first place). In the past, I have
placed an app (in it's folder with it's references and dependencies) on a
local machine or even on a linux server and both ran fine from a windows
box.

It only seems to have gotten more unpredictable with 2005 apps. Hence me
need to be able to create a folder containing ALL required materials for
the app.


Well nothing has really changed in assembly loading. If you have the .NET
framework and you copy all the dependant assemblies to the application's
local directory it will all run fine.

David
Apr 7 '06 #4
sam
David Browne wrote:
\
Well nothing has really changed in assembly loading. If you have the .NET
framework and you copy all the dependant assemblies to the application's
local directory it will all run fine.

I suppose therein lies the problem--how to determine 100% what the app
is dependent upon.
Apr 8 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ruby Tuesday | last post by:
Hi, perhaps some php guru can shed some lite to my limited knowledge. My PHP installation directory is in: c:\apps\php\php4 cli/ dlls/ extensions/ mibs/ openssl/
3
by: Ryno Rijnsburger | last post by:
I am busy packaging our product as a standard Setup project in VS.NET that uses a bunch of merge modules (basically, a merge module for every key infrastructure component in our system). Part...
9
by: Andy Leszczynski | last post by:
Hi, I run Mandrake 10.0 with python 2.3 installed by default. I want to keep it as it is but need another, very customized Python installation based of 2.3 as well. I would prefer to have it the...
2
by: Philippe PERON | last post by:
Hello, An ACCESS application (mde) is installed on a computer looking at an mdb file on the same machine. As far as I know the application is installed thru a Wise Installer script. The...
2
by: Larry Eaton | last post by:
According to MSDN there is MAPI example code in a file SIMPLE.CLI I cannot locate this file. Can anyone direct me to the location of this? It doesn't appear to be anywhere in...
5
by: Jim | last post by:
Please don't laugh--I'm serious about this-- I finally got around to installing the copy of VBNet I bought last summer. I didn't see any installation instructions in the box--just a bunch of...
0
by: Pavan | last post by:
I have my .NET code published in two servers http://server1/<ApplicationName>/Publish.htm and http://server2/<ApplicationName>/Publish.htm, and if i open IE on the client machine and type the link...
3
by: robert | last post by:
As soon as I install wxPython on a Py2.3.5, my win32ui / win32gui apps freak out. buttons in dialogs are magically pressed. backgrounds of dialogs are colored wrong... this is with current...
3
by: Rick Muller | last post by:
I'd like to use my webserver to distribute some simple python physics apps. Ideally, I'd like to use some simple form to input a few pieces of data, call a python program, and return some image...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.