LeGendxp Posted January 23, 2010 Posted January 23, 2010 Hellohow can i put Addon (program) in add/remove windows components????How can i do???? Quote
ricktendo Posted January 24, 2010 Posted January 24, 2010 1st you need to make it visible in Add/Rem Win Components by removing HIDE from the sysoc entry[sysoc]Example=ocgen.dll,OcEntry,%maininf%,HIDE,7It will look like[sysoc]Example=ocgen.dll,OcEntry,%maininf%,,7Then in your Optional Component section you add a Uninstall directive which will point to a Uninstall section with DelFiles, DelReg and stuff[Optional Components]Example[Example]OptionDesc ="Example"Tip ="Example Add/Rem Win Cmpnts Uninstall."Modes =0,1,2,3CopyFiles =CopyFileSectionAddReg =AddRegSectionUninstall =UninstallSection[uninstallSection]DelFiles=DelFilesSectionDelReg =DelRegSectionTake a look and see how Windows does it, open accessor.inf, shl_img.inf and other inf files to get a good idea Quote
kiki burgh Posted January 24, 2010 Posted January 24, 2010 (edited) Hellohow can i put Addon (program) in add/remove windows components????How can i do????hi! you meant you wanted entries present in add/remove programs? not all addons put entries (specially for true addons that are fully integrated to your os) in arp while some do. which particular addons are you referring to? perhaps you can extract the contents & study the .inf & .ini files contained. if it is for uninstall purposes, try to request from the addon creator an uninstallable ver. cheers!edit:hehe! only realized rick already posted after submitting my reply.LeGendxp, rick likewise answered similar q here: How do addon Edited January 24, 2010 by kiki burgh Quote
LeGendxp Posted January 24, 2010 Author Posted January 24, 2010 (edited) 1st you need to make it visible in Add/Rem Win Components by removing HIDE from the sysoc entryIt will look likeThen in your Optional Component section you add a Uninstall directive which will point to a Uninstall section with DelFiles, DelReg and stuffTake a look and see how Windows does it, open accessor.inf, shl_img.inf and other inf files to get a good ideathanx for replayi cant use accessor.inf or any files like thisis there any way to make that without those files such as with regestry ??????like this[Version]Signature="$Windows NT$"[Optional Components]Name[VideoLAN]OptionDesc ="name"Tip ="%name%"Modes = 0,1,2,3AddReg = name.Option.Reg,name.Option.MarkInstalled,name.Option.Installed[name.Option.Reg]HKLM,"%SMWCV%\Setup\OptionalComponents","name",,"name"HKLM,"%SMWCV%\Setup\OptionalComponents\name",INF,,"name.inf"HKLM,"%SMWCV%\Setup\OptionalComponents\name",Section,,"name"HKLM,"%SMWCV%\Setup\OptionalComponents\name",Installed,,"0"[name.Option.MarkInstalled]HKLM,"%SMWCV%\Setup\OptionalComponents\name",Installed,,"1"[name.Option.MarkRemoved]HKLM,"%SMWCV%\Setup\OptionalComponents\name",Installed,,"0"[name.Option.Installed]HKLM,"%SMWCV%\Setup\Oc Manager\Subcomponents","name",0x10001,1[name.Options.Reg]HKLM,"%SMWCV%\Setup\OptionalComponents","name"HKLM,"%SMWCV%\Setup\OptionalComponents\name"HKLM,"%SMWCV%\Setup\Oc Manager\Subcomponents","name"onlythanx again :giveheart: Edited January 24, 2010 by LeGendxp Quote
LeGendxp Posted January 24, 2010 Author Posted January 24, 2010 hi! you meant you wanted entries present in add/remove programs? not all addons put entries (specially for true addons that are fully integrated to your os) in arp while some do. which particular addons are you referring to? perhaps you can extract the contents & study the .inf & .ini files contained. if it is for uninstall purposes, try to request from the addon creator an uninstallable ver. cheers!edit:hehe! only realized rick already posted after submitting my reply.LeGendxp, rick likewise answered similar q here: How do addonthanx for replayi meant i put the addon in windows components not in add/remove program !!thanx again Quote
ricktendo Posted January 24, 2010 Posted January 24, 2010 No you cannot use just the registry, you need to have a INF installer/uninstaller and have it also listed in sysoc.inf Quote
LeGendxp Posted January 24, 2010 Author Posted January 24, 2010 (edited) like this man[Version]Signature="$Windows NT$"[Optional Components]Name[VideoLAN]OptionDesc ="name"Tip ="%name%"Modes = 0,1,2,3AddReg = name.Option.Reg,name.Option.MarkInstalled,name.Option.Installed,name.uninstall[name.Option.Reg]HKLM,"%SMWCV%\Setup\OptionalComponents","name",,"name"HKLM,"%SMWCV%\Setup\OptionalComponents\name",INF,,"name.inf"HKLM,"%SMWCV%\Setup\OptionalComponents\name",Section,,"name"HKLM,"%SMWCV%\Setup\OptionalComponents\name",Installed,,"0"[name.Option.MarkInstalled]HKLM,"%SMWCV%\Setup\OptionalComponents\name",Installed,,"1"[name.Option.MarkRemoved]HKLM,"%SMWCV%\Setup\OptionalComponents\name",Installed,,"0"[name.Option.Installed]HKLM,"%SMWCV%\Setup\Oc Manager\Subcomponents","name",0x10001,1[name.Options.Reg]HKLM,"%SMWCV%\Setup\OptionalComponents","name"HKLM,"%SMWCV%\Setup\OptionalComponents\name"HKLM,"%SMWCV%\Setup\Oc Manager\Subcomponents","name"[name.Uninstall]UnregisterDlls = Stop.name,Register.RegisterDlls = Delete.name.DirsAddReg = name.Option.MarkRemovedDelReg = name.DelReg,Organiz.Start.Menuand entries is [general]BuildDate = Description = Title = Version = Language = Website = [sysoc]name=ocgen.dll,OcEntry,name.inf,,7what can i do?pleze help me more Edited January 24, 2010 by LeGendxp Quote
ricktendo Posted January 24, 2010 Posted January 24, 2010 You dont need to add any reg entries for your addon to show in Optional Components, just unhide it and add Uninstall=name.Uninstall to your [VideoLAN] section Quote
LeGendxp Posted January 24, 2010 Author Posted January 24, 2010 You dont need to add any reg entries for your addon to show in Optional Components, just unhide it and add Uninstall=name.Uninstall to your [VideoLAN] section that is all?????then how i put its icon???thanx :thumbsup_anim: Quote
ricktendo Posted January 24, 2010 Posted January 24, 2010 OK let me explain the icon thingy, you can specify a icon (but its really a BMP not a ICO) by using a number, this number points to one of the bitmaps in 1201.bmp in setupapi.dllYou start to count from zero: 0,1,2,3,4,5,6,7,8,9,etc and you will get your icon numberThis is how you would point to a icon in setupapi.dll[HoldEm]OptionDesc = "Hold 'Em"Tip = "Juego de poker."Modes = 0,1,2,3Parent = UltExtrasIconIndex = 34 ;Windows mini-icon for dialogsSizeApproximation = 22368256CopyFiles = HoldEm.Files,HoldEm.MUIProfileItems = HoldEm.AddShortcutUninstall = HoldEm.UninstallYou can also specify other BMP icons that are in other DLL's, this one points to plusoc.dll BMP number 114 that is in "C:\WINDOWS\system32\Setup"[WinPlus]OptionDesc=%PlusWinDescription%Tip=%PlusWinTip%IconIndex = *, plusoc.dll, 114Modes=0,1,2,3If your DLL is in system32 you do this ..\ and it will go up one level and into system32, example ieaccess.infIconIndex = *, ..\xpsp1res.dll, 200 Quote
LeGendxp Posted January 24, 2010 Author Posted January 24, 2010 (edited) the addon which i want to put it in optional compnents and its icon is windows live messengerThen....bmp for its iconwhere i can put this bmp???can i put it in any file of w.l.mthanx ricktendo64 :welcome: Edited January 24, 2010 by LeGendxp Quote
ricktendo Posted January 24, 2010 Posted January 24, 2010 If you take a file like ocgen.dll, rename it to wlmoc.dll and create a bmp and add it to that you can maybe do that, that is what onepiece doesOr you can use the one that old Windows Messenger usesIconIndex = *, msgrocm.dll, 2 Quote
LeGendxp Posted January 24, 2010 Author Posted January 24, 2010 If you take a file like ocgen.dll, rename it to wlmoc.dll and create a bmp and add it to that you can maybe do that, that is what onepiece doesOr you can use the one that old Windows Messenger usesIconIndex = *, msgrocm.dll, 2thanx many thanx ricktendo64 :giveheart: 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.