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

Posted on 2007-08-02
Medium Priority
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

Accepted Solution

abhatnagar earned 1500 total points
ID: 19753807
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

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

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month14 days, 2 hours left to enroll

809 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