Forum Discussion

ash_user's avatar
ash_user
Copper Contributor
Feb 08, 2023

Win32 App deployment to AppData

Hi,

 

I am trying to install an exe but running into issues with one of the settings. One of the settings points to AppData folder. If I use %userprofile% or %appdata% it points to system32 admin account and not the user account. It needs to be the user account that's logged on. 

 

I tried changing install behaviour to User context but it asks for Admin credentials on the user's device. Is there a way of setting it to the user that has logged on AppData folder instead of system32 account? I am using a cmd script for this. 

2 Replies

Resources