[jbosstools-issues] [JBoss JIRA] (JBDS-3841) Installer Sets Path for Wrong User

Denis Golovin (JIRA) issues at jboss.org
Tue Apr 19 17:18:00 EDT 2016


    [ https://issues.jboss.org/browse/JBDS-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194073#comment-13194073 ] 

Denis Golovin commented on JBDS-3841:
-------------------------------------

Vagrant and VirtualBox are MSI installers and they require administrative privileges to continue with installation.
Also in case of target installation folder is outside of %USERPROFILE% installer would require administrative account to be able to continue.
Finally elevated privileges comes form 7zip.sfx which is really executable that expects be part of self executable archive. 

I think the possible solution here is to run as current user and then vagrant and virtualbox request for administrative privileges when we start them with msiexec.  Installer should also validate if target location is inside current user profile. In case vagrant and virtualbox installed there would be no requests from UAC at all. That scenario would be called "Single user installation".

To support "install for everybody" we would need to fix several issues related to how installer changes the environment and skip JBDS Start in the end to avoid creating configuration files for eclipse with administrative access rights.



> Installer Sets Path for Wrong User
> ----------------------------------
>
>                 Key: JBDS-3841
>                 URL: https://issues.jboss.org/browse/JBDS-3841
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: installer
>    Affects Versions: 9.x
>         Environment: Windows 10
>            Reporter: Thomas Mäder
>            Assignee: Denis Golovin
>            Priority: Blocker
>             Fix For: 10.0.0.Alpha1
>
>
> When I run the offline installer from my non-privileged account, I am prompted by UAC for an administrator login. When I enter my admin login and proceed, tools like vagrant, etc. will not be available from the command line in my non-privileged account. It turns out, the necessary path entries were added to the user-specific path of the admin user, not the user starting the installer.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list