Reputation: 849
I want to execute a DOS command from WIX. The command goes like:
[SystemFolder]cmd.exe /c rmdir /s /q [INSTALLDIR]
Basically I want to delete the Installation Directory from the command prompt during Uninstall.
I want to use the SystemFolder property to specify the cmd.exe path. And the most important one is that, I don't want the command window to appear during Uninstall.
Upvotes: 0
Views: 1101
Reputation: 12562
I believe that the correct fix for this issue would be to remove the files that are created by the application using WIX. You can use the RemoveFile element in order to delete files.
You can find a complete example on how to remove all those files here: Removing files when uninstalling WiX
Upvotes: 6