Hello,

I have problems getting CloseApplication and Bundle to work.

I have one package including
-------------------------------------------------------------
<Product ...>
...
<util:CloseApplication Id='myId' Description='Errormessage'
RebootPrompt='no' PromptToContinue='yes' Target='myExe.exe'/>
...

<InstallExecuteSequence>
     ...
    <Custom Action='WixCloseApplication' After='FindRelatedProducts'/>
</InstallExecuteSequence>

<InstallUISequence>
    ...
    <Custom Action='WixCloseApplication' After='FindRelatedProducts'/>
</InstallUISequence>
---------------------------------------------------------------------


And I have a Bundle including:
----------------------------------------------------------------------
<MsiPackage SourceFile='otherfile.msi'
                     DisplayInternalUI='yes'
                      EnableFeatureSelection='yes'
                      ForcePerMachine='yes'
                      Id='myPackage'
                      InstallCondition='(NOT VersionNT64)'
                      Visible='no'
                      Compressed='yes'
                      />
----------------------------------------------------------------------


When I create the msi from the file containing CloseApplication and run it
with msiexec, the CloseApplication-Action runs and an message box is shown
with my Errormessage.
When I pack this msi in the bundle and run it, the CloseApplication-Action
does not run and so I don't get my Errormessage. And also, the setup stands
still. The Logfile contains the following lines at the end of the file:
----------------------------------------------------------------------
Action 13:36:28: WixCloseApplications.
Action start 13:36:28: WixCloseApplications.
MSI (c) (60:68) [13:36:28:595]: Invoking remote custom action. DLL:
D:\Users\me\AppData\Local\Temp\MSI3596.tmp, Entrypoint: WixCloseApplications
MSI (c) (60:B8) [13:36:28:595]: Cloaking enabled.
MSI (c) (60:B8) [13:36:28:595]: Attempting to enable all disabled
privileges before calling Install on Server
MSI (c) (60:B8) [13:36:28:595]: Connected to service for CA interface.
----------------------------------------------------------------------

Thx for any help
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to