Solved

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

Posted on 2000-02-17
3
294 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Macro to save highlighted rows as a separate file 5 43
Smart Camera scanning and reading information 3 106
has77  challenge 9 82
fix34  challenge 9 116
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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 Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

786 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