Hi,
I am running a Custom Action to check to see if a folder exists, if it does run the uninstaller and WaitUntilEnd is checked. But it is being ignored and the package continues to run over the top of the uninstaller dialog box.
<?xml version="1.0" encoding="utf-8"?> <pbgroup><action GUID="HMJJL"><type>TFileExistsInfo</type><desc>Check if folder "%MYDOCDIR%\%APPTITLE%" exists and store result into "%APPFOLDEREXISTS%"</desc><imgn>99</imgn><prop><ReturnVariable>%APPFOLDEREXISTS%</ReturnVariable><FileName>%MYDOCDIR%\%APPTITLE%</FileName><CheckFolder>True</CheckFolder></prop></action><action GUID="62PL7"><type>TCheckValInfo</type><desc>If %APPFOLDEREXISTS% = 1 then</desc><imgn>87</imgn><prop><Variable1>%APPFOLDEREXISTS%</Variable1><Variable2>1</Variable2><Operator>Equals</Operator></prop></action><action GUID="PKSOC"><type>TShowMessageInfo</type><desc>Display the message "A previous version of %APPTITLE% is already installed. This will now be uninstalled."</desc><imgn>32</imgn><prop><MessageType>psIconInformation</MessageType><MessageBtn>pbOK</MessageBtn><Caption>%APPTITLE%</Caption><Text>A previous version of %APPTITLE% is already installed. This will now be uninstalled.</Text></prop></action><action GUID="TPQHB"><type>TExecAppInfo</type><desc>Execute the program "%MYDOCDIR%\%APPTITLE%\Uninst.exe" and wait until its end.</desc><imgn>48</imgn><prop><Filename>%MYDOCDIR%\%APPTITLE%\Uninst.exe</Filename><WaitUntilEnd>True</WaitUntilEnd><HideProgram>False</HideProgram></prop></action><action GUID="SS3A8"><type>TEndValInfo</type><desc>End If</desc><imgn>87</imgn><prop/></action></pbgroup>
Why is this being ignored?
Thanks