2012-08-13 12 views
5

मैं this section of WiX toolset manual पढ़ रहा हूं, और सोच रहा हूं कि MSI पैकेज डाउनलोड करने के लिए वाईएक्स बूटस्ट्रैपर को कैसे बल देना है?एक एमएसआई पैकेज डाउनलोड करने के लिए एक WiX बूटस्ट्रैपर को कैसे बल दें?

  • .नेट फ्रेमवर्क ग्राहकों का प्रोफाइल
  • एसक्यूएल सर्वर 2008 R2 साझा प्रबंधन वस्तुओं: उदाहरण के लिए, अपने आवेदन स्थापित करने से पहले, bootstrapper डाउनलोड करने और स्थापित करने के लिए है।

मैंने सोचा है, मैं इसी MsiPackage इस तरह का वर्णन कर सकते हैं: निश्चित रूप से,

लेकिन the schema referenceMsiPackage तत्व बताता है के लिए

"At a minimum, the SourceFile or Name attribute must be specified."

कि और,, ऐसा नहीं ' टी झूठ - बिना SourceFile या Name बंडल प्रोजेक्ट त्रुटियों के साथ संकलित करता है।

MsiPackage इस तरह के RemotePayload जोड़ना:

कुछ

Unable to read package ''. This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.

मुझे याद आ रही:

<MsiPackage Name="redist\SharedManagementObjects.msi" 
       DisplayName="Microsoft SQL Server 2008 R2 Management Objects" 
       DisplayInternalUI="yes" 
       Vital="yes" 
       DownloadUrl="http://go.microsoft.com/fwlink/?LinkID=188438&amp;clcid=0x409"> 
    <RemotePayload Size="10953728" 
        Version="10.50.1600.1" 
        ProductName="Microsoft SQL Server 2008 R2 Management Objects" 
        Description="Microsoft SQL Server 2008 R2 Management Objects" 
        Hash="6ce3a433309c63d98bcf0e2b9f1dfaed8cc18783"/> 
    </MsiPackage> 

एक निर्माण त्रुटि होती है?

उत्तर

4

इसी प्रकार के सवाल का जवाब दे here:

That's not supported today; RemotePayload supports only the fields needed to verify a downloaded file is what's expected but nothing more than that. That works for .exes because Burn treats those like black boxes. Burn gathers a lot more data from MSI packages.

So the bug is either that it's an allowed child of MsiPackage or that it doesn't yet support all the data needed from an MSI.

 संबंधित मुद्दे

  • कोई संबंधित समस्या नहीं^_^