Thanks.

Any idea why it would fail on a repair, even though the DLL is still there?


-----Original Message-----
From: Sebastian Brand [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 31, 2008 12:40 AM
To: RW
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Condition runs incorrectly on Repair

Just add "OR Installed" to your Condition statement. Then it will  
check during a blank installation only.

Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


On Jan 31, 2008, at 3:46 , RW wrote:

> Hi,
>
> I have a condition:
>
>    <!-- Check for MARX Dongle DLL -->
>    <Property Id="MARXFILEEXISTS">
>      <DirectorySearch Id="CheckFileDir" Path="[SystemFolder]"  
> Depth="0">
>        <FileSearch Id="MPIWIN32.DLL" Name="MPIWIN32.DLL" />
>      </DirectorySearch>
>    </Property>
>
>    <Condition Message='The Marx CryptoBox USB driver is not loaded.   
> Run
> CBSetup.exe first.'>
>      MARXFILEEXISTS
>    </Condition>
>
> This is under the <Product>.  It appears to correctly detect if the  
> DLL is
> present or not when installing, but when I re-run the MSI and select  
> Repair,
> the installer errors out, despite the DLL still being present.
>
> Any suggestions as to what am I doing wrong?
>
> Thanks,
>
> RW
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to