They dont, the logfile doesnt show any indication that there is any parameters at all. so is there any chance that is a problem with the msi file, i have never experienced this type of problem before…
been using psadt the last 2 years, but cant figure this one out.
Or just create a blank .mst and add your properties to that.
Of course this dosnt fix the whole .msi not getting the paramaters - but gets you moving onto the next installation
ps: isnt the /qn already handled ( in a config file by PSAD ) so you dont need to add that…maybe take that out and test again…
Put those parameters in variable and try again.
Something like this would work
$variable = “CUSTOMCONFIGID=xxxxxx DESKTOPSHORTCUTS=0 IMPORTREGFILE=1 /QN”
As TheTechGuy mentioned, use -AddParameters. Do not combine it with -Parameters. These parameters will be overridden by the default defined in the XML. You also won’t need to use the /QN either, the PSADT will determine this by default.
One of the coolest things about the PSADT is the Zero-Config MSI Install and I have modified my script template to provide this capability while using AddParameters. It is a very simple change.
When there are no parameters to pass then you can remove AddParameters from the splat or use a space for the string so it won’t throw errors:
AddParameters = ' '
If you use single quotes, there is no need to escape the double quotes by using multiple double quotes (as suggested below) or the PowerShell escape character ‘ (backtick).
There are 3 "s after the last parameter of 1, closing the first " before CUSTOMCONFIGID
I am uncertain if the /QN will work with that or not, but you’re welcome to omit it to start to see if this syntax works for you. It definitely fixed my issues so hopefully it helps you! (make sure to type these out as copy/paste sometimes uses incorrect characters)