0

I use Inno setup to install python package (py2exe) on the program files folder. the first installation require admin privileged and it is ok.

The application has automatically upgrade option (it download the new setup exe ad run it in silence mode)

The problem is that it fails because the user is not admin.

My first though was to install the first installation in {pf} folder, but to install the updated pyc in the user folder. and somehow to tell the app to check for pyc in this folder. But I don't know how to do it and if it can be done

4

1 回答 1

1

如果没有要求/要求完全管理员访问权限,普通应用程序无法运行安装程序来更新系统范围的位置。

作为最佳实践,在升级之前提示/警告用户,UAC 提示应该不是问题。

于 2012-05-23T10:20:22.810 回答