Update local C# exe file

G

Guest

How do I push out a new version of my C# exe file to all the client
computers? The client computers are in my local area network, and I have
administrator rights. Currently I walk over to each computer and copy the
exe file off the fileserver and copy the exe to the client's local hard
drive.

The method I use for my VB 6.0 exe, works a lot better. I leave the VB 6.0
exe on the fileserver and create a shortcut from the client computer to the
exe on the fileserver. Whenever I update the VB 6.0 exe, I replace the exe on
the fileserver with the new exe. This method works for VB 6.0 exe but not
for VS 2005.

Even when I run CasPol.exe and it says, "Added union code group with '-url'
membership condition to the Machine level. Success". When I run the C# exe
from the fileserver, I still get error message, "Application attempted to
perform an operation not allowed by the security policy."

So, either I want to know how to send the C# exe to each local client
computer, or a fix to the security policy error.
 
G

Guest

Mike,
It sounds like you need to take a look at ClickOnce. The MSDN documentation
on it is reasonably good, and there are several articles on it, including one
I wrote.
You can find it on the Build / Publish menu.
Peter
 

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