Groupe des Utilisateurs Altiris Suisses et Francophones Group

 View Only
  • 1.  How to Create "Add/Remove" custom entry

    Posted Dec 01, 2010 09:30 AM

    Hello, I was already build in the past, custom entries using only "regedit /s" with "uninstall" registry entries...

    Curiously I try to create using only "uninstall" registries, and was failed (no display in Add/Remove...)

    The workaround was to use a sample "MSI" Package using wise MSI Editor 6.0 (the one will not any more delivered with DS 7.x crying)

    With a unique "setup.ico" file to display a smart icon in the add/Remove list, and the "Add/Remove" settings.

    (Why do I do that? Just for simplifying the Software inventory and licence management... Just ask me if you want more explain ;-)

    But I wonder your own experience regarding such ?

    What I see is a few more registries done from Wise Editor: (I investigate using SWV 6, alias SVS)

    And I see a similar "uninstall", additionnal "InstallProperties" in a "localSystem" HKLM entry:

    • HKLM/Microsoft/CurrentVersion/Installer/Userdata/S-1-5-18/Products/

    And I see 3 GUIDs:

    • Features/Products,
    • UpgradeCodes,
    • Uninstall MSI GUID code (the one registred into MSI package)

    Hum... I will keep the MSI editor workaround, but I still wonder if we can just create "fake" Add/remove entries using a simple REG file ???

    Did you ever build such ? And can you share with us your own REGISTRY file template ?



  • 2.  RE: How to Create "Add/Remove" custom entry

    Posted Dec 01, 2010 10:13 PM

    I wouldn't mess with the "Windows Installer" registry, you should only need to add the ARP registry entries.

     

    ex.

     

    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\My Uniq Application Name
    DisplayIcon (REG_SZ) = C:\Icon Library Directory\MyIcon.ico
    DisplayName (REG_SZ) = My Application Name
    DisplayVersion (REG_SZ) = 1.2.3
    NoModify (REG_DWORD) = 1
    NoRepair (REG_DWORD) = 1
     
    If you want to hide the ARP entry from the user then add the below
    SystemComponent (REG_DWORD) = 1