Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 3

Set installation path according to user privileges

Hi community.

I'm creating under visual studio 2019 with installshield 2021 an installer for my customer software.

The MSi can install the software per user or per machine.

I'd like to configure the installation path based on the user privileges :

  • If the setup was lunahced in administrator, then it should be be in the program files folder.
  • Else, it should be in the user appdata folder.

How can I achieve this please ? I tried many things but nothing is working.


Thank you very much.

Labels (1)
0 Kudos
(1) Reply
Level 3

So nice to be replied so quickly :'(

0 Kudos