Qt installer framework undo Mkdir operations
<p>I use qt installer framework to create installer. On installation step I called <code>
component.addOperation("Mkdir", dataDir); // dataDir is a dataLocationDir like C:\Users\Stranger\AppData\Local\MyAppName
</code>
When my installed program working it put some folders and files into dataLocationDir, at this way UNDO step of "Mkdir" operation does not work correctly when i runned uninstall. I try use "Execute" command like this:
<code>
component.addOperation("Execute", "mkdir " + dataDir, "UNDOEXECUTE", "del /S /F" + dataDir);
</code>
and also i tried
<code>
component.addOperation("Execute", "cmd /C mkdir " + dataDir, "UNDOEXECUTE", "cmd /C del /S /F" + dataDir);
</code>
but this methods cancel with error "Could not start: 'mkdir my/path'(No program defined)"
 </p>