The following article has the most info I have found: http://msdn.microsoft.com/en-us/library/aa905330.aspx
It includes: Before a 32 bit process is created, the following attributes are checked to determine whether it is an installer: Filename includes keywords such as "install," "setup," and "update." and others (e.g. the GRASS project) have found that 'patch' is 'such as'. Oddly, it does seem to check only 32-bit processes. If you can't change the name, using a manifest file or including a manifest as a resource will change the behaviour. Here is a relevant MSDN page: http://msdn.microsoft.com/en-us/library/bb756929.aspx On Wed, 25 May 2011, JonY wrote: > On 5/24/2011 23:54, Ozkan Sezer wrote: >> Hi all: >> >> What makes the User Access Control thing of vista or w7 to trigger? >> If I compile my program for x64 using mingw-w64, the program runs >> just fine. If I compile it for x86 either by mingw or mingw-w64 and >> run it on vista or w7 x64 version, windows intercepts it claiming that >> it wants to "access my computer and may do evil things", and when I >> choose 'allow' than it opens up a new console instead of using the >> existing cmd.exe console. I don't have an x86 version of vista or >> w7 installed on my boxes so I don't know the behavior there. >> FWIW, code is here: http://uhexen2.sf.net/tmp/h2patch3-1.0.0.9.tar.gz >> which is an application of xdelta3 (http://xdelta.org/) in progress >> and nothing oh so fanciful. >> >> Thanks. > > IIRC its based on executable file names and some other criteria which > I'm not sure of. > > See the Cygwin patch.exe.manifest file, there might be clues there. > > -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public