Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Silent install application with varying license key (not with TS)

$
0
0

Hi guys

I want to deploy an application through sccm 2012 r2 with a license key in the command line. So far no problem, with the paramaterISX_SERIALNUMBER="XXX" I can handle that. So command line looks like: 

msiexec /i "XY.msi" ISX_SERIALNUMBER="XXX"

But here's the problem. That license key changes very often, usually a key can just be used for 2-3 installation. After that I get a new key which I have to use (we have no volume licensing... yes I know... do not ask...).

I tried to create a machine variable (device - properties - variables) with the license key. but I didn't manage to get the variable in the command line correctly. I triedISX_SERIALNUMBER="%variable%" but it didn't work. I realised that those variables just can be used with a TS. But I really don't want to use a TS for software deployments...

After that I thought I'll try to get the variable with powershell and it worked. But just with an Administrator account who has access to the server. If i run the script in system context while deploying, it fails...

Does anyone have another way to deploy Software with a Licence Key as a computer variable? Or any other way to specify a specific Licence key for a specific computer?

thanks in advance

p.s. I know I could entering it manually... but that's not an option at this time.


Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>