Understanding numeric ID used in ActiveX installer .INF file
From a sample .INF file of Citrix XenApp Web Plug for IE, you’ll see there are various numeric IDs that are being used say 24, 17, etc., while specifying the path of the location in .INF file. Sample of WfiCat.inf [DefaultInstall] Addreg=SampleClassReg CopyFiles=InstallFilesSection,InstallResourceFilesSection,InstallInfSection RunPostSetupCommands=PostSetupCmdSection [DefaultUninstall] DelReg=SampleClassUnReg DelFiles=InstallFilesSection,InstallResourceFilesSection,InstallInfSection,LogFileSection DelDirs=RemoveDirSection [LogFileSection] ICO.LOG [RemoveDirSection] %24%\%PROGRAMF%Citrixicaweb32%RES_DIR%%LANGUAGE% %24%\%PROGRAMF%Citrixicaweb32%RES_DIR% %24%\%PROGRAMF%Citrixicaweb32 [PostSetupCmdSection] %24%%PROGRAMF%Citrixicaweb32wfica32.exe /license [SampleClassReg] HKCR,"WinFrameICADefaultIcon",,,"%24%%PROGRAMF%Citrixicaweb32wfica32.exe,1" HKCR,"TypeLib{238F6F80-B8B4-11CF-8771-00A024541EE3}2.4" HKCR,"TypeLib{238F6F80-B8B4-11CF-8771-00A024541EE3}2.4win32",,,"%24%%PROGRAMF%Citrixicaweb32WFICA.OCX" HKCR,"TypeLib{238F6F80-B8B4-11CF-8771-00A024541EE3}2.4FLAGS",,,"0" HKCR,"TypeLib{238F6F80-B8B4-11CF-8771-00A024541EE3}2.4HELPDIR",,,"%24%%PROGRAMF%Citrixicaweb32" HKCR,"TypeLib{238F6F85-B8B4-11CF-8771-00A024541EE3}2.4",,,"Citrix ICA Client" HKCR,"TypeLib{238F6F85-B8B4-11CF-8771-00A024541EE3}2.4" HKCR,"TypeLib{238F6F85-B8B4-11CF-8771-00A024541EE3}2.4win32",,,"%24%%PROGRAMF%Citrixicaweb32WFICA.OCX" HKCR,"TypeLib{238F6F85-B8B4-11CF-8771-00A024541EE3}2.4FLAGS",,,"0" HKCR,"TypeLib{238F6F85-B8B4-11CF-8771-00A024541EE3}2.4HELPDIR",,,"%24%%PROGRAMF%Citrixicaweb32" HKCR,"MIMEDatabaseContent Typeapplication/x-ica" . .. … [DestinationDirs] InstallFilesSection=24,%PROGRAMF%Citrixicaweb32 InstallResourceFilesSection=24,%PROGRAMF%Citrixicaweb32%RES_DIR%%LANGUAGE% InstallInfSection=17 LogFileSection=24,%PROGRAMF%Citrixicaweb32 [Strings] PROGRAMF="Progra~1" RES_DIR=Resource ; ; Language-dependent text follows. ; In the above file, under [DestinationDirs] […]
Read more