Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Add/Remove Programs

0 views
Skip to first unread message

pagates

unread,
Aug 11, 2005, 11:35:39 AM8/11/05
to
Hi All,

Does anybody have an example of code that automatically adds and/or removes
programs, without using the Windows Control Panel? I am doing a lot of
testing that involves installing/uninstalling different versions of the same
program over and over, and using the Control Panel is tedious.

Thanks,
pagates

Antonio

unread,
Aug 11, 2005, 2:04:06 PM8/11/05
to
hi, in the setup and deployment project you add to your solution one
property is to uninstall previous versions. you set this to true.

Can this help you?

pagates

unread,
Aug 11, 2005, 3:21:04 PM8/11/05
to
Sorry, no, I should have been more specific.

In this case, we are using InstallShield for packaging and deployment, as an
msi.

I was looking for a more general solution, something with the same
functionality as the Add or Remove Programs Control Panel.

Thanks,
pagates

Nicolas

unread,
Aug 12, 2005, 2:26:08 AM8/12/05
to
Hi,

Every program that is displayed in the add/remove programs control
panel has a registry key in
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall.

Important values for each key are:
- "DisplayName"
- "DisplayIcon"
- "UninstallString".

Best regards,

nickske

0 new messages