Upgrade results in multiple Start Menu entries - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

tednichols
Posts: 2
Joined: Fri Feb 22, 2008 8:21 am

Upgrade results in multiple Start Menu entries

When installing upgrades everything works fine except I end up with multiple entries for my application in the Start Menu.

For example, when clicking Start > All Programs, there is a "My Application 1.1.1" and "My Application 1.1.2" entry after installing an upgrade (I would have expected the entry "My Application 1.1.1" to have been removed)

When creating a new version, I change my Product Name from "My Product 1.1.1" to "My Product 1.1.2" and answer yes when asked if I want a new "Product Code". Under Install Parameters, I have version "Automatically upgrade older versions of the product" selected.

What am I doing wrong? I thought maybe it was because I am changing the Product Name, but I noticed Advanced Installer puts the product number in the name as well and does not have duplicate entries.

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

You are encountering this behavior because you are not performing the upgrade correctly. Most likely you are creating a new project for the upgraded package instead of modifying the old one.

For upgrading an installation you have two possibilities:
1) you use a patch
2) you use the automated upgrade feature

1) A patch project is basically the difference between two MSI packages (which makes it very small) and you can use it to update an installation. You can read more about patches here:
http://www.advancedinstaller.com/user-g ... oject.html
http://www.advancedinstaller.com/user-g ... tches.html
http://www.advancedinstaller.com/user-g ... patch.html

2) The automated upgrade feature works like this:
- you install a MSI on the target machine,
- you increase it's version and update some of it's files
- you answer "Yes" when prompted about changing the Product Code
- when running the updated MSI on the target machine the old installation will be removed and the updated package will be installed

Usually, it is recommended that you use a patch to update an installation, but you can use the method that best suits your needs.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tednichols
Posts: 2
Joined: Fri Feb 22, 2008 8:21 am

Thank you for your reply.

I am not creating a new project each time I create an upgrade. I am modifying my application and then opening my existing AIP project in Advanced Installer. I then modify the Product Name to indicate the new version (e.g. change "My Product 1.1.1" to "My Product 1.1.2") and answer yes when asked if I want a new "Product Code".

Under Install Parameters, I have the versioning option, "Automatically upgrade older versions of the product" selected.

Lastly, I build the setup file, run it, and end up with yet another Start Menu entry (testing on Windows XP). I am using version AI 4.8.1, and considered upgrading, but could not find what looked like any fixes for this sort of thing.

Is there something else I could try? Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I cannot reproduce this behavior on my test machine. Please try this on other computers.

If the problem persists, please send us the AIPs and the resulted MSI packages (the old version and the new one) to support at advancedinstaller dot com so we can investigate this issue.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”