Batch file for uninstallation of application
I have created a batch file to uninstall my application. The code is:
//
@ECHO OFF
msiexec /x {8DF8694A-6B64-开发者_开发百科4477-8B6B-1F9D676107E7}
//
It works fine, but when I run this file the cmd promt is open. I don't want to open the command promt - what can I do?
That's just the nature of the batch file interpreter. It is going to put a console window up, and include it in the taskbar.
Instead of a batch file ship a shortcut whose target is your msiexec command. It's just a different way to invoke the command but it won't lead to any windows being shown, beyond what msiexec may show.
精彩评论