0

I hope someone can help. I have a small MS access database which I've converted into a .accde file and have managed to get Inno Setup to create a setup file which generally works.

When I install it on a Windows 7 machine and double click on the desktop shortcut that was installed it just works. However, if I install it on a Windows 8 machine and double click the desktop shortcut it works but it can't attach to the backend database. When I set the desktop shortcut advanced properties to run as administrator, it then works perfectly.

Just two quesitons if someone who know either Access or Inno or both.

  1. Is it possible to get Inno to create a shortcut with the Run as Administrator set?
  2. Is there soething with Access runtime that I'm not seeing or getting correct.

Any help would be very much appreciated.

Thanks Dave

4

1 回答 1

0

旧条目,但也许仍然值得一试:

  • 该目录在您创建时是只读的,因此禁止写入(对于 Win 7 应该是相同的,但也许您更改了安全设置并且 Inno 设置使用了现有文件夹)
  • 尝试以下操作:添加具有特殊权限的应用目录:

[目录]

名称:“{app}”;权限:全员

如果可行,请将设置更改为更安全的设置,例如“AuthenticatedUsers-Full”或类似的设置

您不需要以管理员权限运行访问权限!但只是为了回答您的问题: 如何使用 Inno Setup 在文件上设置“以管理员身份运行”

于 2014-08-18T11:11:48.563 回答