I have developed a WPF application in C# 4.0. This application is installing some other applications (MSI). Due to this I have made below change in application manifest file.
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
After making above changes, Desktop shortcut to the application (app.exe) showing shield symbol with it.
Is there any way to remove this shield symbol from application & desktop short-cut?
I have seen some MSI & Setup.exe, they also install the program on computer but shield icon does not appear with their short-cut icon.
That shield icon exists because of the manifest changes you have made. The way to prevent that is to remove those changes.
I am not sure you need to set that manifest to run an MSI; I believe that running the MSI will itself prompt for elevated privs, so your application should not need elevated privileges itself.
Alternatively, you could have the code that runs the MSI itself demand the admin privs, rather than having the whole application require it, which is what the manifest info does.