[SETUP]
PLATFORM=x64
SETUP_CODE={CDEBDA2B-2020-4341-ADFE-5D6499239B9D}

TITLE=\SketchBook Pro
LOG=%tmp%\Autodesk_SketchBookPro_Setup.log
EVALMSI=SetupRes\eval.msi
PRIMARY_MSI=x64\SBP\SBP.msi
II_ENABLED=YES
RESOURCE_PATH=%lang%\SetupRes
SYSUPDATE=MSI
INSTALL_PATH=%ProgramFiles%\Autodesk
LPMODE=NO_ADD_LP

UPI2_GENERATE=YES
UPI2_PRODUCTLINE=SBPNL
UPI2_RELEASE=2020
UPI2_UNITTYPE=PRD
UPI2_ALT_BUILDNUM=msiprop:BUILDNUMBER
UPI1_MASTER_ID=NA

DEFAULTMEDIALANGUAGE=NA
AVAILABLELANGUAGES=en-US;de-DE;fr-FR;ja-JP;pt-BR;zh-TW;es-ES;it-IT;ko-KR;zh-CN;ru-RU 
PRODLINE=SBPNL

#============================= Help Link =============================
DOCUMENT_LINK=https://up.autodesk.com/2020/SBPNL/sketchbook_pro_2020_installation_help_%setupuilang%.htm
DOCUMENT_FALLBACK_LINK=Readme.html
SYSTEMREQUIRE_LINK=https://up.autodesk.com/2020/SBPNL/sketchbook_pro_2020_system_requirements_%setupuilang%.htm
SYSTEMREQUIRE_FALLBACK_LINK=Readme.html
SUPPORT_LINK=https://up.autodesk.com/2020/SBPNL/sketchbook_pro_2020_release_notes_%setupuilang%.htm
SUPPORT_FALLBACK_LINK=Readme.html
ERROR_PAGE=SetupRes\InfoLink\404.html

#============================= Platform Requirement =============================
OSMAJVER=6
OSMINVER=1
SPMAJVER=1

#============================= UI =============================
TOP_BANNER=SetupRes\SBP_TopBanner.png
LOADING_IMAGE=SetupRes\SBP_background.png
BACKGROUND_IMAGE=SetupRes\SBP_background.png
SETUP_ICON=SetupRes\SBP.ico
LOGO=SetupRes\Adsk_white.png
UI_MODE=

#============================= Deployment Info =============================
DEPLOYMENT_NAME=
CLIENT_LOGGING=YES
EXTRA_FILES=acad;*.exe:*.pit:Setup:CER:eula:nlsdl:setupres:%lang%:3rdParty\x64:x64\Tools

#============================= Install Execute and UI Sequence =============================
EXE_SEQUENCE=SBP;NLM;ADSKAPP;AGS
INSTALL_SEQUENCE=SBP;NLM;ADSKAPP;AGS
UI_SEQUENCE=LaunchDlg;BeginDeploymentDlg;LicenseDlg;ProductInfoDlg;ProductSelectionDlg2;ADSKLICENSING;SBP;NLM;FullProgressDlg;InstallCompleteDlg;DeploymentCompleteDlg;DeploymentFailedDlg;ADSKAPP

#============================= AdLM ProdKey Info =============================
ADLM_CONFIG_FILE=Setup\SketchBookProConfig.pit
ADLM_PIT_DLL=Setup\adlmPIT.dll
ADLM_VERSION=2020.0.0.F
ADLM_TRIAL_DAYS=30

#==================== Install Info

CREATE_DESKTOP_SHORTCUT=YES

#==================== Global MSI Properties
PATH_LENGTH=100

[GLOBAL_MSI_PROPERTIES]

#============================= SBP =============================

