PDA

View Full Version : prevent FilesInUse dialog



sandip
05-26-2004, 01:26 AM
I don't want this dialog to be shown, because i am using silent installation, and it disturbs the UI sequence.

How can I do that.

MichaelU
05-26-2004, 12:12 PM
Hello Sandip,

I think you have two main options. The InstallScript MSI Miscellaneous event handler OnFilesInUse (http://helpnet.installshield.com/Robo/BIN/Robo.dll?tpc=/robo/projects/installshieldxlangref/LangrefOnFilesInUse.htm) can override the behavior that occurs when the file is locked. By default it puts up the SdFilesInUse dialog, but if you have a sane default, you can override that.

Michael