Adding a directory/contents to include with pre/post scripts and custom cmdlines would be a nice feature.
Intent would be to include any sort of additional files needed to configure apps via pre/post. XML, INI files etc. We even use ps1 based functions at times so being limited to just 1 script file for pre/post is slightly restrictive. Even custom cmdline can point to similar files.
@ David Pearson That is what we are doing now, they make hilariously long scripts... Our VLC post script is 5200 lines lol
Learned about here-strings, so woot another tool in the ol' PS belt!
We evaluating coding this feature now.
Currently to get around this limitation I use a post powershell script to create the file with new-item and then add-content to fill out the file. For example with Google Chrome we create a master_preferences file in the installed directory that has settings we want as a default. So far its working but it would be simpiliar to have a "extra files" directory that gets copied to the application source that we can post script copy the files out of and into location.
Very useful when we have to customize some packages with additional content, like plugins for notepad++ for example.
Thanks for the feedback! This idea would be a nice option to have. We will keep it in mind for a future update and see how other customers respond.