I need to deploy a software for which a license is assigned per each user.
So, actually, I deploy this MSI using the following script:
Code: Select all
@echo off
@cd /D %~dp0
setlocal EnableDelayedExpansion
if %username%==xxxx set varLICENSE="1234 1234 1234 1234"
if %username%==yyyy set varLICENSE="5678 5678 5678 5678"
msiexec /i "software.msi" /qn TRANSFORMS="CUSTOM.mst" LICENSE=%varLICENSE%
endlocal
Thanks for your help.
Nicolas