update client files automatically

  • Thread starter Thread starter Irfan
  • Start date Start date
I

Irfan

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
 
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.
 
thnks Rob,
I did not know ClickOnce will update automatically but i am now learning to
do it.
irfan
 
It does if you configure it that way. You can also make the updates
optional or required. It's a cool technology.

Robin S.
-------------------
 
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
 
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.
-----------------------
 
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
 
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.
-----------------------------------
 
Back
Top