Make UAC optional in Windows Installer on Vista

前端 未结 3 1145
醉话见心
醉话见心 2021-01-17 09:47

I\'m have written an msi file that offers a choice of \"per-user\" or \"for all\" installation in the UI phase, and now find that the installer fails on Vista:

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-17 10:03

    Unfortunately, the Windows Installer does not provide a way to create a single package that can install per-machine and per-user but only prompt for UAC on the per-machine case. The issue is that the bit that can suppress the UAC prompt is stored in the SummaryInformation stream and is not modifiable while the package is executing.

提交回复
热议问题