[wix-users] Disable FilesInUse dialog and display custom dialogs instead

Phil Wilson phil.wilson at mvps.org
Mon Jul 11 10:02:28 PDT 2016


You might need to be more precise in that description. Windows Installer
does not close files. Do you mean you're using a WiX CloseApplication custom
action?Generally speaking the install detects in-use files that need
replacing and shows you that FilesInUse dialog prompting the user to close
the applications and the Rety button checks to see if the in-use files
situation has been resolved. It's not at all clear why this would cause the
install to fail. When you say it fails, does that mean it reports an error
and rolls back? 

Phil W 

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of
Matsumura Risa (AA-AS/EOS32)
Sent: Monday, July 11, 2016 8:53 AM
To: 'wix-users at lists.wixtoolset.org'
Subject: [wix-users] Disable FilesInUse dialog and display custom dialogs
instead

Hi All,

For some reason, our installer fails every time it attempts to automatically
close files. As a work around for that, we've decided to have a dialog at
the start of installation to tell users to close a web browser in order to
carry on using the installer and another dialog at the end of installation
to informs users what to do to start using the software.

I'm not entirely sure how to skip the FilesInUse dialog and instead use a
custom dialog. I don't know how to stop installer from detecting any files
in use.

I've been trying to find some information and tried <Property
Id="MSIRESTARTMANAGERCONTROL" Value="Disable" /> but no luck.

Also at some point I came across MsiRMFilesInUse and didn't quite understand
the difference with FilesInUse though perhaps MsiRMFilesInUse is not
relevant to my problem.

Any comment appreciated.

Thank you,
Risa


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/





More information about the wix-users mailing list