2011

Table Of Contents
' Source to install from (e.g. D: is assumed to be Install Media)
strSourcePath = "D:\"
'
' Destination to install to
strADSKPath = Shell.ExpandEnvironmentStrings("%ProgramFiles%") +
"\Autodesk\" + "AutoCAD LT 2011"
strADSKPath = strADSKPath + "\"
RunStandaloneInstall()
' End of Script
Wscript.quit()
function RunStandaloneInstall()
dim retString
'
retString = """" & strSourcePath & "\setup.exe" & """" & "/w /t
/qb "
retString = retString & " /c " & productType & ": "
retString = retString & "INSTALLDIR=" & """" & strADSKPath & """"
& " "
retString = retString & "ACADSERIALPREFIX=" & strADSKSNPrefix &
" "
retString = retString & "ACADSERIALNUMBER=" & strADSKSNNumber &
" "
retString = retString & "ADLM_PRODKEY=" & strADSKProdKey & " "
retString = retString & "ACADFIRSTNAME=" & """" & strADSKFirstName
& """" & " "
retString = retString & "ACADLASTNAME=" & """" & strADSKLastName
& """" & " "
retString = retString & "ACADORGANIZATION=" & """" & strADSKOrgan
ization & """" & " "
retString = retString & "InstallLevel=5 "
shell.run retString,2,1
end function
Use Switches and Flags in Scripts
The following table lists all of the switches and flags that are relevant to
installation.
Use Switches and Flags in Scripts | 73