[SBP]
PLATFORM=x64
PRODUCT_NAME=SketchBook® Pro
PREREQUISITE=IE;VCREDIST2010SP1X64;VCREDIST2012X86;VCREDIST2012X64;VCREDIST2015X86;VCREDIST2015X64;ADSKAPP;ADSKLICENSING
SHAREDREQUISITE=
POSTREQUISITE=AdSSO
EXE_PATH=x64\SBP\SBP.msi
EXE_PARAM=
EXTRA_FILES=SBP;x64\SBP\*.pit
LOG=%tmp%\Autodesk_SketchBookPro_2020_(64-bit)Install.log
ROLLBACKABLE=NO
ADMIN_INSTALL=YES
PRODUCT_MESSAGE=SetupRceUIRes.dll;1102
EULA_PATH=eula
ACTION=INSTALL
USE_EXTERNAL_UI=YES
EXTRA_FEATURES=DeployUiFeature;SetupIniFeature
UI_SEQUENCE=InstallTypePage
MAINTENANCE_UI_SEQUENCE=MaintenanceDlg;AddRemoveFeaturesDlg;RepairDlg;MaintVerifyReadyDlg;FullProgressDlg;MaintCompleteDlg;MaintFailedDlg
UPI2_ENABLED=YES
UPI2_GENERATE=YES
UPI2_PRODUCTLINE=SBPNL
UPI2_RELEASE=2020
UPI1_MASTER_ID=WIN64
UPI2_UNITTYPE=APP
UPI2_ROOTFEATURE=SketchBookPro
UPI2_ALT_BUILDNUM=msiprop:BUILDNUMBER
LPMODE=MLD_ADR
DEFAULTMEDIALANGUAGE=zh-CN
AVAILABLELANGUAGES=en-US;de-DE;fr-FR;ja-JP;pt-BR;zh-TW;es-ES;it-IT;ko-KR;zh-CN;ru-RU 
LAUNCH_SHORTCUT=Autodesk SketchBook Pro 2020\SketchBook Pro 2020.lnk
DISK_PROMPT=SetupRceUiRes.dll;395;395
DISK_LABEL=SBPE2020;SBPE2020


[ADSKAPP]
PLATFORM=NATIVE
ACTION=INSTALL
UI_SEQUENCE=AdAppManPage
PRODUCT_NAME=Autodesk Desktop App
PRODUCT_MESSAGE=SetupRes.dll;710
EXE_PATH=x86\ADSKAPP\AdApplicationManager-WebInstaller.exe
EXE_PARAM=
IGNORE_FAILURE=YES
HIDDEN_COMPONENT=YES
DISKCOST=80000000
DISK_PROMPT=SetupRceUiRes.dll;395;395
DISK_LABEL=SBPE2020;SBPE2020

[AGS]
PLATFORM=NATIVE
UI_PROPERTY=ENABLE_ARP_ENTRY;
MINORUPGRADE_PREV_VERSION=YES
IGNORE_FAILURE=YES
PRODUCT_NAME=Autodesk Genuine Service
LOG=%tmp%\AGS Install.log
EXE_PATH=%platform%\AGS\Autodesk Genuine Service.msi
ACTION=INSTALL
ROLLBACKABLE=NO
HIDDEN=YES
UI_SEQUENCE=
ADMIN_INSTALL=YES
HIDDEN_COMPONENT=YES
DISKCOST=80000000

[ADSKLICENSING]
PLATFORM=NATIVE
PREREQUISITE=VCREDIST2015X86
POSTREQUISITE=AdSSO
ACTION=
UI_SEQUENCE=
PRODUCT_NAME=Autodesk Licensing
PRODUCT_MESSAGE=SetupRes.dll;710
EXE_PATH=x86\AdskLicensing\AdskLicensing-installer.exe
EXE_PARAM=--mode unattended --unattendedmodeui none
HIDDEN_COMPONENT=YES
DISKCOST=80000000

[AdSSO]
PLATFORM=x64
UI_PROPERTY=ENABLE_ARP_ENTRY;
PREREQUISITE=
POSTREQUISITE=
PRODUCT_NAME=Autodesk AdSSO
PRODUCT_MESSAGE=
LOG=%tmp%\AdSSO 2020 Install.log
EXE_PATH=x64\AdSSO\AdSSO.msi
EXE_PARAM=
ACTION=INSTALL
REMOVE_PATH=
USE_EXTERNAL_UI=YES
UI_SEQUENCE=AddAdditionalFilesPage;ServicePackPageForDeploy;ServicePackPageForInstall
MAINTENANCE_UI_SEQUENCE=MaintenanceDlg;AddRemoveFeaturesDlg;RepairDlg;MaintVerifyReadyDlg;FullProgressDlg;MaintCompleteDlg;MaintFailedDlg
ADMIN_INSTALL=YES
EXTRA_FILES=
DISK_PROMPT=SetupRceUiRes.dll;395;395
DISK_LABEL=SBPE2020;SBPE2020
EXTRA_FEATURES=DeployUiFeature;SetupIniFeature

#================================================= Autodesk tools ============================================================
[NLM]
PLATFORM=x64
PRODUCT_NAME=Network License Manager
LOG=%tmp%\NLM Install.log
EXE_PATH=x64\Tools\NLM\NLM.msi
INSTALL_TYPE=4
ACTION=INSTALL
IGNORE_FAILURE=YES
ALLOW_ADD_REMOVE=NO
DISKCOST=???
EULA_PATH=eula
DISK_PROMPT=SetupRceUiRes.dll;395
DISK_LABEL=SBPE2020;SBPE2020


