473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 4022
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: joo | last post by:
Hi! I need to implement something similar to "Automatic Update" feature which we see in windows 2000. We need this support for our software, basically to provide the software update. How can I...
3
by: Kent P. Iler | last post by:
Hi, I've been using Visual Studio (not .Net) for many years (6+). I'm just now switching to VS.NET 2003. I am building my first project. In the past, I tend to work on my local machine...
1
by: toedipper | last post by:
Hello, PHP4 and MySql I have the code below, a mixture of handcoded and Dreamweaver genaratd php code. Basically it's an update record form - I load the values from a db and bind text boxes...
7
by: Alex | last post by:
Hi all, I am trying to install a java stored procedure via the windows development centre. The linux box is running 8.1 FP4 as is the windoze platform. If I am on the linux box i can install...
6
by: Sam-I-Am | last post by:
Hi There I have several websites that use shared assemblies in the GAC. When I try and update the GAC assemblies I get the following error: "The process cannot access the file because it is...
0
by: M. David Johnson | last post by:
I cannot get my OleDbDataAdapter to update my database table from my local dataset table. The Knowledge Base doesn't seem to help - see item 10 below. I have a Microsoft Access 2000 database...
5
by: Wayne Wengert | last post by:
I want to have my application (VB.NET) check a table on an SQL server to see if there is a newer version released and, if so, download and install the new version. I know how to setup the database...
8
by: robert | last post by:
Hello, I want to put (incrementally) changed/new files from a big file tree "directly,compressed and password-only-encrypted" to a remote backup server incrementally via FTP,SFTP or DAV.... At...
11
by: Jorgen Bodde | last post by:
Hi all, I want to provide my users the ability to download a repository from the web, and after that check for updates. I thought of a mechanism that could do that, but since there is patch and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.