@OptimisticPeach The thread don't answer my problem. I want to make the rust executables that trigger the uac and request admin rights, i don't call an adminexecutable from an rust executable. When user start my executable i wants that the uac-prompts request an admin right.
@OptimisticPeach Thx, i will try it, unfortunately there is no api-doc and i think there only convert to json, but i hope i can use the binary-datas and copy it back again to an .lnk file.
You need a manifest file, and you need a resource file to embed the manifest file. There are a couple crates out there for compiling and linking resource files.