1

I've created a split Access database application and used the packaging wizard to create a deployment package. All the files are installed by the deployment package into C:\Documemts and Settings\All Users\Application Data\Provision Manager, this is too avoid Windows Vista not allowing write access to the Program Files directory.

The application installs OK on both Vista and XP and creates a Provision Manager entry in the Program Group in the user account that installed the application, however when I login using another account (both Admin and non-admin ones) the there is no Provision Manager item listed in the Program Group.

Can anyone enlighten me as to what is going on here and more importantly how I can ensure that the deployment package creates a Program Group item for each user account.

Thanks

Marc

4

2 回答 2

0

根本问题(它不是真正的问题,而是一个特性)是 MS 加强了 Windows Vista 中的安全性。不再允许用户更新所有用户开始菜单/程序或应用程序数据文件夹。只有管​​理员才能更新,例如使用安装程序。现在,这对于访问 FE 的快捷方式来说基本没问题。FE MDB/MDE 出现了真正的问题,因为用户几乎必须拥有读/写/创建/删除(尽管严格来说,创建/删除权限只需要 LDB 文件。)所以这些不能安装到所有用户文件夹。

解决方案是将运行时安装拆分为两个组件。管理员类型将实际的 Access 运行时与 msaccess.exe 等一起安装到 Program Files 中。

然后,您可以运行用户进行第二次安装,它将 Access FE MDB/MDE 和当前用户应用程序数据文件夹中的其他文件以及桌面上的快捷方式放在一起。

如果用户在您的本地 LAN 上,您可以使用免费的Auto FE Updater实用程序来处理用户的 FE 安装。

如果用户是远程用户,那么您可以使用 Sample inno 脚本检查是否安装了 Access 版本。如果不是,它会告诉您安装 Access 的运行时版本。如果已安装,它将继续安装您的 FE MDE 和其他分类文件。 http://groups.google.com/group/microsoft.public.access/msg/10e3fc9234660872?hl=en

将包向导安装“包装”到单个 .exe 中的示例 inno 脚本

在 Access 2007 的运行时环境中为您的软件部署更新

于 2009-10-26T20:47:16.230 回答
0

为确保程序包创建了正确的程序组,请查看所有用户/开始菜单/程序,因为这些程序会在每个用户登录时自动放置在每个用户的开始菜单中。对于桌面快捷方式,将它们放置在所有用户/桌面中

于 2009-10-22T15:58:49.030 回答