#================================================= 3rd Party Components ============================================================

[IE]
PRODUCT_NAME=Internet Explorer 7
PRODUCT_MESSAGE=SetupRes.dll;209
VC_FUNC=IeVerCheck
VC_SOURCE=Setup\SetupUi.dll
VC_SOURCE_II=AdAppMgrSetup.dll
VC_PARAM=7.0.5730;7.0;1
VC_DESCRIPTION=Detecting Internet Explorer 7
ACTION=INSTALL
EXE_PATH=NULL

[MSI]
PLATFORM=ALL
PRODUCT_NAME=Windows Installer Redistributable
EXE_PATH=3rdParty\MSI
EXE_PARAM=/quiet /norestart
VC_FUNC=MsiVerCheck
VC_SOURCE=Setup\SetupUi.dll
VC_SOURCE_II=AdAppMgrSetup.dll
VC_PARAM=4.0
VC_DESCRIPTION=Detecting MSI



[NLSDL]
PLATFORM=NATIVE
PRODUCT_NAME=Microsoft NLS Downlevel APIs
EXE_PATH=NLSDL\nlsdl.x86.exe
EXE64_PATH=NLSDL\nlsdl.amd64.exe
EXE_PARAM=/quiet /norestart
IGNORE_FAILURE=YES


#============= VCREDIST Begin ===============
[VCREDIST2015X86]
PLATFORM=ALL
PRODUCT_NAME=Microsoft Visual C++ 2015 Redistributable (x86)
PREREQUISITE=UCRT
EXE_PATH=3rdParty\x86\VCRedist\2015\vcredist_x86.exe
EXE_PARAM=/install /q /norestart /log %temp%\vcredist_x86_2015.log
ROLLBACKABLE=NO
IGNORE_FAILURE=YES
IGNORE_ERROR=5100
DISKCOST=45002244

[VCREDIST2015X64]
PLATFORM=x64
PRODUCT_NAME=Microsoft Visual C++ 2015 Redistributable (x64)
PREREQUISITE=UCRT
EXE64_PATH=3rdParty\x64\VCRedist\2015\vcredist_x64.exe
EXE_PARAM=/install /q /norestart /log %temp%\vcredist_x64_2015.log
ROLLBACKABLE=NO
IGNORE_FAILURE=YES
IGNORE_ERROR=5100
DISKCOST=55002244

[VCREDIST2012X86]
PLATFORM=ALL
PRODUCT_NAME=Microsoft Visual C++ 2012 Redistributable (x86)
EXE_PATH=3rdParty\x86\VCRedist\2012UPD4\vcredist_x86.exe
EXE_PARAM=/install /quiet /norestart
IGNORE_ERROR=5100

[VCREDIST2012X64]
PLATFORM=x64
PRODUCT_NAME=Microsoft Visual C++ 2012 Redistributable (x64)
EXE64_PATH=3rdParty\x64\VCRedist\2012UPD4\vcredist_x64.exe
EXE_PARAM=/install /quiet /norestart
IGNORE_ERROR=5100

