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
<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
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
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 έγραψε:
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
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
The other silly solution is to rename the file to setup.exe because
Vista then thinks its an installer AFAIK.
Michael
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
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
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