473,434 Members | 1,738 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,434 software developers and data experts.

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 1616
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**************@TK2MSFTNGP02.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**************@TK2MSFTNGP02.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******************@TK2MSFTNGP03.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******************************@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**************@TK2MSFTNGP02.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******************@TK2MSFTNGP03.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******************************@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**************@TK2MSFTNGP02.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**************@TK2MSFTNGP03.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******************@TK2MSFTNGP03.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******************************@comcast.co m...
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**************@TK2MSFTNGP02.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**************@TK2MSFTNGP03.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******************@TK2MSFTNGP03.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******************************@comcast.c om...
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**************@TK2MSFTNGP02.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 #7
Also i will loose the Auto-update ability. Am i right?

"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:ew*************@TK2MSFTNGP04.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**************@TK2MSFTNGP03.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.co m...
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.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******************************@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**************@TK2MSFTNGP02.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 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**************@TK2MSFTNGP03.phx.gbl...
Also i will loose the Auto-update ability. Am i right?

"Irfan" <ir***@asc-ltd.co.ukwrote in message
news:ew*************@TK2MSFTNGP04.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**************@TK2MSFTNGP03.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.c om...
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.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******************************@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**************@TK2MSFTNGP02.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 7 '07 #9

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

Similar topics

6
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...
1
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...
1
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...
30
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...
4
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...
2
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...
1
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 ...
2
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
1
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
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...
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
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.