2016-07-25 14 views
0

Bear mit mir, ich versuche nur WiX zu lernen. Ich bin neugierig, wie man die folgenden Netzwerkinstallationsoptionen aus diesem Popup-Menü entfernt (in rot eingekreist)?Wie werden die Installationsoptionen "Wird vom Betriebssystem installiert?" Von MSI entfernt, wenn WiX verwendet wird?

enter image description here

EDIT: Wie unten angefordert, hier ist der Feature Knoten:

<Feature Id='Complete' Title='Product title' Description='The complete package.' 
    Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' Absent='disallow' AllowAdvertise='no' > 

    <Feature Id='MainProgram' Title='Program files' 
      Description='Installs the main executable files for the software.' 
      Absent='disallow' 
      AllowAdvertise='no' 
      Level='1'> 
    <ComponentRef Id='CompIDFile1EXE' /> 
    <ComponentRef Id='CompIDFile2EXE' /> 
    <ComponentRef Id='CompIDFile3EXE' /> 
    <ComponentRef Id='CompIDFile1DLL' /> 
    <ComponentRef Id='CompIDFile2DLL' /> 

    <ComponentRef Id='CompIDMainRegistry' /> 
    <ComponentRef Id='ProgramMenuDir' /> 
    </Feature> 

    <Feature Id='ShortcutsStart' Title='Start Menu Shortcuts' 
      AllowAdvertise='no' 
      Description="Places software shortcuts into the Windows Start Menu." 
      Level='1'> 
    <ComponentRef Id='CompIDShortcutsStart' /> 
    </Feature> 

    <Feature Id='ShortcutsDesktop' Title='Desktop Shortcut' 
      AllowAdvertise='no' 
      Description="Places software shortcut onto the users' desktops." 
      Level='1000'> 
    <ComponentRef Id='CompIDShortcutsDesktop' /> 
    </Feature> 

</Feature> 

Antwort

1

Sie sollten Ihre WiX Quelle zeigen, für die Feature-Elemente werden verwendet. Es ist wahrscheinlich eine Kombination der InstallDefault-Einstellung (die Sie wahrscheinlich "lokal" sein möchten) und AllowAdvertise (und setzen Sie es auf "Nein").

+0

Danke. Ich habe meine Antwort aktualisiert. Gibt es da etwas, das ich anpassen muss? – c00000fd

+0

Ich kann InstallDefault dort nicht sehen. – PhilDW

+0

Ich habe 'InstallDefault =" local "' für die '' gesetzt und es hat nichts getan. – c00000fd

Verwandte Themen