Thank you for your answer.
I wrote the following code according to some code I found while searching on
the internet:

<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util="
http://schemas.microsoft.com/wix/UtilExtension";>
<Product .....>
......

<util:CloseApplication
        Id = "CloseSW" Description="SolidWorks need to be closed"
Property="SWRunning" Target="SLDWORKS.exe" />

<Condition Message="This setup requires Solidworks to be closed.">
       [SWRunning]
</Condition>

<InstallExecuteSequence>
            <Custom Action="WixCloseApplications" Before="InstallValidate"
/>
....
</InstallExecuteSequence>


I ran Candle and got this error :
"error CNDL0200 : The Product element contains an unhandled extension
element 'util:CloseApplication'."

1. What am I doing wrong ?
2. Can you reference me to a full example on how to use
<util:CloseApplication /> ?

Thank you for your help,
Adi Sashkis


On 7 July 2010 15:43, Bob Arnson <b...@joyofsetup.com> wrote:

> On 7/4/2010 11:30 AM, Adi Sashkis wrote:
> > I read that the<util:CloseApplication />  might be what i need but I am
> not
> > quit sure how it's works.
> >
>
> Use the property you give it as a condition, either a dialog or an error
> custom action to prevent installation when set (i.e., when the process
> is running).
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to