How to change shortcuts name created by installer runtime and still keep "Add/Remove" program works

Posted on 2007-08-02
Last Modified: 2013-11-14
We want to develop a program which can modiy the name of program menu and shortcuts (descriptions) which created by Microsoft installer.  However, we still want to keep the orignal uninstallaion prcoess (which in Add/Remove program) works which can remove renamed program menu and shortcuts.

I believe their must be someway to modify microsoft installer database.  Please help to comments.
Question by:sunsa
    LVL 5

    Accepted Solution

    This is a bit tricky. The MSI does not have much flexibility when it comes to shortcuts. Therefore you have to use a custom action. Now you can script it, but then you have to make sure that the script can run on the various platforms you are installing on. This can be another daughting task you don't want to deal with. Therefore, the best thing to do is a simple DLL function.

    Use the following interfaces:


    Good luck!

    Author Comment

    Thanks for your feedback.  Unfortunately, we are using installshield script.  we now treat this as a known issue.  

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    One of the frequent problems with the installations is when some file or registry entry is not removed from the system upon un-installation of the product. Clean removal is always highly desirable. One major reason for that is badly authored inst…
    One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    759 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

    10 Experts available now in Live!

    Get 1:1 Help Now