Hi,
Pour exécuter une mise à jour d'un programme il est nécessaire que des services relatifs à ce programme soient arrêtés. Ceci est effectué dans l'installeur par:
Exec('net.exe', 'stop ' + ServiceToStop[Index], '', SW_HIDE, ewWaitUntilTerminated, CodErr);
In very rare cases, a service cannot be stopped and the installer waits indefinitely and the user does not know what is happening.
Would it be possible to define a maximum waiting time and display a dialog box at the end of this wait to warn the user and end the installation?
Thanks for your help.