I have successfully created a single file executable with your bootstrapper.
When trying to sign the executable with something like:
SignTool.exe sign /v /t http://timestamp.verisign.com/scripts/timstamp.dll /f "my-cert-authenticode.pfx" /p "mypassword" "my-dni-generated-setup.exe"
I get two results:
1: The signing fails with an error message:
"SignTool Error: No signature was found. The file must be signed before it can be timestamped."
2: The single-file setup "my-dni-generated-setup.exe" is not executable anymore:
When double-clicking, windows says (roughly translated from German):
"Could not start application because the side-by-side configuration is invalid. Further information is available in the application event log.".
The event log says something like:
"Error generating the activation context for "my-dni-generated-setup.exe". Error in manifest or policy file "my-dni-generated-setup.exe" in line 0. Invalid XML syntax."
Is this my fault and I am doing anything wrong (I strongly hope so!) or is this a conceptual issue that a single-file setup with DNI is never signable at all?
Thank you very much