[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua For Windows v18.104.22.168 Public Alpha2 released
- From: Stephen Kellett <lua@...>
- Date: Mon, 19 May 2008 15:48:47 +0100
RJP Computing wrote:
Well most of that works except the file association. There is only one
registry key for that and it is not modifiable by a non-admin. So what
should we do about that? Do other languages have installers that work on a
non-admin system (i.e. Python)?
I have Python, Ruby, Lua, etc on my machine. I've never once been
tempted to double click one of those files to try to make it run. I
guess its a mindset thing. All the same it wouldn't hurt to have the
associations set so that you can see the icon. I know I like that for
ABC music files.
An alternative approach to setting the file assocations (which I don't
know will work) would be to write an exe that takes command line
arguments and sets the file associations itself. It would do this by
bumping up its privileges high enough to be able to modify the registry.
Not sure if this is possible, it works for seDebug (DEBUG) privilege,
but not sure it works for others.
You could run this exe as part of the installer (InnoSetup supports
that). Thats assuming this concept works in the first place.
I'm too busy to try this (the privilege thing) today, but maybe later in
the week... Anyone know which bit of the registry controls file