1st Posted June 17, 2008 Posted June 17, 2008 I need hep for my inf missising icon shortcutthis my inf;The Ultimate HD Codec[Version]Signature=$Windows NT$[Optional Components]CoreCodec[SourceDisksNames]1= %SourceFileDesc%,,0[DefaultInstall]ProfileItems=CoreCodec.AddshortcutCopyFiles=CoreCodec.copyCopyINF=CoreCodec.infAddReg=CoreCodec.AddRegregisterDlls=regCodec.RegSvr[CoreCodec]OptionDesc="CoreCodec"Tip="The Ultimate HD Codec"Modes=0,1,2,3ProfileItems=CoreCodec.AddshortcutCopyFiles=CoreCodec.copyCopyINF=CoreCodec.infAddReg=CoreCodec.AddRegregisterDlls=regCodec.RegSvr[DestinationDirs]CoreAVCDecoder.ax=11CoreCodec.inf=17CoreAVC.ico=11[SourceDisksFiles]CoreAVCDecoder.ax=1CoreAVC.ico=1CoreCodec.inf=1[CoreCodec.copy]CoreAVCDecoder.axCoreAVC.ico[CoreCodec.inf]CoreCodec.inf[CoreCodec.AddReg]HKLM,"SOFTWARE\CoreCodec",,0x00000010HKLM,"SOFTWARE\CoreCodec\CoreAVC Pro","User",0,"Registered User"HKLM,"SOFTWARE\CoreCodec\CoreAVC Pro","Serial",0,"xxxxx-xxxxx-xxxx-xxxxx-xxxxx"HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32","CoreAVC",0,"CoreAVCDecoder.ax"HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc","CoreAVCDecoder.ax",0,"H264 CoreAVC"[regCodec.RegSvr]11,,CoreAVCDecoder.ax, 1[CoreCodec.Addshortcut]Name =CoreAVCCmdLine =11,,rundll32.exe "CoreAVCDecoder.ax,Configure"SubDir =CoreAVCicon =11,,CoreAVC.icoWorkingDir =11InfoTip = "The Ultimate HD Codec"[Strings]SourceFileDesc = "Windows Media Files"sorry bad english Quote
ricktendo Posted June 17, 2008 Posted June 17, 2008 OK you need to tell me what is the directory of the DLL or EXE file that has the icon is because you have to specify the path and number, also how manny icons does that file have in itHere is an example using a icon in shell32.dll (Its Icon number 224 but you don't use that number, you use the order starting from zero)[CoreCodec.Addshortcut]Name =CoreAVCCmdLine =11,,rundll32.exe "CoreAVCDecoder.ax,Configure"SubDir =CoreAVCWorkingDir =11IconPath =11,,shell32.dll;<- Path to file with iconIconIndex =115;<- number/order of icon in shell32.dllInfoTip = "The Ultimate HD Codec" Quote
1st Posted June 18, 2008 Author Posted June 18, 2008 I not use DLL or EXE file but i use icon files Quote
ricktendo Posted June 18, 2008 Posted June 18, 2008 OH! OK I just noticed that ICO files can be used also (for these you dont need IconIndex);The Ultimate HD Codec[Version]Signature=$Windows NT$[Optional Components]CoreCodec[SourceDisksNames.x86]1= "%SourceFileDesc%","NameOfCab.cab",,"i386" ; <- Change with the name of your cab archive[DefaultInstall]ProfileItems=CoreCodec.AddshortcutCopyFiles=CoreCodec.copyCopyINF=CoreCodec.infAddReg=CoreCodec.AddRegregisterDlls=regCodec.RegSvr[CoreCodec]OptionDesc="CoreCodec"Tip="The Ultimate HD Codec"Modes=0,1,2,3ProfileItems=CoreCodec.AddshortcutCopyFiles=CoreCodec.copyCopyINF=CoreCodec.infAddReg=CoreCodec.AddRegregisterDlls=regCodec.RegSvr[DestinationDirs]CoreCodec.copy=11CoreCodec.inf=17; here you list the section names not the filenames[SourceDisksFiles]CoreAVCDecoder.ax=1CoreAVC.ico=1;CoreCodec.inf=1 <- not needed[CoreCodec.copy]CoreAVCDecoder.axCoreAVC.ico[CoreCodec.inf]CoreCodec.inf[CoreCodec.AddReg]HKLM,"SOFTWARE\CoreCodec",,0x00000010HKLM,"SOFTWARE\CoreCodec\CoreAVC Pro","User",0,"Registered User"HKLM,"SOFTWARE\CoreCodec\CoreAVC Pro","Serial",0,"xxxxx-xxxxx-xxxx-xxxxx-xxxxx"HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32","CoreAVC",0,"CoreAVCDecoder.ax"HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc","CoreAVCDecoder.ax",0,"H264 CoreAVC"[regCodec.RegSvr]11,,CoreAVCDecoder.ax,1[CoreCodec.Addshortcut]Name =CoreAVCCmdLine =11,,rundll32.exe "CoreAVCDecoder.ax,Configure"SubDir =CoreAVCWorkingDir =11IconPath =11,,CoreAVC.icoInfoTip = "The Ultimate HD Codec"[Strings]SourceFileDesc = "Windows CD/DVD-Rom" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.