[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] vista testing...



There's an command line mt.exe tool by microsoft that does it - I
think it comes with either the .NET or the Platform SDK, but I'm not
sure. You just create an xml manifest file with the right
requestedExecutionLevel, then run mt -manifest with some args or
something like that. all it does is embed the xml file as a resource.

It can also be done with any old resource editor if you know the right
name and id for the resource (you can figure that out by using the
editor to look at a file that does have a manifest - like an inno
setup installer for instance)

On Feb 15, 2008 6:33 PM, René Dudfield <renesd@xxxxxxxxx> wrote:
> ah, cool.
>
> Here's a couple of links from a search for more info:
> http://channel9.msdn.com/Showpost.aspx?postid=211271
> http://channel9.msdn.com/Showpost.aspx?postid=209647
> http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=463884&SiteID=1
>
> I think it should be fairly straight forward... but I can't seem to
> find out to actually add the manifest to an exe.
>
> Do you know how to add a manifest to an exe?
>
> cheers,
>
>
> On Feb 16, 2008 11:29 AM, Brian Fisher <brian@xxxxxxxxxxxxxxxxxxx> wrote:
> > On Vista if a program doesn't have a "manifest" that tells Vista
> > whether it wants to ask for permissions or not, the default behavior
> > is for Vista to let it think that it is writing and doing a bunch of
> > things that would affect all users on XP, but virtualize them in a way
> > that is per user (and can be lost or wiped as well). The manifest can
> > tell the OS to either ask for elevation of privilege to let it do
> > things for all users (the trust box), or to have the app run with
> > whatever it can get, or to have the app run without special prvileges.
> >
> > It sounds like maybe the install has a manifest, but the manifest is
> > set to not ask to elevate.
> >
> > manifests can be modified/added/deleted from finished built exe's as
> > long as the exe isn't signed, so if you wanted to play around with the
> > manifest settings you could.
> >
> >
> > On Fri, Feb 15, 2008 at 4:17 PM, René Dudfield <renesd@xxxxxxxxx> wrote:
> > > - the pygame installer brings up a bunch of messages about things it can't
> > > do... but then manages to install ok.  I think it's trying to do things like
> > > set registry keys, but vista is blocking it.  I think this is more the fault
> > > of the distutils install maker.  Anyone know about changes needed for vista
> > > installers?  For most installers vista pops up a message about "do you trust
> > > this installer".  This doesn't happen for the pygame one... so maybe we have
> > > to ask vista for permission.
> > >
> >
>