Hi,
I hope this is the right category! ![]()
I have recently started testing the new psadt and i am missing one feature with the new psadt: dynamic log locations.
In v3, I could edit the xml config file, and in the log location i could just put “$logdir” which i would fill in my deploy-application.ps1. I used this only to append the application name to the directory path, so I had all logs (PSADT, MSI and otherwise) for the deployment in one location without such a mess. Especially on Test-Systems, which have go through maybe 50 or 60 deployments.
Example:
In AppDeployToolkit.xml:
<Toolkit_LogPath>$logDir</Toolkit_LogPath>
in Deploy-Application.ps1:
$logdir=“C:\windows\logs\software$appname”
Now, with the new .psd1-Config-File, this is no longer possible, since there can be no variables in .psd1-Files (as far as i can tell and gather from the error messages?)
Is there a built-in way i am not seeing to do this with the new psadt?
Thanks in advance for all the help!