roblewis
Posts: 2
Joined: Mon Dec 28, 2015 8:56 pm

error during the Windows features configuration process

Hi,

I'm having an intermittent problem with my installer package. Sometimes (not always) it will produce the error below (and snapshot attached). For Prerequisites, I have Windows Feature bundle .NET 3.5 and 4.6 set to install for Win 8, 8.1 and 10. Also, it's a single exe setup with resources inside, 64-bit package, per-machine only and run as administrator.

The problem is experienced on a freshly installed Windows 10 VM. When it starts to attempt to install windows features, it hangs there for a long time with no progress updates, then either succeeds or produces the error below.

I'm on AI version 12.5.1. Is this a problem with Advanced Installer? if so, can we have a fix soon?

- Rob

------------------------------
MSI (s) (FC:04) [00:12:19:788]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
Error 4180. There was an error during the Windows features configuration process.
Your original configuration will be restored.
MSI (s) (FC!40) [00:12:44:237]: Product: XXXXXXXXXXX -- Error 4180. There was an error during the Windows features configuration process.
Your original configuration will be restored.

CustomAction AI_WinOptFeaturesConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 0:12:44: InstallExecute. Return value 3.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: error during the Windows features configuration process

Hello and welcome to our forums,

This usually happens when our "Windows Feature Bundle" support fails to enable the Windows features you configured in the "Prerequisites" page of your project. Please note that the .NET Framework 3.5 feature on Windows 8 and newer OSes can be installed only if there is an active Internet connection on target machine. This is because the installation files of the .Net Framework Windows must be downloaded first in order to activate this Windows feature.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
roblewis
Posts: 2
Joined: Mon Dec 28, 2015 8:56 pm

Re: error during the Windows features configuration process

Hi Daniel,

Obviously there is an internet connection on this machine; as I stated, sometimes it works. I appreciate that the "Windows Feature Bundle" support fails to enable the Windows features, but why would it fail? That has never happened to me outside of AI. In other words, if Windows can do it from the control panel without failing, but AI fails, then how is that not a bug in AI? It's probably just timing out on the download, maybe you just need to modify the timeout value, or have a retry or something.

That feature is part of the core AI system, so installer packages that need that need it rely on it to work flawlessly. Can you please open a ticket and have someone look into it? Can they reproduce this behavior?

Thank you.

- Rob
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: error during the Windows features configuration process

Hello Rob,

Please send us your AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can test and further investigate this.

If you cannot share with us your project file, then you can try to isolate the behavior in a buildable sample (.aip + its referenced files) which we can build and test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
roi.zentner
Posts: 1
Joined: Sun Apr 29, 2018 8:59 am

Re: error during the Windows features configuration process

Hi,

I'm experiencing the same issue using Advanced Installer 14.2.1.
While I can't rule out internet connectivity issues on my target machine, what's bothering me is that the process is returning code 0.

The log shows:

Code: Select all

Error 4178. Windows couldn't connect to the Internet to download necessary files. Make sure that you're connected to the Internet, and click "Retry" to try again.
The log then ends with:

Code: Select all

Action 20:48:50: FatalError. 
Action start 20:48:50: FatalError.
Action ended 20:48:50: FatalError. Return value 0.
I am using a simple PowerShell script that automatically runs the installation silently on a target VM (for QA purposes).
My PowerShell:

Code: Select all

param(
	$filename,
	$workingDirectory
)
$MSIArguments = @(
    "/qn"
    "/norestart"
)
Start-Process $filename -WorkingDirectory $workingDirectory -ArgumentList $MSIArguments -Wait
Where $filename is the installation executable and $workingDirectory is the directory where the installer is at.

The problem is that the PowerShell script ends successfully and further testing of the product fails (because the product is not installed).

How can I prevent the MSI from passing success when it actually fails?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: error during the Windows features configuration process

Hello and welcome to our forums,

I'm not so sure why this happens. Can you please send us the .AIP (project file) and a full verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

I want to double check this scenario with our dev team too.

If you cannot share with us your project file, then you can try to isolate the behavior in a buildable sample (.aip + its referenced files) which we can build and test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
h.k.foysol
Posts: 17
Joined: Thu Oct 13, 2016 10:34 am
Contact: Skype

Re: error during the Windows features configuration process

Don't see any conclusion in this thread. What was the solution? I have been facing the same issue in Windows 10 VM.
Humayun Kabir Foysol
Team Lead
Enosis Solutions
http://www.enosisbd.com
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: error during the Windows features configuration process

Hello Humayun,

We were never able to replicate the issue. If you could help us replicate the issue using a test setup project this will be great.

Please forward us to support at advancedinstaller dot com any resources you think it could help us to isolate and further investigate this.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”