473,406 Members | 2,390 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,406 software developers and data experts.

Update other files with ClickOne

Hi all,

Using the ClickOnce tool in VS 2005 Express, I wonder if I can update
other files then just the main executable. My application uses an xml
file that changes frequently, independently of the application version.
Can this be done with ClickOnce or should I use something like the
Application Block Updater to do this task?

Thanks in advance,
Frederik

Nov 17 '05 #1
1 1379
Frederik,

You should be able to add the file to your project, and then when you
publish the project, any changes you make to the file will be pushed to the
publish location (and subsequently pushed to the client).

If you are doing this manually, then you can add the following XML to
the manifest, and it should work as well (as long as you have the filename
listed as the original, with a .deploy extension, e.g. myfile.xml.deploy):

<file name="filename.xml" size="62711">
<hash>
<dsig:Transforms>
<dsig:Transform
Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"
/>
<dsig:DigestValue>rgfvBpE6wde7ze5xOiojX+dgOic=</dsig:DigestValue>
</hash>
</file>

A few notes here. The name attribute on the file element is the name of
the file. The size is the length in bytes.

The dsig:DigestValue element is the base64 representation (I believe) of
the hash of the file using the SHA1 algorithm.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Frederik12" <fr********@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi all,

Using the ClickOnce tool in VS 2005 Express, I wonder if I can update
other files then just the main executable. My application uses an xml
file that changes frequently, independently of the application version.
Can this be done with ClickOnce or should I use something like the
Application Block Updater to do this task?

Thanks in advance,
Frederik

Nov 17 '05 #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...
16
by: Philip Boonzaaier | last post by:
I want to be able to generate SQL statements that will go through a list of data, effectively row by row, enquire on the database if this exists in the selected table- If it exists, then the colums...
1
by: Riley DeWiley | last post by:
I have an UPDATE query that is always setting 0 records. When I cut and paste the SQL into Access and use it, it fails in the same way unless I coerce the date fields to be '=now()', in which case...
2
by: kids_pro | last post by:
Dear all, If it possible to use clickone technology in .net framework 1.1? How to configure it? Regards
0
by: Bill Nguyen | last post by:
I ran into this error using ClickOne to deploy a .NET 2.0 app. CrystalReports for .NET 2.0 is included in the delployment. The error indicates that an incorrect version of CrystalReports.Engine DLL...
2
by: Miro | last post by:
I will ask the question first then fumble thru trying to explain myself so i dont waste too much of your time. Question / Statement - Every mdb table needs a PrimaryKey ( or maybe an index - i...
21
by: Tee | last post by:
Hi, Just curious what is clickone? Is it the same as Installshield? Been follow the following instructions and it seems to create an installation exe for me which is good but how come it...
8
by: Irfan | last post by:
hi, I created a setup file using the Publish Wizard in Visual Studio 2005 and installed the software in the client machine. Now I want to update some of the installed files in the client...
6
by: Looch | last post by:
Hi All, When I publish an application using C# express there is an option to have the app look to a URL for updates. What files are needed in the directory that would be used to update? Just...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.