Are you using WixStdBA or your own BA?  I think it was in 3.8 where those 
messages were now being seen and interpreted by the engine, but I cannot 
remember if there were any callbacks to the UI.  Even if there were, I don't 
remember WixStdBA having a dialog available to prompt the user.

Looking at my current fork I see:

    virtual STDMETHODIMP_(int) OnExecuteFilesInUse(
        __in_z LPCWSTR /*wzPackageId*/,
        __in DWORD /*cFiles*/,
        __in_ecount_z(cFiles) LPCWSTR* /*rgwzFiles*/
        )
    {
        return CheckCanceled() ? IDCANCEL : IDNOACTION;
    }

Inside of the BalBaseBootstrapperApplication and:

    // OnExecuteFilesInUse - called when the engine encounters files in use 
while
    //                       executing a package.
    //
    // Return:
    //  IDOK instructs the engine to let the Restart Manager attempt to close 
the
    //       applications to avoid a restart.
    //
    //  IDCANCEL instructs the engine to abort the execution and start rollback.
    //
    //  IDIGNORE instructs the engine to ignore the running applications. A 
restart will be
    //           required.
    //
    //  IDRETRY instructs the engine to check if the applications are still 
running again.
    //
    //  IDNOACTION is equivalent to ignoring the running applications. A 
restart will be
    //             required.
    STDMETHOD_(int, OnExecuteFilesInUse)(
        __in_z LPCWSTR wzPackageId,
        __in DWORD cFiles,
        __in_ecount_z(cFiles) LPCWSTR* rgwzFiles
        ) = 0;

On the interface.  I don't see any WixStdBA implementation so the default would 
be IDNOACTION (equivalent to ignoring the running applications. A restart will 
be required.)

-----Original Message-----
From: Tobias Erichsen [mailto:i...@tobias-erichsen.de] 
Sent: Friday, March 07, 2014 1:41 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Burn does not show close application warning during 
uninstall

Hi everyone,

I got a small problem during uninstall of my application.

If I install/uninstall just with an MSI on W7 for example, I get the dialog 
that some applications must be closed before continuing install.

When I use that MSI within my burn-bootstrapper, this dialog does not appear.

Do I need to specify "DisplayInternalUI" to be able to see this dialog?  My MSI 
does not have any UI otherwise...

Best regards,
Tobias

PS.: All done with Wix 3.8
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the 
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to