Home All Groups Group Topic Archive Search About

installing my app on another computer

Author
19 Jan 2006 4:22 PM
cj
I've written a very small simple program that uses one com object.  I've
set the configuration to Release and built the Solution.  Now I've heard
with .net (2003) that I can just copy the exe in the obj\release
directory to another (non-development) pc and use it.  I haven't tried
yet.  Of course I know there are many fancy installation programs that
can be made too--although I don't know how to make them.

Can someone tell me the "dummies" way of putting this program on another pc?

Author
19 Jan 2006 4:43 PM
Mattias Sjögren
>Can someone tell me the "dummies" way of putting this program on another pc?

1. Install the .NET framework.
2. Install the COM component you depend on.
3. Install any other dependencies you may have.
4. Copy the exeutables that make up your application. Hopefully it'll
run.


Mattias

--
Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Author
19 Jan 2006 4:51 PM
cj
1. when you say "install the .net framework"--what do you mean.  I
installed Visual Studio 2003 on my development pc.  I've never had a cd
or disk called .net framework and never installed any such thing before.

2. it seems unlikely I'd have to install that whole package I downloaded
to use the tool.  perhaps I need to ask that company what file or files
to copy, or what program needs to be run to "install the com component"

3. none that I know of

4. ok

Mattias Sjögren wrote:
Show quoteHide quote
>> Can someone tell me the "dummies" way of putting this program on another pc?
>
> 1. Install the .NET framework.
> 2. Install the COM component you depend on.
> 3. Install any other dependencies you may have.
> 4. Copy the exeutables that make up your application. Hopefully it'll
> run.
>
>
> Mattias
>
Author
19 Jan 2006 6:45 PM
pineda.andres
If you have the CD version of VS 2003 the .NET framework is in the CD
1. If you do not use to have it, you can download it from the microsoft
web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en

Be awared that VS 2003 use the 1.1 version of the .Net Framework.


Aj.
Author
19 Jan 2006 7:42 PM
cj
What ever happened to being able to copy an exe to another pc.  Some
things only get worse with time.  I'm trying to make an install program
now.  Just posted a question on that maybe someone can help me with.

pineda.and***@gmail.com wrote:
Show quoteHide quote
> If you have the CD version of VS 2003 the .NET framework is in the CD
> 1. If you do not use to have it, you can download it from the microsoft
> web site:
>
> http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en
>
> Be awared that VS 2003 use the 1.1 version of the .Net Framework.
>
>
> Aj.
>
Author
19 Jan 2006 9:23 PM
cj
I thought I'd bypass all the steps and follow an example in a book on vb
I got.  When I got to the end it says it doesn't install the .net
framework.  So it's overkill to use the install for my little program.
I'm surprised I hadn't heard of the need to install the framework on the
pc to run the program before now.  What do packaged software writers
doing these days.  I install lots of software by other programmers and
not one of them has asked me to install the .net framework or gave an
error that it was missing.  Is there some trick to having a program
install everything?  Lastly this reminds me of Java runtimes.  Would you
agree.  I have had problems with that.  One program wants MS Java
runtime and the other an old version of Sun java and another IBM's java.
  I hope at least .net framework 1.1 and whatever is after that co-exist
or that kinda puts a life span on a program.


pineda.and***@gmail.com wrote:
Show quoteHide quote
> If you have the CD version of VS 2003 the .NET framework is in the CD
> 1. If you do not use to have it, you can download it from the microsoft
> web site:
>
> http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en
>
> Be awared that VS 2003 use the 1.1 version of the .Net Framework.
>
>
> Aj.
>
Author
20 Jan 2006 3:14 AM
Luke Zhang [MSFT]
Hello,

.NET framework can be installed with your application, or install from
Windows Update. Also, I believe later version of Windows or service pack
will contain .NET framework  by default. So, .NET framework  installation
wouldn't be a problem.

And here is an article about how to create a Setup package by using Visual
Studio .NET

http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q307353

Hope this help,

Luke Zhang
Author
20 Jan 2006 1:41 PM
cj
according to the info I've found .net 2.0 framework is backward
compatible to 1.1 framework.  So why not just install 2.0 framework?



pineda.and***@gmail.com wrote:
Show quoteHide quote
> If you have the CD version of VS 2003 the .NET framework is in the CD
> 1. If you do not use to have it, you can download it from the microsoft
> web site:
>
> http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en
>
> Be awared that VS 2003 use the 1.1 version of the .Net Framework.
>
>
> Aj.
>
Author
23 Jan 2006 6:22 AM
Luke Zhang [MSFT]
We can only install .Net 2.0 cause of the backward compatibility. Anyway,
many system have installed .NET framework 1.1, like Windows server 2003.

Luke