there are so many installers hence uninstaller that there is no UNIQUE way to do this.
1/ if the app was installed as an MSI, then the previous answer is best, use MSIEXEC
2/ check in the program menu, if there is an entry for removing the app, get the properties of the shortcut, it will tell you the proper command line to use. You will most probably have to do some research to find the extra argument to make it unattended (not stopping at "are you sure you want to remove this software?" until someone clicks yes or call support for this virus that's trying to destroy his PC)
3/ if not open the registry editor look for the app name in : HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall
look for the UninstallString or QuietUninstallString
it can be anything from calling the install exec with an argument, rundll32 ... if the file in the string is a .LOG you'd probably have to feed it to MSIEXEC, if this is a .ISU you'll have to give it the app's setup.exe ( with extra switch)
feel free to contact me directly with some more details if you need more specific help.
HTH
Philippe