We are a Microsoft ISV required to run our MSI elevated to install various windows services in our install. We are using AI 10.6 current version.
We are aware that we can select in AI run as an Administrator and an exe and msi are created side by side. You can right-click the exe and run as administrator and the install will run correctly. We contacted Microsoft support to determine why we cannot right-click on an msi and run as an administrator, here is their response.
------------
Hello Clive
Sorry for the late reply. I’ve followed up this issue with the product group and engineers for a long while, and there is the information of your request:
This is a by design behavior of Windows Shell, that context menu doesn’t integrate “Run as administrator” item. This is because we should never have to upfront elevate an MSI. If an MSI needs elevation, it should prompt at the time it needs it. Otherwise the MSI is authored incorrectly. This is by design and not an issue.
If an MSI package neither prompt for elevation nor work properly, the MSI package is not authorized properly and needs to be fixed.
There is an article to explain this design since Windows Vista: http://msdn.microsoft.com/en-us/library ... s.85).aspx
In summary, the MSI package’s authorization should be designed by the service part, rather than user itself, no matter the user is administrator or normal ones.
-------------------
So in conclusion can I request you examine why the AI created MSI cannot run standalone elevated.
Clive
FOLLOW US
Get the latest news in Application Packaging