I have a setup that is installing a PDF program. It works perfectly on test machines. When there is other PDF software on the machine, errors pop up because of the large number of shared files that are inuse.
Inno has the /SUPPRESSMSGBOXES option. However I can not seem to configure this to ignore the file copy – it either wants to Abort or Retry. Abort – the setup will fail. Retry – will never succeed because the file is in use.
Does anyone know how to automatically ignore any copy file errors while setting up?
You can use the
restartreplaceflag for the files that may be in use, it is exactly to suppress those error dialogs.To quote the documentation of the
[Files]section: