Detect and require a Windows QFE/patch for during installation

后端 未结 3 1909
天涯浪人
天涯浪人 2020-12-14 03:43

Our WiX installer deploys a .NET 4.0 WinForms application to Windows Vista and 7 desktops. The application includes a Portable Class Library that requires a .NET patch (KB24

3条回答
  •  醉梦人生
    2020-12-14 03:48

    I achieved this with WiX Burn using the following fragment (using the product codes from @KMoraz):

    
    
      
      
      
    
      
        
    
        
      
    
    

    The util namespace refers to the Wix Util Extension. You'll need a xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" in your root element and a reference to WixUtilExtension.dll.

    The installers will be automatically downloaded if required. You need to have the installer files saved locally in the root of your WiX project with the same name as specified by SourceFile for it to build, but they won't be added to the setup bundle because Compressed is set to no.

提交回复
热议问题