cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gbuilder
Level 3

Retry on FilesInUse dialog doesn't re-test that files are closed

In an InstallScript MSI project, when I run the installer while files are in use the FilesInUse dialog appears properly. However, if I simply click "Retry" without closing the in-use application, the FilesInUse dialog closes and the installer continues as if the "Ignore" button was clicked. It's not re-checking that the files have been closed and returning to the FilesInUse dialog. Can anyone tell me what's wrong?

Thanks!
Labels (1)
0 Kudos
(1) Reply
gbuilder
Level 3

The return values from the SdFilesInUse dialog are supposed to be 4 for Retry, 5 for Ignore, and 9 for Exit/Cancel. For some unknown reason I'm getting 1 for Retry and 2 for Exit/Cancel. (I disabled the Ignore button so I don't care about that return value.) I simply changed the OnFilesInUse event to convert the return codes to the expected values.
0 Kudos