installing my app on another computer

C

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?
 
M

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
 
C

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
 
C

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.
 
C

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.
 
L

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
 
C

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?
 
L

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top