I haven’t come across this topic being asked yet (I hope) but I am looking to extend the toolkit so that Deploy-Application reads content from an XML file and set the variables in VARIABLE DECLARATION based on the values.
The idea is for another system to generate the XML file based on requester’s input, then a new package is created. Simple installers may not need further work than this, but for the complex ones, it should cut some time down.
I’ve played with the Get-Content cmdlet above the variables but it seems that the values are not being read and appear empty.
If there is another idea to achieve what I’m trying to accomplish, please share! Otherwise, how do I accomplish the above?