A
Angus
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:
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.
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"
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.