简体   繁体   English

Inno安装程序:需要用于Windows Server 2012 R2的.Net Framework 3.5 SP1独立安装程序(无Internet,无DVD安装介质)

[英]Inno Setup: Need a standalone Installer for .Net Framework 3.5 SP1 for Windows Server 2012 R2 (no Internet and no DVD Installation Media)

I need your help. 我需要你的帮助。 We have a Setup which we want to migrate from Windows Server 2008 R2 to Windows Server 2012 Server R2. 我们有一个要从Windows Server 2008 R2迁移到Windows Server 2012 Server R2的安装程序。 In our setup we install .NET Framework 3.5 with File dotnetfx35.exe which is running fine on Windows Server 2008 R2. 在我们的安装程序中,我们安装了带文件dotnetfx35.exe的.NET Framework 3.5,该文件在Windows Server 2008 R2上运行良好。 On Windows Server 2012 R2 this file is no working anymore(Error Offline installer for .Net 3.5 SP1 not working ) 在Windows Server 2012 R2上,此文件不再起作用( .Net 3.5 SP1的脱机安装错误不起作用

How can install or enable .NET Framework 3.5 (SP1) for Windows Server 2012 R2 without Internet and No Media Installation available by INNO SETUP or by Command Line, PowerShell? 如何通过INNO SETUP或命令行,PowerShell在没有Internet且没有可用媒体安装的情况下为Windows Server 2012 R2安装或启用.NET Framework 3.5(SP1)? There is from Micrososft an Standalone Exe to Install on Windows Server 2012 R2?? 来自Micrososft的独立Exe可安装在Windows Server 2012 R2上?

Thanks a lot!!!! 非常感谢!!!!

to install the framework 3.5 in offline mode, Make sure you have the Windows Server 2012 R2 DVD or the source files to install the framework in offline mode. 要以脱机模式安装框架3.5,请确保您具有Windows Server 2012 R2 DVD或源文件以脱机模式安装框架。 use the following command: 使用以下命令:

Dism /online /enable-feature /featurename:NetFx3 /All /Source:H:\\sources\\sxs /LimitAccess Dism / online /启用功能/功能名称:NetFx3 /全部/来源:H:\\ sources \\ sxs / LimitAccess

Where "H:\\sources\\sxs" is the path to your Windows DVD or the source. 其中“ H:\\ sources \\ sxs”是Windows DVD或源的路径。 If you prefer using the PowerShell, run the following command in PowerShell: Install-WindowsFeature –name NET-Framework-Core –source H:\\sources\\sxs This will enable the feature. 如果您更喜欢使用PowerShell,请在PowerShell中运行以下命令:Install-WindowsFeature –name NET-Framework-Core –source H:\\ sources \\ sxs这将启用该功能。

for standalone installer you can add "H:\\sources\\sxs" from Windows DVD to your installer and in run time extract it in temp folder and use the above command Line for enabling that. 对于独立安装程序,您可以将Windows DVD中的“ H:\\ sources \\ sxs”添加到安装程序中,然后在运行时将其解压缩到temp文件夹中,并使用上述命令行启用该功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 #Develop installer-此设置要求安装.NET Framework 3.5 SP1 - #Develop installer- This setup requires the .NET Framework 3.5 SP1 to be installed 创建包含 .Net Framework 3.5 SP1 的安装项目 - create setup project that includes .Net Framework 3.5 SP1 Microsoft .Net Framework 3.5 SP1安装失败 - Microsoft .Net framework 3.5 SP1 Setup Fails .Net 3.5 SP1的脱机安装程序无法正常工作 - Offline installer for .Net 3.5 SP1 not working 在Windows Server 2008 R2 SP1的IIS 7.5上注册.NET 4.5的安全方法 - Secure way for registering .NET 4.5 on IIS 7.5 on Windows Server 2008 R2 SP1 .NET Framework 3.5 SP1中的MVC 4应用程序 - MVC 4 application in .net framework 3.5 SP1 Windows 2003与.NET 3.5 SP1崩溃 - Windows 2003 crashing with .NET 3.5 SP1 .NET 3.5和SP1安装问题-单个安装程序 - .NET 3.5 and SP1 install question - single installer Visual Studio 2008安装项目警告“找不到先决条件” .Net Framework 3.5 SP1” - Visual Studio 2008 Setup Project warning “Could Not find prerequisite ”.Net Framework 3.5 SP1" 如何以编程方式确定是否已安装用于.net v3.5 SP1的MS图表控件(包含在Inno Setup脚本中)? - How can I programmatically identify whether MS Chart Controls for .net v3.5 SP1 are installed (for inclusion in an Inno Setup script)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM