UserContext vs. UAC

Got a problem you cannot solve? Try here.
anja_laenge
Posts: 114
Joined: Tue Nov 20, 2012 1:02 am

UserContext vs. UAC

Postby anja_laenge » Wed Feb 20, 2019 3:01 pm

Hi,

we have the following requirements:

  • present a dialog to choose the target showing ALL mapped folders and drives, shares, network locations the user sees in the windows explorer and choose them via dialog
  • install for all users
  • install into
    • program files
    • all other locations mentioned above
    • targets entered as UNC paths
  • set environment varriables
  • set permissions for various folders
  • deliver an msi


To achieve the first, we need to start in the corresponding user context (non elevated),
to achieve the rest we need an admin context.
An admin context does not know the mapped drives/folders the user knows meaning an "M:\mytarget" configured by a user is invalid in the admin context.

How to achieve all of the above?
We are using X9 studio.

kind regards
Anja

anja_laenge
Posts: 114
Joined: Tue Nov 20, 2012 1:02 am

Re: UserContext vs. UAC

Postby anja_laenge » Tue Feb 26, 2019 3:29 am

Hello technical support team, someone at home?

glenharvy
Posts: 167
Joined: Fri Sep 14, 2007 3:53 am

Re: UserContext vs. UAC

Postby glenharvy » Thu Feb 28, 2019 6:43 am

Technical Support is a paid item which you obviously don't have. There are only a few "experts" that even look at this board and then only from time-to-time.

I would suggest you gather the data into a variable and when you "change context", use those variables bearing in mind permissions required to access those paths.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 35 guests