Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set porgram to add\remove programs list

Status
Not open for further replies.

cyprus106

Programmer
Apr 30, 2001
654
I have a bit of a problem. I need to add executables, (with descriptions, etc.) in the add\remove programs list. I am not trying to add my project... basically, I have an app that is a utility for installing executables to windows. We've got the rest so far, just need to put it on the add\remove programs list. does anyone know how?

thanks, Cyprus
 
Create a new registry key under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall, then create two string values, DisplayName and UninstallString. DisplayName is the name as seen in add/remove programs, and UninstallString is the path to the uninstall program.

For example, the BCB5 uninstall entry is:
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\CBuilder5
- DisplayName=
Borland C++ Builder 5
- UninstallString=
C:\WINDOWS\IsUninst.exe -f"C:\Program Files\Borland\CBuilder5\Uninst.isu" -cC:\WINDOWS\SYSTEM\C5UNINST.DLL [pc3]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top