How to invoke UAC(Elevation shield) Prompt while trying to open bootstrapper bundle exe in WIX #8074
Replies: 3 comments 5 replies
-
Call the Note: Some websites out there talk about hacking the Burn stub to modify the resources that force the executable to always elevate. Don't do that. That isn't a supported configuration and could leave you open to security vulnerabilities that we don't consider. I bring this up because we've had a series of security vulnerabilities recently. 😓 |
Beta Was this translation helpful? Give feedback.
-
@robmen have you considered doing some form of reflection and failing the installer when this hacking is detected? |
Beta Was this translation helpful? Give feedback.
-
you can modify pe file by CFF Explorer, you can watch my blog https://www.cnblogs.com/chancezheng/p/18325719, next, you can achieve it by C# code |
Beta Was this translation helpful? Give feedback.
-
Not able to invoke UAC shield of the bootstrapper bundle .exe generated using WIX.UAC gets invoked when Install button is clicked from bundle exe UI.But I need to open UAC as soon as user double clicks the bundle .exe.
I tried WixBundleElevated in wix bundle wxs file in bal:Condition.This works fine.When user double click the exe bundle,error throws up like "you need admin priviledges".Instead of throwing error,I want to invoke UAC shield as soon as user double click the bundle exe.
Beta Was this translation helpful? Give feedback.
All reactions