Group:  Microsoft Access ยป microsoft.public.access.setupconfig
Thread: Distribute updates

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Distribute updates
Angus 04.07.2006 14:29:02
I have an application which quite frequently gets updated and I would liked
to automate distribution of these updates.

How do you suggest I do this? I would rather not use a full installation
utility.

I have worked out the following BAT file to do the update which will reside
on the server and be launched by the user via a shortcut. It will check for
updates and launch the app:
[code]
Rem check for local directory
if not exist C:\CM\CMApp.mde mkdir "C:\CM"

Rem updates local app
if not exist C:\CM\CMApp.ldb xcopy
"\\Xserve.local\general1\CM\Install\CMApp.mde" "C:\CM\" /o /d:06-25-2006

Rem Launch application
rem if not exist "C:\CM\CMApp.ldb" "C:\CM\CMApp.mde"
[/code]

However there a few problems with this. Most importantly, the users who
run the code will not have administrator privileges and so the \o switch on
xcopy will not copy the security settings from the original file. Likewise
with mkdir. I need to get around this problem as each computer will have
multiple users.

Any suggestions gratefully received. Am I going about this entirely the
wrong way?

Thanks in advance.

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net