Win32 App deployment to AppData

Copper Contributor



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

I guess this blog should show you what to use for the install command and what to use for the detection rules


Needed to do the same for the xelion app



Would it work with an exe file as the guide is regarding an application file, which seems to be on the web?