Option 1 of install script doesn't seem to work with ASSIGNMENTOPTIONS


Just trying to get a deployment script / one-liner to work on a client. When I run it, I get the msiexec help file popup. Here's the line - hope someone can point out my error because I can't figure out which isn't working with the ASSIGNMENTOPTIONS tag (removing that part results in the install completing).

msiexec.exe /i "\\someserver\tv\TeamViewer_Host.msi" /qn APITOKEN=XXXXX CUSTOMCONFIGID=XXXXXXX ASSIGNMENTOPTIONS="--alias %ComputerName% --grant-easy-access --group-id gXXXXXXXX"



  • kboddy
    kboddy Posts: 2 ✭✭

    OK... Figured it out... Seems to only work in a Command Prompt, not Powershell. Guess I was assuming the msiexec.exe was the same program with the same features while run from either prompts... funny.