I would like to set up a button on a Confluence page that, when clicked, invokes an executable (.exe) file. What are the possible solutions for this?
I won't repeat what @Radek Dostál already said - this is a security nightmare, an absolutely terrible practice.
I will say you can technically do it, if you have Scriptrunner for Confluence.
You can inject a button that makes a call to an executable. On your Confluence server. Where your server admins are (hopefully) never going to let you install any dodgy executables.
If you mean you want a button that causes something to execute on the end user's machine, then you have to assume that they have the .exe installed, and their browser set up to understand what needs doing, and then you can have the button create a link that causes their browser to run the executable. I use this several times a day - buttons or links that take my browser to a page that then opens the Zoom executable to start a meeting.
None, the question is ludicrous and a rule number 1 of getting infected - don't run executables you don't trust.
You want the user to download and automatically run an executable file. Sounds like a jackpot malware. While you can force a download on someone, you cannot force them to run it, the browser doesn't have that kind of power (not a proper one), and the idea of making someone automatically run an .exe is malicious at very least. Don't forget user access control and other windows protections which will prevent you from evening running an .exe depending on several other factors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.