Section "arcenginesection" sec03
Setoutpath "$ instdir \ engineruntime"
File/R "enginewindows \*.*"
Nsexec: exectolog "$ instdir \ enginerumtime \ setup.exe ";
Pop $0
Strcmp $0 "success" + 1 + 2
Detailprint 'installation of arcengine runtime failed'
Detailprint 'successfully installed arcengine runtime'
Nsexec: exectolog "'C: \ Program Files \ ArcGIS \ bin \ softwareauthorization.exe '-P engine-lif' $ instdir \ enginerumtime \ engine93.ecp '-s ";
Pop $0
Strcmp $0 "success" + 1 + 2
Detailprint 'installation of arcengine runtime licence registration successful'
Delete "$ instdir \ enginerumtime \*.*"
Delete "$ instdir \ enginerumtime \ documentation \*.*"
Rmdir/R "$ instdir \ engineruntime"
Sectionend
The part where the license is registered is
Nsexec: exectolog "'C: \ Program Files \ ArcGIS \ bin \ softwareauthorization.exe '-P engine-lif' $ instdir \ enginerumtime \ engine93.ecp '-s ";
Http://blog.csdn.net/NickWar/archive/2010/02/04/5288987.aspx