Hi,
      I am beginner in WIX, and a couple of days back I had a similar issue.  
The following are the changes i made after help from this group.
   
  Added the following line in <InstallUISequence> and <InstallExecuteSequence>
   
  <LaunchConditions After='AppSearch' />
   
  This will ensure that the LaunchConditions are executed only after searching.
   
  This is the code from my wxs file
   
  <Condition Message="Software is not installed "> SUITEINSTALLDIR </Condition>
   
  <Property Id="SUITEINSTALLDIR"> <RegistrySearch Id='BOBJRegistry' Type='raw' 
Root='HKLM' Key='Software\Company\Suite 12.0\Shared' Name='SuiteInstallDir' /> 
</Property>
   
  <InstallUISequence>
        <LaunchConditions After='AppSearch' />
  </InstallUISequence>
   
      <InstallExecuteSequence>
      <LaunchConditions After='AppSearch' />
    </InstallExecuteSequence>
   
   
  Thanks,
  Bala.
   
   
  Message: 3
Date: Wed, 28 Feb 2007 14:21:41 -0600
From: "John Lalande" 
Subject: [WiX-users] merge module that conditionally installs a
component
To: wix-users@lists.sourceforge.net
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
  I have created a plugin for the PIM Act! This plugin dll must be installed
in a subfolder of the Act! installation directory only if Act! is installed.
  I would like to package the plugin in a merge module so that different teams
at our company can use it by simply including it in their installer
project. All the teams use InstallShield except the team I am on (I am
working on that). I would like to write the merge module using WiX.
  The merge module I have written works great if Act! is installed, but fails
miserably when Act! is not. It still installs the plugin, but to a location
relative to C:. I am getting Act's installation folder fine, but I think
the way I am defining the Directory element is wrong.
  I am retrieving the Act installation folder using this fragment:
  
Root='HKLM' Key='SOFTWARE\ACT\Install' Name='InstallPath' />
  
and defining the plugin folder like this:
   
  
Guid='31A99920-6E0A-4e31-B569-180D46439930'>
/>
ACTPATH <> ""
   
   
  What happens when Act! is not installed is that the plugin is installed in
c:\ActDir\plugins which does make sense because in the absence of the
ACTPATH property, "ActDir" is set as the actual name of the folder. So it
is clear that I don't have a good understanding how this should be written.
  Can someone explain the right way to do this if it is even possible?


                                
---------------------------------
 Here’s a new way to find what you're looking for - Yahoo! Answers 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to