Treat warnings as werrors?

_______________________________________________________________
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-----Original Message-----
From: Narayana Rao, Sanjay [mailto:sanjay.narayana...@philips.com] 
Sent: Friday, February 14, 2014 12:59 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Inheriting MSM's

Yes Module dependency.

New MSM:

<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
  <Module Id="New" Language="0" Version="1.2.3">

    <Package Id="BE518A51-7F9B-41E0-96B7-CE57C25ABD79" InstallerVersion="100"
      Languages="1033" Manufacturer="Test" SummaryCodepage="1252" 
AdminImage="no" />

      <Directory Id='TARGETDIR' Name='SourceDir'>
         <Component Id="File21" Guid="62038648-F9AD-4546-8698-0DCD16F64CDF">
           <File Id="File2.txt" Name="File2.txt" Source="File2.txt" 
KeyPath='yes' />
          </Component>
        </Directory>

    <Dependency RequiredId="Old.C01D5188_559A_4C44_B198_CBEE07105EC5" 
RequiredLanguage="0" RequiredVersion="1.2.3" />
  </Module>
</Wix>

Test MSI: 

<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
  <Product Name=Test' Id='{C0FAF9B6-6B0A-4F43-95AA-6DF30173A160}' 
UpgradeCode='{DF595C07-F997-45EE-B097-B20B6533324F}'
    Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Test'>

    <Package Id='*' Keywords='Installer' Description="Test123"
      Comments='Test' Manufacturer='Test'
      InstallerVersion='100' Languages='1033' Compressed='yes' 
SummaryCodepage='1252' />

    <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" />
    <Property Id='DiskPrompt' Value="Test" />
    
    <Property Id="TARGETDIR" Value="C:\Test" />
    <Directory Id='TARGETDIR' Name='SourceDir'>      
          <Directory Id='INSTALLDIR' Name='Test123'>
             <Merge Id="Module2" Language="1033" SourceFile="New.msm" 
DiskId="1" />
          </Directory>
        </Directory>
    
    <Feature Id="Msm" Title="Msm" Level="1">
      <MergeRef Id=" Module2" />
    </Feature>

  </Product>
</Wix>

If I miss Merging old.msm which New.msm is depending on, I get following 
warning message and build succeeded 
light.exe(0,0): warning LGHT1076: ICE25: Possible dependency failure as we do 
not find File1.C01D5188_559A_4C44_B198_CBEE07105EC5@0 v1.2.3 in ModuleSignature 
table

Is there a way to fail the build? 

Thanks & Regards,
Sanjay

-----Original Message-----
From: Rob Mensching [mailto:r...@firegiant.com] 
Sent: Thursday, February 13, 2014 9:35 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Inheriting MSM's

Create a module dependency?

_______________________________________________________________
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-----Original Message-----
From: Narayana Rao, Sanjay [mailto:sanjay.narayana...@philips.com] 
Sent: Thursday, February 13, 2014 1:09 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Inheriting MSM's

Hi all,

I have existing msm say old.msm
I want to create new msm (say new.msm) which extends the existing old.msm.
I am using WIX Dependency tag,
In installation package (MSI) file I need to mere both old.msm and new.msm, if 
I miss to merge old.msm, I only get warning message.
Is there a way to raise error on missing old.msm?

Guide me if there is any better approach to make old.msm to be part of new.msm

Thanks & Regards,
Sanjay


________________________________
The information contained in this message may be confidential and legally 
protected under applicable law. The message is intended solely for the 
addressee(s). If you are not the intended recipient, you are hereby notified 
that any use, forwarding, dissemination, or reproduction of this message is 
strictly prohibited and may be unlawful. If you are not the intended recipient, 
please contact the sender by return e-mail and destroy all copies of the 
original message.
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to