[wix-users] What's util:CloseApplication's Property attribute for?

sampat magi ssmcs060 at gmail.com
Tue Sep 13 03:50:16 PDT 2016

If u could see the CA that got added to the msi executetable (UI/Execute) ,

the property may contain some value, indicating that, the appln is still
running by the way, didnt get closed, so that u can make use of this
property in required phases, like launch conditions, component condition,
the component that requires the appln to be closed, like, while installing
vsix, to take the effect, VS must be closed.


On Tue, Sep 13, 2016 at 2:17 PM, Matsumura Risa (AA-AS/EOS32) <
Risa.Matsumura at uk.bosch.com> wrote:

> Hi,
> I was wondering what Property attribute in util:CloseApplication. I need
> to close and restart Chrome browsers but only want to restart when the
> bowser was already open.
> So far I have the following code but I need to have some kind of flag to
> set the condition. Can I use Property attribute to set the condition? I
> couldn't find much information about what that attribute is for.
> <Property Id="TEST_URL" Value=http://google.com" />
> <Property Id='CHROME_EXE_PATH'>
>       <RegistrySearch Id='ChromeBrowser' Type='raw' Root='HKLM'
> Key='SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe'/>
> </Property>
> <util:CloseApplication Id="CloseChrome" CloseMessage="yes"
> Target="chrome.exe" RebootPrompt="no" Description="Chrome needs to be
> closed"/>
> <CustomAction Id="LaunchChrome" ExeCommand="[CHROME_EXE_PATH] [TEST_URL]"
> Directory="TARGETDIR" Return="asyncNoWait" />
> <InstallExecuteSequence>
>       <Custom Action="LaunchChrome" After="InstallValidate" />
> </InstallExecuteSequence>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/

More information about the wix-users mailing list