cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cornel_gav
Level 5

Disable FilesInUse dialog

How can I disable FilesInUse dialog?
I manage myself this situation and I want to hide it at uninstall.

Cornel
Labels (1)
0 Kudos
(2) Replies
pchans
Level 3

You can try to add following two functions in your setup.rul:

function OnFilesInUse(szMessage)
begin
return IDIGNORE;
end;

function OnRMFilesInUse(szMessage)
begin
return IDIGNORE;
end;

This will ignore ALL file in use diaglogs.
Be aware that this might cause problems since it is not InstallShield default behavior.
0 Kudos
margaretf
Level 2

I also would like to ignore the filesinuseuse pop-up. Tried creating an installscript with a custom action to do as you stated below. I have tried placing the custom action in sequence before and after "installvalidate", but it did not work. Is there something I am missing? I have searched high and low for a way to have "ignore" automatically selected.

Also tried different execution ui levels. Installing using silent mode, but that just silently fails.

Using Installshield 12, MSI project. Our software is installed in places where a keyboard is not available so we need to have this selected for the user.

Please help! Thanks.


pchans wrote:
You can try to add following two functions in your setup.rul:

function OnFilesInUse(szMessage)
begin
return IDIGNORE;
end;

function OnRMFilesInUse(szMessage)
begin
return IDIGNORE;
end;

This will ignore ALL file in use diaglogs.
Be aware that this might cause problems since it is not InstallShield default behavior.
0 Kudos