I have to call the cmd during the installation and when i run the installer all looks working well. But it is not like it looks.
In the log there is following line:
"CustomAction CMDInstallKey returned actual error code 1 but will be translated to success due to continue marking"
and even the cmd call don´t work. For understanding, the cmd pops up and the text goes into, but it do not work, and the error is quite strange, too. I have found nothing in the internet.
My code is this:
<CustomAction Id='CMDInstallKey' Directory='INSTALLLOCATION'
Execute='immediate'ExeCommand='cmd.exe /c " .\PontefixEncryptionTool
-install WinInstaller .\keycontainer.pkxml del .\keycontainer.pkxml' Return='ignore' />
<InstallExecuteSequence>
<Custom Action='CMDInstallKey' After='InstallFinalize'></Custom>
</InstallExecuteSequence>
May be it is better to use QtExecCmdLine?