During the installation of an app I need post-installation actions performed which copy a specific file from SupportFiles to the users OneDrive folder. How can I achieve this?
Variable $env:onedrive does not work and $envUserMyDocuments also does not seem to work (probably because i’m not using the installer in user context mode). SCCM can do this with a separate app that runs in user context mode and a PS script.
Is there any way to achieve this in PSADT without running in user context mode (users have no admin rights) or having to make multiple installers?