473,545 Members | 1,932 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

update client files automatically

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 machine with NEW ones.

Is there anyway that it can be done automatically without i telling the user
which files to replace and which not.
Is creating a batch file a good option or their are other better options
available.

(The application is a Desktop application).

Thanks in Advance.

irfan
Apr 26 '07 #1
8 1625
Too bad you didn't use ClickOnce Deployment. Or did you? If you did, you
can just deploy it again, and it will only replace the files that have
changed.

Robin S.
-----------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:ut******** ******@TK2MSFTN GP02.phx.gbl...
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 machine with NEW ones.

Is there anyway that it can be done automatically without i telling the
user which files to replace and which not.
Is creating a batch file a good option or their are other better options
available.

(The application is a Desktop application).

Thanks in Advance.

irfan


Apr 27 '07 #2
thnks Rob,
I did not know ClickOnce will update automatically but i am now learning to
do it.
irfan
"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:yd******** *************** *******@comcast .com...
Too bad you didn't use ClickOnce Deployment. Or did you? If you did, you
can just deploy it again, and it will only replace the files that have
changed.

Robin S.
-----------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:ut******** ******@TK2MSFTN GP02.phx.gbl...
>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 machine with NEW ones.

Is there anyway that it can be done automatically without i telling the
user which files to replace and which not.
Is creating a batch file a good option or their are other better options
available.

(The application is a Desktop application).

Thanks in Advance.

irfan



Apr 27 '07 #3
It does if you configure it that way. You can also make the updates
optional or required. It's a cool technology.

Robin S.
-------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:eu******** **********@TK2M SFTNGP03.phx.gb l...
thnks Rob,
I did not know ClickOnce will update automatically but i am now learning
to
do it.
irfan
"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:yd******** *************** *******@comcast .com...
>Too bad you didn't use ClickOnce Deployment. Or did you? If you did, you
can just deploy it again, and it will only replace the files that have
changed.

Robin S.
-----------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:ut******* *******@TK2MSFT NGP02.phx.gbl.. .
>>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 machine with NEW ones.

Is there anyway that it can be done automatically without i telling the
user which files to replace and which not.
Is creating a batch file a good option or their are other better
options available.

(The application is a Desktop application).

Thanks in Advance.

irfan




Apr 27 '07 #4
hi, Rob
Thanks for the continued support. I am getting to grips with ClickOnce now.
However i still have couple of
questions.

If a client had no internet connections. What files shall i send to the
client. Using Clickonce works fine
on my machine with updates and everything. But when I copy the files onto
another machine, and click on the
publish.htm it obviously does not find the appropriate path and give an
error.

Thanks for any suggestions
irfan


publishing to a Web server allows you to take advantage of the automatic
update capabilities of ClickOnce
"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:ze******** *************** *******@comcast .com...
It does if you configure it that way. You can also make the updates
optional or required. It's a cool technology.

Robin S.
-------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:eu******** **********@TK2M SFTNGP03.phx.gb l...
>thnks Rob,
I did not know ClickOnce will update automatically but i am now learning
to
do it.
irfan
"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:yd******* *************** ********@comcas t.com...
>>Too bad you didn't use ClickOnce Deployment. Or did you? If you did, you
can just deploy it again, and it will only replace the files that have
changed.

Robin S.
-----------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:ut****** ********@TK2MSF TNGP02.phx.gbl. ..
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 machine with NEW ones.

Is there anyway that it can be done automatically without i telling the
user which files to replace and which not.
Is creating a batch file a good option or their are other better
options available.

(The application is a Desktop application).

Thanks in Advance.

irfan




May 1 '07 #5
Can you publish to a CD and send that or provide that to your user? I
believe ClickOnce has that an an option when you are doing the publish; you
can write it to a folder and then create a CD out of it. It will even
create the AutoRun for you. That's the direction I would go if the user had
no server or internet connectivity.

Robin S.
-----------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:eK******** ******@TK2MSFTN GP03.phx.gbl...
hi, Rob
Thanks for the continued support. I am getting to grips with ClickOnce
now. However i still have couple of
questions.

If a client had no internet connections. What files shall i send to the
client. Using Clickonce works fine
on my machine with updates and everything. But when I copy the files onto
another machine, and click on the
publish.htm it obviously does not find the appropriate path and give an
error.

Thanks for any suggestions
irfan


publishing to a Web server allows you to take advantage of the automatic
update capabilities of ClickOnce
"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:ze******** *************** *******@comcast .com...
>It does if you configure it that way. You can also make the updates
optional or required. It's a cool technology.

Robin S.
-------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:eu******* ***********@TK2 MSFTNGP03.phx.g bl...
>>thnks Rob,
I did not know ClickOnce will update automatically but i am now
learning to
do it.
irfan
"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:yd****** *************** *********@comca st.com...
Too bad you didn't use ClickOnce Deployment. Or did you? If you did,
you can just deploy it again, and it will only replace the files that
have changed.

