Alex99
Posts: 42
Joined: Thu Feb 14, 2013 9:28 am

Windows Server 2012 R2 IIS is not fuly installed

Hello,
I have Advanced Installer v10.8 build 54215. I have checked IIS windows features as on attached screenshots. Uninstall policy was "Do not remove installed features"
Features.png
Features.png (79.62 KiB) Viewed 23114 times
When I install on Windows Server 2012 R2 I get error.
error.png
error.png (36.87 KiB) Viewed 23114 times
Logs:

Code: Select all

MSI (s) (60:28) [17:01:49:604]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI5F5B.tmp, Entrypoint: OnIIsConfig
MSI (s) (60!FC) [17:04:44:614]: Product: <My ProductName> -- Error 4023. This version of IIS is not supported or IIS is not fully installed !You need Internet Information Services 5.0 or above.

MSI (s) (60!FC) [17:04:45:870]: Product: <My ProductName> -- Error 4020. There was an error during the IIS configuration process. Your original IIS configuration will be restored.

MSI (s) (60:BC) [17:04:45:886]: Note: 1: 2265 2:  3: -2147287035 
MSI (s) (60:BC) [17:04:45:886]: User policy value 'DisableRollback' is 0
MSI (s) (60:BC) [17:04:45:886]: Machine policy value 'DisableRollback' is 0
When I go to Control Panel->Programs and Features->Turn Windows features on or off, then click "Add roles and features" and go to IIS features(in Windows Server 2012 R2 it calls Server Roles) I see that choosen IIS features wasn't installed.
WindowsServerFeatures.png
WindowsServerFeatures.png (56.38 KiB) Viewed 23114 times
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Windows Server 2012 R2 IIS is not fuly installed

Hello Alex,

Please note that when a web-site is added in the IIS page, automatically a Minimum IIS version Software Launch Conditions is added to your installation package.

Since you have added the IIS Windows feature bundle you can disable this launch condition because this launch condition is evaluated before the windows feature bundle installation and on a machine where the IIS is not enabled you will get that error.

So, can you please try to disable the Internet Information Service 5.0 from the Software Launch Conditions tab from the Launch Conditions page and see if the behavior still persist?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alex99
Posts: 42
Joined: Thu Feb 14, 2013 9:28 am

Re: Windows Server 2012 R2 IIS is not fuly installed

Internet Information Service 5.0 was already disabled from the Software Launch Conditions. Error appears not at start of installer, it appears at the end of instalation(on IIS config). Problem is that all those features I selected at Prerequisites->Windows features does not install in Windows Server 2012 R2. At other OS(e.g. Windows 7,8, Windows server 2008) it works OK.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Windows Server 2012 R2 IIS is not fuly installed

Hi Alex,

Can you please tell us if the Enhanced User Interface option is enabled in the Settings tab from the Themes page?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alex99
Posts: 42
Joined: Thu Feb 14, 2013 9:28 am

Re: Windows Server 2012 R2 IIS is not fuly installed

Option "Use Enchanced user interface" set as Always(install, uninstall and maintenance)
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Windows Server 2012 R2 IIS is not fuly installed

Hi Alex,

You might get this behavior on a Windows Server 2012 R2 and on Windows 8.1 due to a bug in Advanced Installer, where the versionNT is not correctly detected (it has the same value as the one for Windows 8 and Windows Server 2012) when the Enhanced User Interface is enabled. Here's the Bug! for Windows 2012R2 VersionNT64=602 forum thread which debates this subject.

I've attached a zip archive which contains the fixed resources (ExternalUi.exe and setup.exe). So, can you please replace the resources from the installation folder of Advanced Installer (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 10.8\stubs\x86) with these ones and see if the behavior still persist. Also you should back up first your original files.

Please let us know if that helped.

Best regards,
Dan
Attachments
Resources.zip
(809.91 KiB) Downloaded 783 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alex99
Posts: 42
Joined: Thu Feb 14, 2013 9:28 am

Re: Windows Server 2012 R2 IIS is not fuly installed

Yes, thank you it helped. It means that I have to update advanced installer to 10.9?
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Windows Server 2012 R2 IIS is not fuly installed

Hi Alex,

The fix for this issue has been included in the 10.9.1 version of Advanced Installer released on February 10th, 2014.
If your Maintenance Plan is valid, then you can upgrade to the latest Advanced Installer version.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Seven
Posts: 2
Joined: Tue Jun 24, 2014 12:15 pm

Re: Windows Server 2012 R2 IIS is not fuly installed

Hello,

I use Advanced Installer 11.2.1. I have the same problem with Windows Server 2012 R2, but only when I want to install IIS on a domain controller. I get the same error message like Alex99. Without domain controller my setup works fine on Windows Server 2012 R2.

Best regards,
Seven
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Windows Server 2012 R2 IIS is not fuly installed

Hi Seven and welcome to Advanced Installer forums,

I'm not sure why you are encountering this. In order to get more details about what happens can you download the following debug DLL, replace the original one from the install folder of Advanced Installer 11.2.1 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 11.2.1\custact\x86) on your machine and rebuild the package?

Just replace the original WinOptionalFeatures.dll from the install folder of Advanced Installer with this one, then restart the application and rebuild the package. This DLL should create a debug log (at install time) on the root of the OS partition (e.g. C:\AI_WinFeats.log), which can give us more details about the problem. So, can you send us the AI_WinFeats.log.log file, to support at advancedinstaller dot com, after you will build and test your installation package using the debug WinOptionalFeatures.dll?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Seven
Posts: 2
Joined: Tue Jun 24, 2014 12:15 pm

Re: Windows Server 2012 R2 IIS is not fuly installed

Hello Dan,

we decided, that it was no good idea to install IIS on a Domain Controller. So I don't need your debug DLL to find the problem.
Thank you for your answer.

Best regards,
Seven
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Windows Server 2012 R2 IIS is not fuly installed

You're welcome Seven,

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Mir
Posts: 2
Joined: Thu May 15, 2014 8:23 am

Re: Windows Server 2012 R2 IIS is not fuly installed

Hi, I have the same problem. IIS feature on Windows 2012 ok but on Windows 2012 R2 error "This version of IIS is not supported ......".
The Windows 2012 R2 is a domain controller but IIS get installed with Manual installation (with Server Manager--Role and feature).
My Advanced installer is 11.3 build 57228.
see attaced log file.
Could you help me?
thanks
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Windows Server 2012 R2 IIS is not fuly installed

Hello,

I'm not sure why you are encountering this. In order to get more details about what happens can you download the following debug DLL, replace the original one from the install folder of Advanced Installer 11.3 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 11.3\custact\x86) on your machine and rebuild the package?

Just replace the original WinOptionalFeatures.dll from the install folder of Advanced Installer with this one, then restart the application and rebuild the package. This DLL should create a debug log (at install time) on the root of the OS partition (e.g. C:\AI_WinFeats.log), which can give us more details about the problem. So, can you send us the AI_WinFeats.log.log file, to support at advancedinstaller dot com, after you will build and test your installation package using the debug WinOptionalFeatures.dll?

Also, can you please send us the .AIP (project file) and a verbose log of the installation process so we can investigate this? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Windows Server 2012 R2 IIS is not fuly installed

Hello,

This was fixed in version 11.5 of Advanced Installer released on September 25th, 2014.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”