Hide software from add/remove prgrams

(imported topic written by edwinho91)

Hi,

I’m currently encountering some problem trying to hide Lotus Note from the add/remove program.

My custom fixlet as such for Hide:

regset “” “RemovedDisplayName”="{value “DisplayName” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall%7b5B5B3D92-A765-4AD5-9752-30BA2C71C314%7d” of registry}"

regdelete “” “DisplayName”

and my unhide fixlet as such:

regset “” “DisplayName”="{if (exists value “RemovedDisplayName” whose (not (it as string = “”)) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall%7b5B5B3D92-A765-4AD5-9752-30BA2C71C314%7d” of registry) then (value “RemovedDisplayName” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall%7b5B5B3D92-A765-4AD5-9752-30BA2C71C314%7d” of registry as string) else (“Lotus Notes 6.5.1”)}"

Bascially I copy the “hide/unhide BES Client from add/remove program” to create this.

The problem i encounter is that though i have successfully apply this fixlet, it doesn’t hide the lotus note from the add/remove program, i have checked from the registry, it remove off the display name.

So, would like some suggestions and help on ow to counter this problem …

Thanks a lot.

Edwin

(imported comment written by BenKus)

Hey Edwin,

Can you make the entry disappear if you manually delete the registry value?

Ben

(imported comment written by edwinho91)

mmm…by using manually, the program will still appear on the add/remove program there, so could it be that some software are unable to be hidden, even though we uses the same fixlet command ???

Thanks again for the guidence.

Edwin

(imported comment written by BenKus)

Yea… I tried this on a few other applications and some seemed to not hide properly… I am not sure why… maybe try and restart the computer and see if it helps?

Ben

(imported comment written by Yungkie_Gunawan91)

Dear Edwin,

Please try to find at HKEY_CLASSES_ROOT\Installer\Products, sometimes some application using this key beside HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Regards

Yungkie

(imported comment written by sthull)

Yeah, I think Yungkie is on the right track. You may notice that we have a different fixlet to hide an MSI-installed client that updates the keys he mentioned. You can use that as a starting point.

Regards,

Steve

(imported comment written by Bmsancio91)

I seem to be having a similar issue but I did change the Fixlet to use HKEY_CLASSES_ROOT\Installer\Products

regset "

HKEY_CLASSES_ROOT\Installer\Products\FC61C6F3996DF2D49882B649EC23DC40

" “RemovedProductName”="{value “ProductName” of key “HKEY_CLASSES_ROOT\Installer\Products\FC61C6F3996DF2D49882B649EC23DC40” of registry}"

regdelete "

HKEY_CLASSES_ROOT\Installer\Products\FC61C6F3996DF2D49882B649EC23DC40

" “ProductName”

The tasks completes successfully but it does not remove the Bes Client from the Add\Remove List… Any input?

(imported comment written by jessewk)

You need to remove the “DisplayName” key from HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall<product>\

AND

You need to remove the “ProductName” key from HKCR\Installer\Products<product>\

Attached in an example from the AntiPest site. It’s designed to work with a corresponding ‘Show’ task that undoes the hide.