#153 .rex in PATHEXT (Windows)

v3.1beta
closed
Mark Hessling
5
2012-08-14
2006-06-12
Mike Cowlishaw
No

The uninstall/re-install of the 3.1 beta worked
beautifully -- only minor problem was that the .rex
entry in PATHEXT was removed at some point and not
replaced. So 'foo' on command line no longer
finds 'foo.rex'.

mfc

Discussion

  • Rick McGuire
    Rick McGuire
    2006-06-13

    Logged In: YES
    user_id=1125291

    The install procedure had the logic disable for adding
    PATHEXT because of difficulties sorting out how to handle
    this when installed by a non-admin user. Unfortunately, the
    reverse process was not disabled in the uninstall, resulting
    in the lost setting. The uninstall part has been disabled
    too until we can sort out the non-admin behavior.

     
  • Mike Cowlishaw
    Mike Cowlishaw
    2006-06-13

    Logged In: YES
    user_id=1530041

    OK .. thanks. I confess it's a problem deciding where
    to put the .rex in PATHEXT. I ended up putting it
    after .exe but before .cmd and .bat (so I don't pick up
    ancient OS/2 .cmd files). That probably is a good
    compromise for most ooRexx users. Of course ex-VM users
    would put it ahead of .exe...

     
  • Rick McGuire
    Rick McGuire
    2006-06-13

    Logged In: YES
    user_id=1125291

    The real problem is whether this gets updated in the all
    users environment or the local environment. PATHEXT doesn't
    accumulate like PATH does, so updating in the local
    environment creates a conflict with the global one.

     
  • Mike Cowlishaw
    Mike Cowlishaw
    2006-06-13

    Logged In: YES
    user_id=1530041

    Ah. What fun. Up there with SUBST disks being
    displaced by USB keys ...

     
  • Mark Hessling
    Mark Hessling
    2006-06-19

    Logged In: YES
    user_id=86185

    Windows installation has been modified so that PATHEXT is
    updated if installed as and admin user.
    If installed as an admin user, all users on the machine have
    full access to ooRexx, and the user installing is asked if
    they want rxapi run as a service.
    If installed as a user without admin rights, it is only
    installed for that user, no PATHEXT is set, and the page
    asking about rxapi is not displayed.
    The documentation will recommend ooRexx be installed by a
    user with admin rights, and uninstalled by a user with the
    same rights as with which ooRexx was installed.

     
  • Mike Cowlishaw
    Mike Cowlishaw
    2006-06-20

    Logged In: YES
    user_id=1530041

    Sounds good. Many thanks.

     


Anonymous


Cancel   Add attachments