Robin S.
-----------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:ut***** *********@TK2MS FTNGP02.phx.gbl ...
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 machine with NEW
ones.
>
Is there anyway that it can be done automatically without i telling
the user which files to replace and which not.
Is creating a batch file a good option or their are other better
options available.
>
(The application is a Desktop application).
>
Thanks in Advance.
>
irfan
>
>




May 3 '07 #6
Yes, Rob
I have decided to use that option and get hold of that book that u suggested
to add additional
files during deployment.
BTW If i dont want to use clickOnce whatelse can I use?

irfan

"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:xP******** *************** *******@comcast .com...
Can you publish to a CD and send that or provide that to your user? I
believe ClickOnce has that an an option when you are doing the publish;
you can write it to a folder and then create a CD out of it. It will even
create the AutoRun for you. That's the direction I would go if the user
had no server or internet connectivity.

Robin S.
-----------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:eK******** ******@TK2MSFTN GP03.phx.gbl...
>hi, Rob
Thanks for the continued support. I am getting to grips with ClickOnce
now. However i still have couple of
questions.

If a client had no internet connections. What files shall i send to the
client. Using Clickonce works fine
on my machine with updates and everything. But when I copy the files onto
another machine, and click on the
publish.htm it obviously does not find the appropriate path and give an
error.

Thanks for any suggestions
irfan


publishing to a Web server allows you to take advantage of the automatic
update capabilities of ClickOnce
"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:ze******* *************** ********@comcas t.com...
>>It does if you configure it that way. You can also make the updates
optional or required. It's a cool technology.

Robin S.
-------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:eu****** ************@TK 2MSFTNGP03.phx. gbl...
thnks Rob,
I did not know ClickOnce will update automatically but i am now
learning to
do it.
irfan
"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:yd***** *************** **********@comc ast.com...
Too bad you didn't use ClickOnce Deployment. Or did you? If you did,
you can just deploy it again, and it will only replace the files that
have changed.
>
Robin S.
-----------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:ut**** **********@TK2M SFTNGP02.phx.gb l...
>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 machine with NEW
>ones.
>>
>Is there anyway that it can be done automatically without i telling
>the user which files to replace and which not.
>Is creating a batch file a good option or their are other better
>options available.
>>
>(The application is a Desktop application).
>>
>Thanks in Advance.
>>
>irfan
>>
>>
>
>




May 3 '07 #7
Also i will loose the Auto-update ability. Am i right?

"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:ew******** *****@TK2MSFTNG P04.phx.gbl...
Yes, Rob
I have decided to use that option and get hold of that book that u
suggested to add additional
files during deployment.
BTW If i dont want to use clickOnce whatelse can I use?

irfan

"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:xP******** *************** *******@comcast .com...
>Can you publish to a CD and send that or provide that to your user? I
believe ClickOnce has that an an option when you are doing the publish;
you can write it to a folder and then create a CD out of it. It will even
create the AutoRun for you. That's the direction I would go if the user
had no server or internet connectivity.

Robin S.
-----------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:eK******* *******@TK2MSFT NGP03.phx.gbl.. .
>>hi, Rob
Thanks for the continued support. I am getting to grips with ClickOnce
now. However i still have couple of
questions.

If a client had no internet connections. What files shall i send to the
client. Using Clickonce works fine
on my machine with updates and everything. But when I copy the files
onto another machine, and click on the
publish.htm it obviously does not find the appropriate path and give an
error.

Thanks for any suggestions
irfan


publishing to a Web server allows you to take advantage of the automatic
update capabilities of ClickOnce
"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:ze****** *************** *********@comca st.com...
It does if you configure it that way. You can also make the updates
optional or required. It's a cool technology.

Robin S.
-------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:eu***** *************@T K2MSFTNGP03.phx .gbl...
thnks Rob,
I did not know ClickOnce will update automatically but i am now
learning to
do it.
irfan
>
>
"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:yd**** *************** ***********@com cast.com...
>Too bad you didn't use ClickOnce Deployment. Or did you? If you did,
>you can just deploy it again, and it will only replace the files that
>have changed.
>>
>Robin S.
>-----------------------
>"Irfan" <ir***@asc-ltd.co.ukwrote in message
>news:ut*** ***********@TK2 MSFTNGP02.phx.g bl...
>>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 machine with NEW
>>ones.
>>>
>>Is there anyway that it can be done automatically without i telling
>>the user which files to replace and which not.
>>Is creating a batch file a good option or their are other better
>>options available.
>>>
>>(The application is a Desktop application).
>>>
>>Thanks in Advance.
>>>
>>irfan
>>>
>>>
>>
>>
>
>




May 4 '07 #8
Well, you don't have auto-update ability if they can't get to the web
server or share where you are putting the updates, so you already don't
*have* that capability.

There's always InstallShield or WISE.

Robin S.
-----------------------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:uH******** ******@TK2MSFTN GP03.phx.gbl...
Also i will loose the Auto-update ability. Am i right?

