windows - When installing a .msi using powershell - is there a way of pasting in the authentication code for the software within the script? -


the key same. have saved in text document in same folder msi.

a pseudo outline be:

start-process -filepath "h:\software\software_x64.msi"  "authenticationcode" key.txt  paste "authenticationcode" softwarewindow  nextnextnext finish 

cheers assistance

i didn't tried buti think 1 way use msiexec.exe , pass serial argument.

$mycode = get-content key.txt msiexec /i "yourmsi.msi" "serialnumber=$mycode" 

i found link

also have @ m$

greets eldo.ob


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -