Solved

How add text to Add/Remove Programs in Control Panel ?

Posted on 2000-02-17
3
291 Views
Last Modified: 2013-11-20
Hi,

 How can I add text to Add/Remove Programs in control panel ?
 Like installers.

regards!
0
Comment
Question by:RogerioSilva
3 Comments
 
LVL 9

Accepted Solution

by:
cdesigner earned 60 total points
ID: 2533628
use INF file , or look to registry entries:
---------------------------------------
; Author: Paul Falcon

[version]
signature="$CHICAGO$"
SetupClass=BASE

[DefaultInstall.ntx86]
OptionDesc     = %ALARMCL%
Tip            = %ALARMCLTIP%
;Parent         = AccessTop
InstallType    = 10 ;Typical, Custom.
IconIndex          = 16  ;Windows Logo mini-icon for dialogs
CopyFiles = AlarmCl.Files.Sys, AlarmCl.Files.Inf
AddReg    = AlarmCl.Add.Reg.ntx86
UpdateInis     = AlarmClInis.ntx86
Uninstall      = DefaultUnInstall

[DefaultInstall]
OptionDesc     = %ALARMCL%
Tip            = %ALARMCLTIP%
;Parent         = AccessTop
InstallType    = 10 ;Typical, Custom.
IconIndex          = 16  ;Windows Logo mini-icon for dialogs
CopyFiles = AlarmCl.Files.Sys, AlarmCl.Files.Inf
AddReg    = AlarmCl.Add.Reg.Win
UpdateInis     = AlarmClInis.Win
Uninstall      = DefaultUnInstall

[DefaultUnInstall]
DelFiles  = AlarmCl.Files.Sys, AlarmCl.Files.Inf
DelReg    = AlarmCl.Del.Reg
UpdateInis     = AlarmClInis.remove

[DestinationDirs]
AlarmCl.Files.Sys =24,%PROGRAMF%\%ALARMCL%
AlarmCl.Files.Inf = 17

[SourceDisksNames]
1="AlarmCl","",1

[SourceDisksFiles]
ALARMCL.EXE=1
ALARMCL.INF=1
READ_ME.TXT=1
DEFAULT.WAV=1
NUMS.BMP=1
DAT1.BMP=1
WEB.URL=1

[AlarmCl.Files.Sys]
ALARMCL.EXE
READ_ME.TXT
DEFAULT.WAV
NUMS.BMP
DAT1.BMP
WEB.URL

[AlarmClInis.Win]
setup.ini, progman.groups,, "group1=%CREATOR%\%ALARMCL%"     ;creates Accessories folder (if not already there
setup.ini, group1,, """%ALARMCL%"",""""""%24%\%PROGRAMF%\%ALARMCL%\ALARMCL.exe"""""",,,,""%24%\%PROGRAMF%\%ALARMCL%"""
setup.ini, group1,, """%README%"", ""%24%\%PROGRAMF%\%ALARMCL%\Read_me.txt"""
setup.ini, group1,, """%WEB%"", ""%24%\%PROGRAMF%\%ALARMCL%\web.url"""
setup.ini, group1,, """%UNINSTALL%"", ""%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\AlarmCl.inf"""   ;creates link in Accessories folder

[AlarmClInis.ntx86]
setup.ini, progman.groups,, "group1=%CREATOR%\%ALARMCL%"     ;creates Accessories folder (if not already there
setup.ini, group1,, """%ALARMCL%"",""""""%24%\%PROGRAMF%\%ALARMCL%\ALARMCL.exe"""""",,,,""%24%\%PROGRAMF%\%ALARMCL%"""
setup.ini, group1,, """%README%"", ""%24%\%PROGRAMF%\%ALARMCL%\Read_me.txt"""
setup.ini, group1,, """%WEB%"", ""%24%\%PROGRAMF%\%ALARMCL%\web.url"""
setup.ini, group1,, """%UNINSTALL%"", ""%11%\rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 %17%\AlarmCl.inf"""   ;creates link in Accessories folder

[AlarmClInis.remove]
setup.ini, progman.groups,, "group1=%CREATOR%\%ALARMCL%"     ;creates Accessories folder (if not already there
setup.ini, group1,, """%ALARMCL%"""
setup.ini, group1,, """%README%"""
setup.ini, group1,, """%WEB%"""
setup.ini, group1,, """%UNINSTALL%"""

[AlarmCl.Files.Inf]
ALARMCL.INF

[AlarmCl.Add.Reg.Win]
HKLM,%UTWEAK%,DisplayName,,"%ALARMCL% - Uninstall"
HKLM,%UTWEAK%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\AlarmCl.inf"

[AlarmCl.Add.Reg.ntx86]
HKLM,%UTWEAK%,DisplayName,,"%ALARMCL% - Uninstall"
HKLM,%UTWEAK%,UninstallString,,"%11%\rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 %17%\AlarmCl.inf"

; repair a commonly-damaged part of the registry while we're here
HKCR,lnkfile,IsShortcut
HKCR,piffile,IsShortcut

[AlarmCl.Del.Reg]
HKLM,%UTWEAK%
HKCU,"Software\WEGABYTE (c)\AlarmCl"


[Strings]
ALARMCL="AlarmCl"
PROGRAMF="Progra~1"
CREATOR="WEGABYTE (c)"
ALARMCLTIP="AlarmClock"
UNINSTALL="UnInstall"
UTWEAK="Software\Microsoft\Windows\CurrentVersion\Uninstall\AlarmCl"
;SMWCV="Software\Microsoft\Windows\CurrentVersion\RunOnce"
README="Read Me"
WEB="Visit to Web site"---------------------------------------
0
 
LVL 3

Expert Comment

by:V_Bapat
ID: 2542025
You just have to add a key to the registry to add text.

1. Create a key 'Test' in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
2. Add a new string value 'DisplayName' and set the data to 'Test'.

This will give you a string 'Test' in the Add/Remove program in the Control Panel.

Have a look at this key in the registry to learn more:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall

Hope this helps.

Vicky
0
 
LVL 1

Author Comment

by:RogerioSilva
ID: 2542087
thank you
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now