Hi All,

 

I am using the Appsearch to check a pre-requisite file for my
application. If the file is present in the machine, the installation
should continue and if not present the installation should abort and
display the error. I include launch condition for displaying the error.

 

I include the Appsearch and the launch condition into the XML as below.

 

<Property Id="SAMPLECHECK">

      <DirectorySearch Id="DirCheck" Depth="0"
Path="[SystemDrive]SampleDir\SampleApp\Bin">

        <FileSearch Id="SampleFileCheck" LongName="MSADDNDR.DLL"
MinVersion="6.0.81.69" Languages="1033" />

      </DirectorySearch>

    </Property>

    <Condition Message="Version Error">SAMPLECHECK</Condition>

 


 


But when I run the compiled MSI file, it is displaying the Launch
condition error, even if the required pre-requisite file is present or
not present in the machine.


 


But when I tried the same with Installshield it is working fine. I make
sure that the entries that are created in the Appsearch, DrLocator,
Signature, Launchcondition table are same for both MSI's created with
Wix and Installshield.


 


Can anybody help me in resolving this issue?


 


Thanks All.


 


Warm Regards,


Venkatesh



 
 
Important notice:This e-mail and any attachment thereto contains corporate 
proprietary information. If you have received it by mistake, please notify us 
immediately by reply e-mail and delete this e-mail and its attachments from 
your system. Thank You.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to