[VCREDIST2010SP1X86]
PLATFORM=ALL
PRODUCT_NAME=Microsoft Visual C++ 2010 SP1 Redistributable (x86)
EXE_PATH=3rdParty\x86\VCRedist\2010SP1\vcredist_x86.exe
EXE_PARAM=/q /norestart
VC_FUNC=VCx86RedisCheck
VC_SOURCE=Setup\SetupUi.dll
VC_SOURCE_II=AdAppMgrSetup.dll
VC_PARAM={F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
IGNORE_ERROR=5100
#============================= UCRT =============================

[UCRT]
PLATFORM=NATIVE
PRODUCT_NAME=Universal C Runtime (KB3118401)
EXE_PATH=3rdParty\ucrt\AdUcrtInstaller.exe
EXE_PARAM=/S
IGNORE_FAILURE=YES
DISKCOST=11001000


[VCREDIST2010SP1X64]
PLATFORM=x64
PRODUCT_NAME=Microsoft Visual C++ 2010 SP1 Redistributable (x64)
EXE64_PATH=3rdParty\x64\VCRedist\2010SP1\vcredist_x64.exe
EXE_PARAM=/q /norestart
VC_FUNC=VCx64RedisCheck
VC_SOURCE=Setup\SetupUi.dll
VC_SOURCE_II=AdAppMgrSetup.dll
VC_PARAM={1D8E6291-B0D5-35EC-8441-6616F567A0F7}
IGNORE_ERROR=5100

[VCREDIST2005SP1ATLX86]
PLATFORM=ALL
PRODUCT_NAME=Microsoft Visual C++ 2005 SP1 Redistributable ATL Security Update (x86)
EXE_PATH=3rdParty\x86\VCRedist\2005SP1ATL\vcredist_x86.exe
EXE_PARAM=/q:a /T:%windir%\temp /c:"VCREDI~3.EXE /q:a /c:""msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x86_2005.log"" "
VC_SOURCE=Setup\SetupUi.dll
VC_SOURCE_II=AdAppMgrSetup.dll
VC_FUNC=VCx86RedisCheck
VC_PARAM={837b34e3-7c30-493c-8f6a-2b0f04e2912c}
IGNORE_ERROR=5100

[VCREDIST2005SP1ATLX64]
PLATFORM=x64
PRODUCT_NAME=Microsoft Visual C++ 2005 SP1 Redistributable ATL Security Update (x64)
EXE64_PATH=3rdParty\x64\VCRedist\2005SP1ATL\vcredist_x64.exe
EXE_PARAM=/q:a /T:%windir%\temp /c:"VCREDI~2.EXE /q:a /c:""msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x64_2005.log"" "
VC_FUNC=VCx64RedisCheck
VC_SOURCE=Setup\SetupUi.dll
VC_SOURCE_II=AdAppMgrSetup.dll
VC_PARAM={6ce5bae9-d3ca-4b99-891a-1dc6c118a5fc}
IGNORE_ERROR=5100


[VCREDIST2008SP1X86]
PLATFORM=ALL
PRODUCT_NAME=Microsoft Visual C++ 2008 SP1 Redistributable (x86)
EXE_PATH=3rdParty\x86\VCRedist\2008SP1\vcredist_x86.exe
EXE_PARAM=/q
VC_FUNC=VCx86RedisCheck
VC_SOURCE=Setup\SetupUi.dll
VC_SOURCE_II=AdAppMgrSetup.dll
VC_PARAM={1F1C2DFC-2D24-3E06-BCB8-725134ADF989}
IGNORE_ERROR=5100

[VCREDIST2008SP1X64]
PLATFORM=x64
PRODUCT_NAME=Microsoft Visual C++ 2008 SP1 Redistributable (x64)
EXE64_PATH=3rdParty\x64\VCRedist\2008SP1\vcredist_x64.exe
EXE_PARAM=/q
VC_FUNC=VCx64RedisCheck
VC_SOURCE=Setup\SetupUi.dll
VC_SOURCE_II=AdAppMgrSetup.dll
VC_PARAM={4B6C7001-C7D6-3710-913E-5BC23FCE91E6}
IGNORE_ERROR=5100



#==================== Common Main Pages: Install Mode

[LaunchDlg]
UI_CREATOR=LaunchDialog
UI_SOURCE=Setup\SetupAcadUi.dll
BACKGROUND_IMAGE=SetupRes\SBP_background.png

[LicenseDlg]
UI_CREATOR=LicenseDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=NOT ADSK_OEMPREINSTALL

[ProductSelectionDlg2]
UI_CREATOR=ProductSelectionDialog2
UI_SOURCE=Setup\SetupAcadUi.dll
BACKGROUND_IMAGE=SetupRes\SBP_background.png

[ProductInfoDlg]
UI_CREATOR=ProductInfoDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=ADSK_LAUNCH_MODE<>"TOOLS" AND NOT ADSK_OEMPREINSTALL

[FullProgressDlg]
UI_CREATOR=FullProgressDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_INFOTAINMENT_PATH=SetupRes\Infotainment\Images
UI_INFOTAINMENT_ELAPSE=18000
BACKGROUND_IMAGE=SetupRes\SBP_background.png

[InstallCompleteDlg]
UI_CREATOR=InstallCompleteDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=ADSK_LAUNCH_MODE<>"DEPLOYMENT" AND ADSK_LAUNCH_MODE<>"MINIMAL_DEPLOYMENT"
BACKGROUND_IMAGE=SetupRes\SBP_background.png

#==================== Common Main Pages: Deploy Mode

[BeginDeploymentDlg]
UI_CREATOR=BeginDeploymentDialog
UI_SOURCE=Setup\DeployUi.dll
UI_CONDITION=ADSK_LAUNCH_MODE="DEPLOYMENT" OR ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT"

[DeploymentCompleteDlg]
UI_CREATOR=DeploymentCompleteDialog
UI_SOURCE=Setup\DeployUi.dll
UI_CONDITION=(ADSK_LAUNCH_MODE="DEPLOYMENT" OR ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT") AND ADSK_SETUP_SUCCEEDED
BACKGROUND_IMAGE=SetupRes\SBP_background.png

[DeploymentFailedDlg]
UI_CREATOR=DeploymentFailedDialog
UI_SOURCE=Setup\DeployUi.dll
UI_CONDITION=(ADSK_LAUNCH_MODE="DEPLOYMENT" OR ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT") AND NOT ADSK_SETUP_SUCCEEDED
BACKGROUND_IMAGE=SetupRes\SBP_background.png

#==================== Common Config pages: Install Mode

[InstallTypePage]
UI_CREATOR=InstallTypePage
UI_SOURCE=Setup\SetupAcadUi.dll

#==================== Common Config Pages: Deploy Mode

[ContentLocationPage]
UI_CREATOR=ContentLocationPage
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=ADSK_LAUNCH_MODE="DEPLOYMENT" OR ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT"


[PathCustomizationPage]
UI_CREATOR=PathCustomizationPage
UI_SOURCE=Setup\DeployUi.dll
UI_CONDITION=ADSK_LAUNCH_MODE="DEPLOYMENT" OR ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT"


[AddAdditionalFilesPage]
UI_CREATOR=AddAdditionalFilesPage
UI_SOURCE=Setup\DeployUi.dll
UI_CONDITION=ADSK_LAUNCH_MODE="DEPLOYMENT" OR ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT"


[WorkstationSettingPage]
UI_CREATOR=WorkstationSettingPage
UI_SOURCE=Setup\DeployUi.dll
UI_CONDITION=ADSK_LAUNCH_MODE="DEPLOYMENT" OR ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT"


[ServicePackPageForDeploy]
UI_CREATOR=ServicePackPage
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=ADSK_LAUNCH_MODE="DEPLOYMENT" OR ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT"


[ServicePackPageForInstall]
UI_CREATOR=ServicePackPage
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=ADSK_RUNNING_FROM_ADMIN="FALSE" AND NOT ADSK_LAUNCH_MODE="DEPLOYMENT" AND NOT ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT"


[InfoCenterCommCenterPage]
UI_CREATOR=InfoCenterCommCenterPage
UI_SOURCE=Setup\DeployUi.dll
UI_CONDITION=ADSK_LAUNCH_MODE="DEPLOYMENT" OR ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT"


[OnlineResourcesPage]
UI_CREATOR=OnlineResourcesPage
UI_SOURCE=Setup\DeployUi.dll
UI_CONDITION=ADSK_LAUNCH_MODE="DEPLOYMENT" OR ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT"

[AdAppManPage]
UI_CREATOR=AdAppManPage
UI_SOURCE=Setup\DeployUi.dll
UI_CONDITION=ADSK_LAUNCH_MODE="DEPLOYMENT" OR ADSK_LAUNCH_MODE="MINIMAL_DEPLOYMENT"

#==================== Common Main Pages: Maintenance Mode

[MaintenanceDlg]
UI_CREATOR=MaintenanceDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=NOT ADSK_OEMPREINSTALL
BACKGROUND_IMAGE=SetupRes\SBP_background.png

[AddRemoveFeaturesDlg]
UI_CREATOR=AddRemoveFeaturesDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=NOT ADSK_OEMPREINSTALL AND NOT REINSTALL="ALL" AND NOT REMOVE="ALL"


[RepairDlg]
UI_CREATOR=RepairDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=NOT ADSK_OEMPREINSTALL AND REINSTALL="ALL"


[MaintVerifyReadyDlg]
UI_CREATOR=MaintVerifyReadyDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=NOT ADSK_OEMPREINSTALL


[MaintCompleteDlg]
UI_CREATOR=MaintCompleteDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=NOT ADSK_OEMPREINSTALL AND ADSK_SETUP_SUCCEEDED
BACKGROUND_IMAGE=SetupRes\SBP_background.png

[MaintFailedDlg]
UI_CREATOR=MaintFailedDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=NOT ADSK_OEMPREINSTALL AND NOT ADSK_SETUP_SUCCEEDED
BACKGROUND_IMAGE=SetupRes\SBP_background.png

[OemPreinstallLicenseDlg]
UI_CREATOR=LicenseDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=ADSK_OEMPREINSTALL="1"

[OemPreinstallProductInfoDlg]
UI_CREATOR=ProductInfoDialog
UI_SOURCE=Setup\SetupAcadUi.dll
UI_CONDITION=ADSK_OEMPREINSTALL="1"











