I recently upgraded my AGS workstation to WinXp := and now I notice that whenever I run/test a game from within the AGSeditor a security warning dialog pops up asking if it's Ok to run the exe.
It's annoying after the first time and I would like to turn it off. I am guessing there is a simple and obvious answer that eludes me at the moment. Any advice and/or enlightenment would be appreciated. Thanks.
Find the ACWIN.EXE file in the AGS folder, right-click it and do Properties. There should be some sort of "Unblock" button in the properties dialog that will stop it doing this.
Ok, found the Acwin.exe unblock button and clicked it as instructed.
Problem still exists when gameis created and run on network mapped drive. WinXP is running in VirtualBox and mapped drive is a shared folder between host and guest OSes.
Looks like a Windows problem rather than an Ags one. I tried fiddling around with security settings but haven't stumbled upon the correct combination. Any further advice will be greatly appreciated.
I think (if memory serves correctly) there is a check box on the actual warning that comes up, something like "always ask for this type of file" which you can uncheck.
The type of file is EXE and if you uncheck that box you're opening up a whole different can of worms. Also any time you compile (build) the game or run the debugger you're working with a completely different EXE file (the old one is replaced) which is important to note.
Sorry I don't have any further info, but just wanted to clear up why unchecking that box is a terrible idea.
My bad, I meant "Always ask before opening this file" - not type of file. ;D
Quote from: RickJ on Thu 01/10/2009 11:46:47
Problem still exists when gameis created and run on network mapped drive. WinXP is running in VirtualBox and mapped drive is a shared folder between host and guest OSes.
I think XP is always suspicious of files that come from a network share, though there must be an option to disable this. I'm not sure how to fix it -- maybe the easiest solution is to work on a local copy on the XP virtual hard drive, and then copy it back to the share when you're done.
The following modification of the windows registry eliminates the warning message.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]
"LowRiskFileTypes"=".exe;.bat;.reg;.vbs;"
I found this solution here:
http://www.sevenforums.com/system-security/8642-how-get-rid-open-file-security-warning.html
I used REGEDIT from the command lineto makethe change. Just for the sake of being thorough isn't there a way to make this change using a script file?
Anyway thanks to everyone for your help.
.reg files will be added to the registry on double click.
You can use the export function in regedit to create a reg file
Cool! I exported the entry and got a .reg file with following contents ..
Quote from: FixSecurityWarnings.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]
"LowRiskFileTypes"="\".exe;.bat;.reg;.vbs;\""
I suppose one could create a text file, paste this stuff in there and save it as a .reg file and double click it to make the entry?