I am testing an Inno Setup in Windows 10.
I have PrivilegesRequired=lowest
In the [Run]
section with postinstall
I launch an Excel workbook.
This workbook makes changes to the Excel environment for the user that launched Excel.
By default, that user is the standard user, which is what I want.
But if run with right-click elevated privilege, that user is the admin user.
How can I force Excel to launch for the standard user?
I tried the flags runasoriginaluser
and runascurrentuser
, but neither of these would force Excel to run for the standard user.