This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- I sorta figured it out...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 18, 2009
11:33 AM
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!
Thanks!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 18, 2009
01:10 PM
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.