Loading
Suite: Installer trying to enable NetFx3

We have a Suite installer project and are using it to enable a few Windows Features and Roles. We do not try to enable NetFx3ServerFeatures or NetFx3 however in the log it shows Installshield trying to enable it anyway. None of the Features we want to enable rely on it or are dependent on it being enabled. This fails on Windows Server 2019 because NetFx3 can't be enabled. We don't want it, don't need it, and are blocked by this because I don't know how to force Installshield to stop trying to enable it.


  • From the log, looks like you have enabled 'IIS-WebServerRole' (Internet Information Services) feature.

    8-27-2019[11:20:54 AM]: Getting feature list for initial feature items 'IIS-WebServerRole'

     

    8-27-2019[11:20:54 AM]: Getting feature items for OS version 1000 (Server)

     

    8-27-2019[11:20:54 AM]: Final feature list for current item is: NetFx3ServerFeatures;NetFx3;IIS-WebServerRole;IIS-WebServer;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-CommonHttpFeatures;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-StaticContent;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-RequestMonitor;IIS-Performance;IIS-HttpCompressionStatic;IIS-Security;IIS-RequestFiltering;IIS-ApplicationDevelopment;IIS-ISAPIExtensions;IIS-ISAPIFilter;NetFx4Extended-ASPNET45;IIS-NetFxExtensibility;IIS-ASPNET

    This feature has dependency on NetFx3. You can open your project (.issuite) file and refer below nodes.

    <WindowsFeaturesDefinitions>

     

          <IIS-WebServerRole>

     

         <DependsOn>NetFx3</DependsOn>

     

         .....

     

        </IIS-WebServerRole>

     

    </WindowsFeaturesDefinitions>

    I am not sure you still need .Net 3.5 dependency on IIS feature on other operating systems and I have not tried if you can remove this dependency from your suite project.

    You can refer below link for more information

    https://helpnet.flexerasoftware.com/installshield25helplib/helplibrary/SteWindowsFeat.htm

    Some more information below if it helps for this issue:

    If you still need .net 3.5 for other OS, you can add .net 3.5 pre-requisite as a package to your project and this gets added as dependency package. You can control exit behavior (on failures) of this package by simply  ignoring and choosing setup to continue.

    https://helpnet.flexerasoftware.com/installshield22helplib/helplibrary/SteImportPRQ.htmcreatingsuites_3383918860_1045030

    Expand Post
    Selected as Best

Loading
Suite: Installer trying to enable NetFx3