Hi Iniyan,
From my experience, there is no direct way to modify the hint message of the msiexec command. But we can add some arguments to the command to have the program uninstalled quietly. Before we call the msiexec command, we can show some message to hint users. These are the steps:
1. When the user select the uninstall menu, show a message box to hint him/her. If he select Yes, continue; otherwise, return. This is the code snippet:
if (MessageBox.Show("Are you sure you want uninstall this thinksoft software and all its components?", "",
MessageBoxButtons.OKCancel, MessageBoxIcon.Warning) == DialogResult.OK)
{
//Call msiexec command here to uninstall.
}
2. Call the msiexec command without user interface:
@ECHO OFF
msiexec /x {8C79C545-752E-4C17-A66B-C0B1DFE1FC07} /qn
You can get more information about msiexec command from:
http://technet.microsoft.com/en-us/library/cc759262(WS.10).aspx.
Let me know if this helps.
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.