When running an installer in the "Currently Logged On" run mode. The installer log reports the credential being used is "Service account - NT AUTHORITY\SYSTEM"
My installation package consists of one CMD action. For my command I am running a powershell script. Here is the command below:
powershell.exe -executionpolicy bypass -file "\\SERVERNAME\packages\getContacts.ps1"
The powershell script gets the contacts from the end users outlook and then exports them to a .csv located on the network. The .csv is created properly but no information is exported to it. Its blank. The command works fine from the command prompt when testing.
To me its seams like the installer is using the wrong credentials. Can anyone help?