1. My users do not have the ability to run exe files
Really, then how do they run word, excel or access then?????
(I don't believe this issue, since they then would not be able to run
anything then).
As for zipping, I use the following zipping code that is "native" to
ms-access
and does not use the fso.
http://www.members.shaw.ca/AlbertKallal/zip/index.htm
5. They are using MS Access Version 12.0.4518.1014. My original install
discs are a later version so I cannot send them a accde file to keep the
size
down
I don't think the above will prevent you from sending a accDE file.
When you're updating their software, you're simply providing a new front
end. That new front end is a standard file. I am not really convinced that
sending a accDE will be More problematic than sending an accDB. However if
this is really a problem, then you REALLY need to do a DE-compile before you
send the accDB anyway Note that if you do a de-compile, then you find that
you accDB file will likely be smaller as the accDE.
As you said, since you users can not run ,exe files, then this means they
can't launch word, they can't launch excel, and they can even launch the
browser. Keep in mind that all those files are.exec files. So realistically
you're in a situation where the people really can't use their computers??
I kind of must assume you are talking about email attachments?
In this case, just send them an inno script that is .exe re-named as a .txt
file. Have them save the .txt file, and then have your "upgrade" button
rename the file as .exe. You can then execute to that .exe, and then do a
application.Quit to exit access.
At that point, the inno screens will do the upgrade and you not be running
the access application.
Another way is 100% automated and NOT send the file via email.
(you can the mail them to inform them that a upgrade is available, and
that's exactly what I do)
I would place a upgrade button in your access software. You would click on
this, and this would exit the current accDE file, and run one called
"upgrade.ACCDE" on your computer. You can then launch this by going
application.FollowHyperLink path name to upgrade.accDE.
The access application can then do a http download of your new front end. As
you mentioned, the file extension could be anything you want in case of
virus scanning issues. You then un-zip the file to the correct location and
copy it over the existing front end....
If you look at the series a screen shots I have, to upgrade my software I do
almost exactly the above:
http://www.kallal.ca/ridestutorialp/upgrade.html
Hence at present I have to send them a zipped accdb file renamed txt and
get
them to rename it and unzip it, something that about half my users find
too
difficult to do. Can anyone suggest another way of distributing this
application or am I right in assuming that all my pathways have been
roadblocked.
Well,if they can't run .exe files, then you have a problem.
For a ftp download, you can use:
http://www.mvps.org/access/modules/mdl0015.htm
And, for a integrated http download, you can use:
http://www.mvps.org/access/modules/mdl0037.htm
(I using a version similar to the above).
So, doing a download from a web site would be a possible solution here.
You can use any web space you have....most Internet providers have some free
web space that is provided with your e-mail account, so you could use that
for hosting this upgrade file.
You might want to clarify what the restrictions are on running a .exe file?
Perhaps you email a inno.exe file (named as a .txt file), and have them save
it. You then have your "upgrade" code rename this .txt to an .exe and
execute it. (I suppose you could also have your users rename the.text file
when they say that, and then simply click on it, and the upgrade would show
series a screen shot just like my example that follows below:
(if you look at the series a screen shot, the standard windows looking
install panels are actually generated by the inno system, however the first
part with the download progress bar is from my custom progress bar and
custom download code that I use).
I give a sample upgrade script for inno in the following article on
upgrading access 2007 runtime applications here:
http://www.members.shaw.ca/AlbertKallal//RunTime/Index.html
--
So, I do think you can automate this whole process right down to a on-click
upgrade affair, and not even use email....
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(e-mail address removed)