"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:ew******** *****@TK2MSFTNG P04.phx.gbl...
>Yes, Rob
I have decided to use that option and get hold of that book that u
suggested to add additional
files during deployment.
BTW If i dont want to use clickOnce whatelse can I use?

irfan

"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:xP******* *************** ********@comcas t.com...
>>Can you publish to a CD and send that or provide that to your user? I
believe ClickOnce has that an an option when you are doing the publish;
you can write it to a folder and then create a CD out of it. It will
even create the AutoRun for you. That's the direction I would go if the
user had no server or internet connectivity.

Robin S.
-----------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:eK****** ********@TK2MSF TNGP03.phx.gbl. ..
hi, Rob
Thanks for the continued support. I am getting to grips with ClickOnce
now. However i still have couple of
questions.

If a client had no internet connections. What files shall i send to
the client. Using Clickonce works fine
on my machine with updates and everything. But when I copy the files
onto another machine, and click on the
publish.ht m it obviously does not find the appropriate path and give
an error.

Thanks for any suggestions
irfan


publishing to a Web server allows you to take advantage of the
automatic update capabilities of ClickOnce
"RobinS" <Ro****@NoSpam. yah.nonewrote in message
news:ze***** *************** **********@comc ast.com...
It does if you configure it that way. You can also make the updates
optional or required. It's a cool technology.
>
Robin S.
-------------------
"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:eu**** **************@ TK2MSFTNGP03.ph x.gbl...
>thnks Rob,
>I did not know ClickOnce will update automatically but i am now
>learning to
>do it.
>irfan
>>
>>
>"RobinS" <Ro****@NoSpam. yah.nonewrote in message
>news:yd*** *************** ************@co mcast.com...
>>Too bad you didn't use ClickOnce Deployment. Or did you? If you
>>did, you can just deploy it again, and it will only replace the
>>files that have changed.
>>>
>>Robin S.
>>-----------------------
>>"Irfan" <ir***@asc-ltd.co.ukwrote in message
>>news:ut** ************@TK 2MSFTNGP02.phx. gbl...
>>>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 machine with
>>>NEW ones.
>>>>
>>>Is there anyway that it can be done automatically without i
>>>tellin g the user which files to replace and which not.
>>>Is creating a batch file a good option or their are other better
>>>option s available.
>>>>
>>>(The application is a Desktop application).
>>>>
>>>Thanks in Advance.
>>>>
>>>irfan
>>>>
>>>>
>>>
>>>
>>
>>
>
>




May 7 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
7826
by: Robert Scheer | last post by:
Hi. I have two .js files that are used on several of my pages. I made some changes in one of the files. When I call the pages, the old functions are called because of the browser's cache. What is the best way to update the browser's cache with the newer version of my .js file? Thanks, Robert Scheer
1
1500
by: Allan Cammish | last post by:
I need to pass files from the web server which is written in VB/ASP.NET using Visual Studio.NET 2002 to the client's web-browser. The purpose of this is that I want to install files to the clients compter to run a web/local application I am building. This is very useful as the number of users are in the 1000's and I dont want to have to...
1
1145
by: Ray | last post by:
Dear all, Now, I have deployed a window application with strong name provided. After reading some references, I know that the binding policy and codebase should be set in Global Assembly Cache Tool for the clients to update the new version of dll. Now, I have some questions about that. 1. Since the binding policy and codebase should be filled...
30
3356
by: Charles Law | last post by:
Here's one that should probably have the sub-heading "I'm sure I asked this once before, but ...". Two users are both looking at the same data, from a database. One user changes the data and commits it. How does the other user get the updated view without polling for changes? Is there some sort of callback mechanism that can be set up on...
4
1977
by: DBC User | last post by:
Hi All, I asked this question in clickonce forum and no one seems to answer so I thought I will ask a border experts. I have an application, which uses 2 different set of files based on the use. On one instance the application might use both the file sets and in some other installs it might use either one of them the file set but not...
2
1747
by: Ron | last post by:
Hi All, Okay, I've got a frmOrders with a subform of sfrmDetails. A frmClient has all the client info, plus a subform of sfrmDefaults that has the client's normal ordering defaults (like set products they always order, just no quantity). The frmClient form has a button for adding or modifying orders by popping up the frmOrders (with...
1
1839
by: suresh_nsnguys | last post by:
Hi, I will allow users to download one zip file(contain HTML file and 1 image directory with -gif,jpeg files) to his local hard disk. HTML file contain source code to display images when user execute the 'HTML' file locally.I will display the images present in the local directory one by one in loop until user close the browser. ...
2
1680
by: Looch | last post by:
Hi All, When using the Publish wizard in C# express I'd like to designate a directory that the application will look to for updates. My question is, what files need to be in the update directory? Updated source code? Updated setup.exe with the associated files? Thanks in advance.
0
7411
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7669
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7773
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5343
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4962
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3468
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1028
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
722
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.