Hi all,

I have a condition that checks if another product is installed (if the
product is installed the installation may proceed), during installation
the condition works fine but when I uninstall it seems that the MSI
tries to evaluate the condition again and if the product that the
condition is supposed to look for is removed it fails and I can't
uninstall my product, is there any way to just check the condition only
during install (and not during uninstall)?

 

Below is the condition:

 

    <Property Id="COMPANYDIR">

      <RegistrySearch Id='SAsInstllPath' Type='raw' Root='HKLM'
Key='SOFTWARE\ECS\SAs' Name='InstallPath' Win64='yes' />

    </Property>

 

    <!-- CHECK THAT SHARE-A-SPACE IS INSTALLED ON THE SERVER -->

    <Condition Message='Share-A-space is not installed or properly
configured on this machine.'>COMPANYDIR</Condition>

 

 

Any help appreciated!

 

 

/Per G

-------------------------------------------------------------------------
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