Installshield LE Visual Studio 2012 Prerequisites

纵饮孤独 提交于 2019-12-04 19:09:34

Take a look under (2) Specify Application Data | Redistributables. You'll find an extensive list of Setup Prerequisites.

http://community.flexerasoftware.com/showthread.php?200816-Installing-IIS-as-a-Prerequisite-on-x64-OSs has a method for setting up a new pre-requisite file (.PRQ) that installs WAM and IIS. I've put the code here for posterity:

PRQ File

<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
    <operatingsystemconditions>
        <operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="4" ProductType="1"></operatingsystemcondition>
        <operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="4" ProductType="2|3"></operatingsystemcondition>
        <operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="4" ProductType="2|3"></operatingsystemcondition>
    </operatingsystemconditions>
    <files>
        <file LocalFile=".\Microsoft IIS\InstallWASandIIS.bat" CheckSum="3205F5B453D8E5FA8795280455BC6B97" FileSize="0,1983"></file>
    </files>
    <execute file="InstallWASandIIS.bat" returncodetoreboot="-1"></execute>
    <properties Id="{9724DBFD-9103-404F-BD53-6B29358C85EF}" Description="This prerequisite installs Windows Process Activation Services (WAS) and Microsoft Internet Information Services (IIS) on Windows 7 x64, Windows Server 2008 x64 and Windows Server 2008 R2 x64 operating systems for MET/TEAM."></properties>
    <behavior Reboot="32"></behavior>
</SetupPrereq>

BAT File

@echo off cls

@echo. @echo Windows Process Activation Services (WAS) and Microsoft Internet Information @echo Services (IIS) must be installed on this computer for it to be able to host
@echo the MET/TEAM website. If WAS and IIS are already installed on this computer,
@echo this process simply ensures that all necessary components are installed. @echo. @echo. @echo Installing Windows Process Activation Services - Please Wait start /w %WINDIR%\sysnative\pkgmgr /l:%TEMP%\InstallWAS.log /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;

if NOT ERRORLEVEL 0 ( @echo.
@echo An error occurred while installing Windows Process Activation Services - ERRORLEVEL% @echo Please refer to the log file %TEMP%\InstallWAS.log
@echo for more information. @echo. pause EXIT )

@echo. @echo Installing Microsoft Internet Information Services - Please wait... start /w %WINDIR%\sysnative\pkgmgr /l:%TEMP%\InstallIIS.log /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI; if NOT ERRORLEVEL 0 ( @echo.
@echo An error occurred while installing Microsoft Internet Information Services - %ERRORLEVEL% @echo Please refer to the log file %TEMP%\InstallIIS.log
@echo for more information. @echo. pause EXIT )

@echo.
@echo Installation was successful! @echo. EXIT

Thank you, ACordner, wherever you are now :-)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!