Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ActiveTcl8.5, Vista, and admin rights

31 views
Skip to first unread message

Alexandre Ferrieux

unread,
Dec 30, 2007, 5:45:33 PM12/30/07
to
Hello,

On my OEM (of course ;-) Windows Vista Home Edition, ActiveTcl8.5
keeps thinking that I don't have admin rights, though indeed I do. As
a result, I am only allowed to do a per-user install instead of system-
wide.

Anybody seeing the same ? Or NOT seeing the same ?
Any workaround more than welcome !

-Alex

Jeff Hobbs

unread,
Dec 30, 2007, 9:34:00 PM12/30/07
to
On Dec 30, 2:45 pm, Alexandre Ferrieux <alexandre.ferri...@gmail.com>
wrote:

<grumble>Vista !@#$% S@$! #%LK()*</grumble>

I thought we'd dealt with the admin issues in an earlier beta
release. Please file a bug at http://bugs.activestate.com so we can
track this one. I'll have QA review the Vista install.

In truth, most of us still prefer to pretend that Vista doesn't
exist. It's a nasty trick that Microsoft is playing on us, and I
don't personally use it. OTOH, they are shoving it down the throats
of more and more people, so I guess we better accept that we need to
figure out its new and (mostly painfully pointless) idiosyncrasies ...

Jeff

bill...@alum.mit.edu

unread,
Dec 30, 2007, 11:42:50 PM12/30/07
to
Well, since it is a generally accepted practice to require that users
upgrade to a certain OS or library release in order to use a new
software release, perhaps ActiveState could just insist Vista users
upgrade to XP, or Linux. :)

keithv

unread,
Dec 31, 2007, 12:47:39 AM12/31/07
to
On Dec 30, 5:45 pm, Alexandre Ferrieux <alexandre.ferri...@gmail.com>
wrote:

> Hello,
>
> On my OEM (of course ;-) Windows Vista Home Edition, ActiveTcl8.5
> keeps thinking that I don't have admin rights, though indeed I do. As
> a result, I am only allowed to do a per-user install instead of system-
> wide.

I came posted hitting this exact problem back in October (and also
filed a bug). Somebody gave a work-around for it.

Search for "Vista installation question" or check out
http://groups.google.com/group/comp.lang.tcl/browse_frm/thread/7a6ad4e2d85aaa6d/a8cf49334c299923

Keith

Georgios Petasis

unread,
Dec 31, 2007, 3:59:04 AM12/31/07
to Alexandre Ferrieux
Yes, also in my system the 8.5 installer does not trigger the activation
of the UAC dialog, so it fails to run with administrator rights
automatically.

To my understanding, vista try to detect which programs are setup
programs, by "peeking" at the executable. If a setup file is detected,
then the administrator rights icon (a small shield) is overlayed over
the setup file icon. But this detection mechanism fails for the (custom)
activetcl installer. A solution for this is to right-click on the setup
file, and select "run as administrator".

BUT, even in such a case, the setup will fail to create the proper
entries in the start menu: In my system (vista 64 ultimate)
it will create 2 entries: "ActiveState ActiveTcl 8.5.0.0 - transient"
with all the proper links inside, and "ActiveState ActiveTcl 8.5.0.0"
which is empty. The problem is that "ActiveState ActiveTcl 8.5.0.0 -
transient" is seen only the by the user who did the install. So, you
have to move the contents of "ActiveState ActiveTcl 8.5.0.0 - transient"
to ""ActiveState ActiveTcl 8.5.0.0" manually.

Yes, the setup process needs some more work :-)
I also liked the prompt to remove my previous 8.4 release :D

George

O/H Alexandre Ferrieux έγραψε:

Alexandre Ferrieux

unread,
Dec 31, 2007, 5:54:18 AM12/31/07
to
> Search for "Vista installation question" or check outhttp://groups.google.com/group/comp.lang.tcl/browse_frm/thread/7a6ad4...
>

Thanks Keith and Georgios for digging that ont (yes I should have
looked on c.l.t first, but I thought it was a fresh-8.5 issue).

However, today the workaround half-works: the two menu entries AT and
AT-transient are created, but one is empty and the other contains only
a "demos" subdirectory. None with the usual .exe and .hlp...

