ProductName change for upgrade

panneer's picture

Hi All,

We are changing the name of the product and hence during upgrade, it is creating two entries in the Add/Remove Programs with old name and new name.
ex: Old Name= ProductName(A /B /C) and now the from the product name /C is removed and hence new name = ProductName(A /B)
How can i handle this during upgrade to make a single entry in Add/Remove Programs?

Thanks for the Help,
Panneer.

CygnusX1's picture

MajorUpgrade

MajorUpgrade

panneer's picture

Yes it is major upgrade. i'm

Yes it is major upgrade. i'm executing Remove Previous Version also but it is not removing the old entry in Add/Remove Program. How can i handle this ?

Thanks for the Help,
Panneer.

AngelD's picture

Seems that the "old" product

Seems that the "old" product isn't removed during upgrade.
What does a verbose log tell you?

spoonhead7's picture

dual entries in add/remove when upgrading

From the Altiris Knowledgebase: https://kb.altiris.com/article.asp?article=3655&p=1

Problem/Symptoms

The previous version .MSI is still listed in the Add/Remove Programs Control Panel along with the updated .MSI.
--------------------------------------------------------------------------------
Environment

Windows Installer
Wise for Windows Installer
Wise Package Studio

--------------------------------------------------------------------------------
Cause

The updated .MSI does not contain Upgrade information, but has a product code different from the previous version.
-OR-
The updated .MSI contains Upgrade information, but the minimum and maximum versions of the upgrade range do not include all previous versions.
-OR-
An installed patch was generated from two .MSI files that have different product codes.

--------------------------------------------------------------------------------
Resolution

Ensure that the previous version .MSI and the updated .MSI have different product codes and that the updated .MSI has Upgrade information.
Verify that the minimum and maximum version entries in the Upgrade information encompass the previous version .MSI.

Patches should not be generated from .MSI files that do not have identical product codes. If the product codes are different, Windows Installer Upgrade functionality should be used.

piyushnasa's picture

Use Remove Registry

If it is just the ARP entry which is troubling you, then you can use Remove Registry option to remove the Add/Remove entry.

This information is stored in :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Under it you have to search for your product and then remove these registries from your package.

Hope this helps. 

Piyush Nasa
Altiris Certified Professional (ACP)

VBScab's picture

>then remove these registries

>then remove these registries from your package.

Except, of course, the package doesn't contain them. They're written to the registry by the RegisterProduct action.

It is counter-productive to kludge things like this, as it is to advise people to do it. It's like filling your car's engine with sand to disguise the sound of the big end clattering. Work out what the actual problem is and fix it - don't try and hide it because you can't be bothered to do basic trouble-shooting.

Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.