Can you pop the final MSI open in Orca and see if the Merge Module contents are 
actually in there?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Adams
Sent: Friday, July 25, 2008 04:48
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] WIX and VS2008 Merge Modules

Hi,

I have a very puzzling situation, and am hoping someone can shed some light on 
it.

I have a Visual Studio 2008 Merge Module (containing Content Files and Project 
Output, and a couple of directories). If I reference this merge module from a 
normal VS 2008 Setup Project all files are installed as expected, however if I 
reference this merge module from a WIX (3) installer no files are output.

I've run FILEMON while the install is taking place and it is looking in the 
correct location (c:\inetpub\wwwroot\ISV\...) to add the files, but FILEMON 
returns FILENOTFOUND errors. It seems like the Merge Module should be creating 
the directories, but is not.

This only occurs when the main setup project is WIX - normal VS setup projects 
are fine.


<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"; 
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension";>
  <Product Id="fb7b5480-3723-4b32-93bf-d2f28dc59ef3"
           Name="Agresso CRM for Education"
           Language="1033" Version="1.0.1" Manufacturer="Agresso Ltd"
           UpgradeCode="9bfa8877-676c-48d4-878b-6eb75e5ed341">

    <Package InstallerVersion="200" Compressed="yes" Description="Agresso CRM 
for Education" />

      <Media Id="1" Cabinet="AgressoCRM.cab" EmbedCab="yes" />

    <Property Id="CRMWWWROOT_PATH">
      <RegistrySearch Id="MSCRM_WebSitePath" Root="HKLM" Type="raw" 
Key="SOFTWARE\Microsoft\MSCRM" Name="WebSitePath"></RegistrySearch>
    </Property>

    <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"/>

    <UIRef Id="WixUI_Mondo" />
    <UIRef Id="WixUI_ErrorProgressText" />

    <Directory Id="TARGETDIR" Name="SourceDir">

      <Directory Id="ProgramFilesFolder" Name="PFiles">
        <Directory Id="INSTALLDIR" Name="Agresso Ltd">

          <Directory Id="dir_AgressoLtd_AgressoCrm" Name="Agresso CRM">

          </Directory>

        </Directory>
      </Directory>

      <Directory Id="CRMWWWROOT_PATH">

        <Directory Id="ISV" Name="ISV">
          <Merge Id="merge_AgressoCRMBase" Language="1033" DiskId="1" 
SourceFile="C:\Development\Main\Sources\Agresso 
CRM\Sources\AgressoCRMBase\Base_MM\Debug\Base_MM.msm"></Merge>
        </Directory>

      </Directory>

    </Directory>

    <CustomAction Id='AlreadyUpdated' Error='[ProductName] is already 
installed.' />
    <CustomAction Id='NoDowngrade' Error='A later version of [ProductName] is 
already installed.' />

    <InstallExecuteSequence>

      <Custom Action='AlreadyUpdated' 
After='FindRelatedProducts'>PATCHFOUND</Custom>
      <Custom Action='NoDowngrade' 
After='FindRelatedProducts'>NEWERFOUND</Custom>

      <RemoveExistingProducts After='InstallFinalize' />
      <MsiPublishAssemblies Sequence='4000' />
      <MsiUnpublishAssemblies Sequence='4001' />
    </InstallExecuteSequence>

    <AdvertiseExecuteSequence>
      <MsiPublishAssemblies Sequence='4002'/>
    </AdvertiseExecuteSequence>


    <Feature Id="AgressoCRM_feat" Title="Agresso CRM for Education" Level="1" 
Description="The Agresso CRM for Education Product. This should only be 
installed on the CRM Server.">


      <MergeRef Id="merge_AgressoCRMBase" />



    </Feature>


  </Product>
</Wix>

------------------------------------------------------------------------------------
This email is from Agresso Limited.  Its contents, including any attachments, 
are confidential to the person or business to which it is addressed.  If you 
are not the intended recipient you may not read, copy, or make any other use of 
this email or its contents.  If received in error, please tell the sender 
immediately and then delete it from your system.  Thank you.

Any opinions expressed in this email are not necessarily those of Agresso 
Limited.

Although we have taken steps to ensure that this email and any attachments are 
virus free, neither Agresso Limited or the sender accepts any responsibility 
for viruses, it is your responsibility to scan the email and attachments to 
ensure they are actually virus free.
-------------------------------------------------------------------------
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


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