-Alex

Alexandre Ferrieux

unread,
Dec 31, 2007, 6:01:00 AM12/31/07
to
On Dec 31, 3:34 am, Jeff Hobbs <jeff.ho...@gmail.com> wrote:
> On Dec 30, 2:45 pm, Alexandre Ferrieux <alexandre.ferri...@gmail.com>
> wrote:
>
> > Hello,
>
> > On my OEM (of course ;-) Windows Vista Home Edition, ActiveTcl8.5
> > keeps thinking that I don't have admin rights, though indeed I do. As
> > a result, I am only allowed to do a per-user install instead of system-
> > wide.
>
> > Anybody seeing the same ? Or NOT seeing the same ?
> > Any workaround more than welcome !
>
> <grumble>Vista !@#$% S@$! #%LK()*</grumble>
>
> I thought we'd dealt with the admin issues in an earlier beta
> release.  Please file a bug at http://bugs.activestate.com so we can
> track this one.  I'll have QA review the Vista install.

Thanks, I will do as soon as soon as the AS server's sendmail is
fixed ;-)
(sent details to sup...@activestate.com)

> In truth, most of us still prefer to pretend that Vista doesn't
> exist.  It's a nasty trick that Microsoft is playing on us, and I
> don't personally use it.  OTOH, they are shoving it down the throats
> of more and more people, so I guess we better accept that we need to
> figure out its new and (mostly painfully pointless) idiosyncrasies ...

Same here :-)
BTW, apart from eye candy (and MS always blurs the frontier between
GUI and APIs), would you have a link to a concise, developer-oriented
list of what's changed between XP and Vista in the Win32 API ?

-Alex

Michael Schlenker

unread,
Dec 31, 2007, 7:01:56 AM12/31/07
to
Georgios Petasis schrieb:

> Yes, also in my system the 8.5 installer does not trigger the activation
> of the UAC dialog, so it fails to run with administrator rights
> automatically.
>
> To my understanding, vista try to detect which programs are setup
> programs, by "peeking" at the executable. If a setup file is detected,
> then the administrator rights icon (a small shield) is overlayed over
> the setup file icon. But this detection mechanism fails for the (custom)
> activetcl installer. A solution for this is to right-click on the setup
> file, and select "run as administrator".

The other silly solution is to rename the file to setup.exe because
Vista then thinks its an installer AFAIK.

Michael

Alexandre Ferrieux

unread,
Dec 31, 2007, 7:42:17 AM12/31/07
to
On Dec 31, 1:01 pm, Michael Schlenker <schl...@uni-oldenburg.de>
wrote:

>
> The other silly solution is to rename the file to setup.exe because
> Vista then thinks its an installer AFAIK.

Thanks very much for this one Michael. It does work, in that I don't
have to manually select "Run as Admin", but I still get the failed
installation of menus (two mostly empty entries).

One thing I notice though, is an error highlighted in red in the
installer's window:

ERROR: Unable to determine name of link file for "Tk"

I guess it bears some responsibility in the final failure, since it
occurs within the Create Program Groups chapter...

-Alex

Richard Owlett

unread,
Dec 31, 2007, 10:18:48 AM12/31/07
to
^^^^^^^^^^^^^^
I like it especially because of recent Apple ads poking fun at MS

Pat Thoyts

unread,
Dec 31, 2007, 4:05:06 PM12/31/07
to
Alexandre Ferrieux <alexandre...@gmail.com> writes:

There is some manifest magic to have a processes privilege level
automatically elevated when it starts up.

I think its this stuff:
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>

Change "asInvoker" to admin of something.

The idea is you merge this chunk in with the mt command when
linking in the executables resources.

--
Pat Thoyts http://www.patthoyts.tk/
To reply, rot13 the return address or read the X-Address header.
PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD

Miko

unread,
Jan 1, 2008, 8:58:12 AM1/1/08
to
>However, today the workaround half-works: the two menu entries AT and
>AT-transient are created, but one is empty and the other contains only
>a "demos" subdirectory. None with the usual .exe and .hlp...

Same problem with Vista Business and 8.5...
I'm going to upgrade to XP.

I really don't understand what Microsoft want to do with Vista. Suicide?


Miko


0 new messages