Page 1 of 1

software installation with license

Published: January 24, 2019 - 3:43 PM
by verdierr
Hello,

I'm new to creating packages and I need some advice.

I created a package for installing the AIRSERVER software, and the installation goes smoothly, but the license activation doesn't always work.
I have to manually enter the license or restart the uninstallation/reinstallation of the package.

Below is the package code


: # -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []


arguments = {
'PIDKEY':'enter license key here',
'AUTOSTART':'ENABLE',
'PASSWORDTYPE':'PASSCODE',
'CHECKFORUPDATES':'DISABLE',
}

def install():
print('installing stem-airserver-universal-x64-')
install_msi_if_needed('AirServer-5.5.4-x64.msi' , properties=arguments , killbefore= "airserver.exe")