Adventure Game Studio | Forums

AGS Support => Advanced Technical Forum => Topic started by: eri0o on 07 Sep 2017, 17:54

Title: setting Publisher and Authenticode (signature) for game.exe and winsetup.exe
Post by: eri0o on 07 Sep 2017, 17:54
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 07 Sep 2017, 18:18
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 08 Sep 2017, 03:00
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 08 Sep 2017, 04:31
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 08 Sep 2017, 12:15
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 29 Sep 2017, 10:28
this thread might benefit from being sticky.