wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
129 stars 24 forks source link

WriteIIS7ConfigChanges: Error 0x80090016: Failed to Commit IIS Config Changes #6755

Open jhaughs opened 2 years ago

jhaughs commented 2 years ago

Bugs

If this issue is a bug:

3.11.1.2318

16.11.7

Building with powershell

4.6.1

Windows 11

We are only seeing this behaviour on Windows 11 (Windows 11 Pro 10.0.22000 Build 22000)machines, have tested on windows 10, server 2012 & 2016 and installs fine.

Error in the logs:

MSI (s) (18:FC) [16:18:49:559]: Executing op: ActionStart(Name=WriteIIS7ConfigChanges,Description=Installing Config Keys and Values,) ConfigureIIs7Exec: Custom action data hash: 41034C345A4E6B9B4DDB8490C1BC5266637BC0E8 MSI (s) (18:FC) [16:18:49:560]: Executing op: CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=BinaryData,Target=**,CustomActionData=**) MSI (s) (18:10) [16:18:49:563]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI9DFE.tmp, Entrypoint: WriteIIS7ConfigChanges WriteIIS7ConfigChanges: Entering WriteIIS7ConfigChanges in C:\Windows\Installer\MSI9DFE.tmp, version 3.11.2318.0 WriteIIS7ConfigChanges: Custom action data hash: 41034C345A4E6B9B4DDB8490C1BC5266637BC0E8 WriteIIS7ConfigChanges: CustomActionData WriteIIS7ConfigChanges length: 301 WriteIIS7ConfigChanges: Error 0x80090016: Failed to Commit IIS Config Changes WriteIIS7ConfigChanges: Error 0x80090016: WriteIIS7ConfigChanges Failed. CustomAction WriteIIS7ConfigChanges returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

CODE:

0 WIN_USER_NAME CC9000_LOCATION=2 CC9000_LOCATION<>2

Installs fine on Windows 10 machines but fails on Windows 11.

jhaughs commented 2 years ago

Update

I also tried building with the latest dev release of Wix toolset [v3.14.0.5722] but still fails to install on Win 11.