Replies: 2 comments
-
Any updates on this? I added the tested Windows versions. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This worked in WiX 4.0.4, so it looks like it has the same origin as https://github.com/orgs/wixtoolset/discussions/8154 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
WiX version used: 4.0.5
I have a bundle with a custom managed bootstrapper using .NET 4.8, written in C#. This bootstrapper has as
<Palyoad>
a readme file (as PDF). Inside the bootstrapper, I have a button that opens the readme with the user's default application:The default program for PDF in Windows 10 / Windows 11 is Edge.
In WiX 3, I can open the file regardless if a user runs the bundle via double-clicking or using "Run as administrator".
In WiX 4, this only works for the first case. If I use "Run as administrator", Edge displays "File not fund" since it can't access the file in the .ba directory.
Directory access rights in WiX 3:
Normal launch:
Launch via "Run as administrator":
Directory access rights in WiX 4:
Normal launch:
Launch via "Run as administrator":
System info:
Windows 10 Pro 20H2
Windows 11 Pro 22H2
Windows Server 2016 (non-AD)
Windows Server 2022 (non-AD)
I guess this change was intentional and due to security reasons?
How can I now open my readme file in the "Run as administrator" case?
Beta Was this translation helpful? Give feedback.
All reactions