Sorry....

-----Ursprüngliche Nachricht-----
Von: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Gesendet: Montag, 18. Juli 2011 09:42
An: 'General discussion for Windows Installer XML toolset.'
Betreff: Re: [WiX-users] DTE OutputFileName vs OutputName - possible wix
bug?

Hi,
my installation should only start if an environment variable is set.
But my installation start every time? 
I just want to check if the environment is set and not if it is set to an
specific value.

For example:

  
    
  <?if $(env.testdir)?>
    
    <Directory Id="TARGETDIR" Name="SourceDir">
  
 
     <Directory Id="ProgramFiles64Folder">
        <Directory Id="INSTALLDIR"
                   Name="Test "/>     
      

 ...   
    
   
                <Feature Id="ProductFeature" 
             Title="test" 
             Level="1"
         
...

   <?else?>    
    <?error Test must be set!?>    
   <?endif?>

Christoph



----------------------------------------------------------------------------
--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to