471,348 Members | 1,298 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Update local C# exe file

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.

Feb 8 '06 #1
1 3799
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
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Mike L" wrote:
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.

Feb 9 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by joo | last post: by
3 posts views Thread by Kent P. Iler | last post: by
1 post views Thread by toedipper | last post: by
6 posts views Thread by Sam-I-Am | last post: by
5 posts views Thread by Wayne Wengert | last post: by
11 posts views Thread by Jorgen Bodde | last post: by
1 post views Thread by Ronak mishra | last post: by

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.