Jump to content

LeGendxp

Members
  • Posts

    29
  • Joined

  • Last visited

Posts posted by LeGendxp

  1. 1st you need to make it visible in Add/Rem Win Components by removing HIDE from the sysoc entry

    It will look like

    Then in your Optional Component section you add a Uninstall directive which will point to a Uninstall section with DelFiles, DelReg and stuff

    Take a look and see how Windows does it, open accessor.inf, shl_img.inf and other inf files to get a good idea

    thanx for replay

    i cant use accessor.inf or any files like this

    is 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,3

    AddReg = 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"

    only

    thanx again :giveheart:

×
×
  • Create New...