Installing a program from the web

G

Guest

Currently, when I want to install my program, I publish it to my computer and
then zip it to the web. This works well except many times on an upgrade, it
iwll not remove the old program as it loads the upgraded version as well.
What I would like to do is to send the build right to the web, which I have
done before, but when I run the .exe file, it does not find the other files
that are in the same directory and therefore, will not load. Any ideas on
what the problem is? Also, what is the trick to have an application check my
website for the availability of an upgrade? Thanks in advance.
 
M

Michael Nemtsev

Hello Mark,

M> Currently, when I want to install my program, I publish it to my
M> computer and then zip it to the web. This works well except many
M> times on an upgrade, it iwll not remove the old program as it loads
M> the upgraded version as well.

And who download, unzip & install it?

M> What I would like to do is to send the
M> build right to the web, which I have done before,

Only changes, not all app?

M> but when I run the .exe file

Run where?

M> , it does not find the other files that are in the same
M> directory and therefore, will not load.

Does the assembly probing set to the directory where is your assemblies located?

M> Any ideas on what the problem
M> is? Also, what is the trick to have an application check my website
M> for the availability of an upgrade? Thanks in advance.

I'd recommed to use Update Application blocks or ClickOnce

---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
G

Guest

I am using click once and it copies 3 files and a folder to the web site.
One of them is setup.exe which I thought would be the file you want to start
with but that nor any of them will succesfully load the program. Any ideas?
 
G

Guest

I thought of more. What should I do after I send the built file to the web?
How then is the program installed?
 

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