Execute-MSI -Action Uninstall -Path "$Itemvar_UnSetup_Parameter"`
Execute-MSI -Action Install -Path "$Var_SourceFiles\$($Itemvar_Setup_Parameter)" -transform $Itemvar_Setup_Parameter `
As you know Execute-MSI and Execute-Process have many parameters. Most of them are facultatives. I would like filling a separate file with the parameter's values and then just use those variables with Execute-MSI or Execute-Process.
As I understand if some parameters are missing, I just can't let these parameters blank and some parameters don't have a default value.
How may I use a single line working even if some parameters are missing?
I don't know if I am clear enough with my explanations... may be in french it would be better :)