Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: eri0o on Thu 07/09/2017 17:54:48

Title: setting Publisher and Authenticode (signature) for game.exe and winsetup.exe
Post by: eri0o on Thu 07/09/2017 17:54:48
Hey,

Every time I test my game on Windows 10, when it tries to run, it defaults to Not Run for me. And then I have to do a small click in the box and then have to tell it's safe to run the game or the winsetup for config.

Is it possible to make the game.exe file and maybe also the winsetup.exe trusted executables? And is there a way to configure the Publisher Name ?

Thanks!
Title: Re: setting Publisher and Authenticode (signature) for game.exe and winsetup.exe
Post by: Click'd on Thu 07/09/2017 18:18:19
It might be easier to dial down Win 10's handholding in general.
Title: Re: setting Publisher and Authenticode (signature) for game.exe and winsetup.exe
Post by: eri0o on Fri 08/09/2017 03:00:38
Apparently CAcert (http://www.cacert.org) can provide free certification and using the signtool (http://www.thegeekstuff.com/2010/03/microsoft-digital-signatures/) I can apply the certificate afterwards. I am a newbie on Windows coding, but mostly googling refers to visual studio... :( Is it possible to do this from AGS on the build phase?
Title: Re: setting Publisher and Authenticode (signature) for game.exe and winsetup.exe
Post by: tzachs on Fri 08/09/2017 04:31:15
The tutorial you linked to about the signtool doesn't say anything about a visual studio requirement, it just requires downloading the Windows SDK.
From what I can see, you sign the generated exe, so you don't need to involve AGS build process at all. Just follow the instructions.

Another thing you can try, is using the Desktop App Converter (https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-run-desktop-app-converter). It converts a Win32 app (i.e the AGS game) to a UWP application, meaning it runs in a sandbox and should be safe, and therefore trusted (and can also be placed in the Windows Store and run in Win10S). Whether it actually works with AGS games, I don't know...


Title: Re: setting Publisher and Authenticode (signature) for game.exe and winsetup.exe
Post by: eri0o on Fri 08/09/2017 12:15:59
Another option :-\

I Wonder what people who releases games on Steam does or if it's not needed at all and users are ok with it.  ???
Title: Re: setting Publisher and Authenticode (signature) for game.exe and winsetup.exe
Post by: Monsieur OUXX on Fri 29/09/2017 10:28:17
this thread might benefit from being sticky.
Title: Re: setting Publisher and Authenticode (signature) for game.exe and winsetup.exe
Post by: vga256 on Thu 21/10/2021 20:34:23
Quote from: eri0o on Fri 08/09/2017 12:15:59
Another option :-\

I Wonder what people who releases games on Steam does or if it's not needed at all and users are ok with it.  ???

Sorry for the Necro. The Steam (and GOG) launcher is signed and launches the game on behalf of itself, so the game executable does not have to be signed. Signing is only useful if you plan to launch the game via the Windows store, or on itch.io, or some other storefront that allows the game to be run without a launcher.