Specifications
' For Single Network License Server
'RunSingleLicenseServerInstall()
'
' End of Script
Wscript.quit()
'
Function RunStandaloneInstall
shell.run DefaultCommand(),2,1
end function
'
Function RunSingleLicenseServerInstall
' Update with the correct information for the license server
strACADStandaloneNetworkType = "3"
strADSKLicenseServerType = "Single Server License"
strADSKLicenseType = "Network License"
strADSKServerPath = "myFlexNetServer"
' HOSTID or MAC address
strADSKServerHOSTID = "000000000000"
'
' Consolidate the two values
strADSKServerPath = strADSKServerPath & " " &
strADSKServerHOSTID
shell.run MakeCommand(),2,1
end function
'
Function DefaultCommand
dim retString
' /qb for silent install ' /c [key] override parameters
for the key
' /w wait until installation completes before returning to
script
' /o reboot after install completes
retString = """" & strSourcePath & "\setup.exe" & """" &
" /t /qb "
If strLocale <> "" then
retString = retString & "/Language " & strLocale
End if
retString = retString & " /c " & productType & ": "
retString = retString & "INSTALLDIR=" & """" & strADSKPath
& """" & " "
retString = retString & "ACADSERIALPREFIX=" &
strADSKSNPrefix & " "
14 | Chapter 2 Alternative Distribution Methods