Error 1603 fatal error during installation consult windows installer help msi chm

На чтение 7 мин. Просмотров 11.5k. Опубликовано

Установщик Windows устанавливает и удаляет программное обеспечение с форматами пакетов MSI. Однако установщик Windows не всегда устанавливает программное обеспечение по мере необходимости и может иногда возвращать сообщение об ошибке, в котором говорится: « 1603 Фатальная ошибка во время установки. »

Таким образом, пользователи не могут устанавливать или удалять программу, когда появляется это сообщение об ошибке. Вот несколько исправлений, которые, вероятно, устранят ошибку 1603.

Содержание

  1. Исправьте ошибку установки 1603, используя эти решения
  2. 1. Закройте фоновое программное обеспечение
  3. 2. Проверьте, что программное обеспечение еще не установлено
  4. 3. Убедитесь, что для программы достаточно места на жестком диске
  5. 4. Откройте программу установки и удаления устранения неполадок
  6. 5. Стереть временные файлы из временной папки Windows
  7. 6. Перезапустите службу установщика Windows.
  8. 7. Измените значение реестра NtfsDisable8dot3NameCreation
  9. 8. Предоставьте разрешение на полный доступ к приводу установки

Исправьте ошибку установки 1603, используя эти решения

  1. Закрыть фоновое программное обеспечение
  2. Проверьте, что программное обеспечение еще не установлено
  3. Проверьте, достаточно ли места на жестком диске для программы
  4. Откройте программу установки и удаления устранения неполадок
  5. Стереть временные файлы из папки Windows Temp
  6. Перезапустите службу установщика Windows.
  7. Отредактируйте значение реестра NtfsDisable8dot3NameCreation
  8. Предоставить полное разрешение на доступ к инсталляционному диску

1. Закройте фоновое программное обеспечение

Фоновое программное обеспечение может подорвать установщик Windows при установке программы. Поэтому закройте большинство фоновых программ перед установкой программы.

Закройте все окна на панели задач и значки стороннего программного обеспечения в области уведомлений. Вы также можете закрыть другие программы с помощью диспетчера задач следующим образом.

  1. Нажмите клавишу Win + горячую клавишу X.
  2. Выберите Диспетчер задач в меню, чтобы открыть его окно.
  3. Перейдите на вкладку «Процессы» в снимке экрана ниже.
  4. Закройте все программы из списка приложений, выбрав их и нажав кнопку Завершить задание .
  5. Вы также можете закрыть сторонние программные процессы, перечисленные на вкладке Процессы.

2. Проверьте, что программное обеспечение еще не установлено

Если вы получаете ошибку 1603 для одной конкретной программы, возможно, это программное обеспечение уже установлено. Убедитесь, что у вас еще нет более ранней версии программного обеспечения. Если это так, сначала удалите предыдущую версию программы.

  1. Чтобы удалить программу, нажмите сочетание клавиш Win + R, чтобы открыть Выполнить .
  2. Введите «appwiz.cpl» в текстовом поле «Выполнить».
  3. При этом откроется вкладка «Панель управления программами и функциями», где вы можете выбрать программу для удаления и нажать Удалить .
  4. Возможно, откроется диалоговое окно с вопросом, уверены ли вы в удалении программного обеспечения. Нажмите кнопку Да для подтверждения.
  5. Затем попробуйте установить нужную программу еще раз.

ТАКЖЕ ЧИТАЙТЕ . Как исправить ошибку установки 0xc000021a в Windows 10

3. Убедитесь, что для программы достаточно места на жестком диске

Также обратите внимание, что для программного обеспечения может быть недостаточно свободного места на жестком диске. Возможно, вам потребуется освободить место на жестком диске, если для программного обеспечения требуется более одного гигабайта памяти. Во-первых, перепроверьте минимальные требования программы к системе хранения HDD. Затем убедитесь, что на жестком диске достаточно места, как показано ниже.

  1. Откройте проводник, нажав его кнопку на панели задач Windows 10.
  2. Нажмите Этот компьютер , чтобы открыть список папок и дисков, как показано ниже.
  3. Нажмите правой кнопкой мыши на диске C: и выберите Свойства , чтобы открыть вкладку Общие, показанную ниже.
  4. Эта вкладка показывает, сколько свободного места на жестком диске. Если для программы недостаточно свободного места, удалите стороннее программное обеспечение или запустите утилиту очистки диска, чтобы освободить место на жестком диске.

4. Откройте программу установки и удаления устранения неполадок

Существует программа установки и удаления программ устранения неполадок для Windows 10, которая исправляет ошибки установки программного обеспечения. Это не встроенное средство устранения неполадок, но вы можете добавить его в Windows на этой странице веб-сайта.

Нажмите кнопку Загрузить на этой странице и откройте средство устранения неполадок из папки, в которой вы его сохранили. Нажмите кнопку Далее , чтобы выполнить действия по устранению неполадок.

5. Стереть временные файлы из временной папки Windows

Ошибка 1603 может быть связана с чрезмерно полной папкой Temp Windows, которая содержит временные файлы программного обеспечения. Удаление временных файлов из папки Temp также может помочь решить проблему. Существует множество сторонних утилит, с помощью которых вы можете удалить временные файлы, но вы также можете удалить ненужные файлы с помощью инструмента очистки диска Windows следующим образом.

  1. Откройте приложение Cortana, нажав кнопку на панели задач.
  2. Введите «Очистка диска» в поле поиска Cortana и выберите, чтобы открыть Очистка диска.
  3. Выберите диск C: в раскрывающемся меню и нажмите кнопку OK.
  4. Очистка диска скажет вам, сколько места на жестком диске он может освободить в своем окне ниже.
  5. Временные файлы и Временные интернет-файлы – это два основных флажка, которые необходимо выбрать здесь. Однако вы также можете выбрать удаление других категорий файлов.
  6. Нажмите кнопку ОК и выберите параметр Удалить файлы .

6. Перезапустите службу установщика Windows.

Служба установщика Windows, вероятно, не будет отключена. Однако перезапуск и перерегистрация установщика Windows может запустить эту службу и исправить ошибку 1603. Вот как вы можете перезапустить установщик Windows.

  1. Введите «services.msc» в «Выполнить» и нажмите кнопку ОК .
  2. Прокрутите вниз до указанной службы установщика Windows.
  3. Дважды щелкните установщик Windows, чтобы открыть окно на снимке экрана ниже.
  4. Нажмите кнопку Пуск в окне установщика Windows. Однако нажмите кнопку Стоп , если служба уже запущена; а затем нажмите Пуск .
  5. Нажмите кнопки Применить и ОК .
  6. Чтобы заново зарегистрировать установщик Windows, снова откройте «Выполнить».
  7. Введите «msiexec/unregister» в текстовом поле «Выполнить» и нажмите кнопку ОК .
  8. После этого введите «msiexec/regserver» в «Выполнить», чтобы зарегистрировать установщик Windows.

7. Измените значение реестра NtfsDisable8dot3NameCreation

Ошибка 1603 может возникнуть, если создание короткого имени файла деактивировано. Таким образом, включение создания короткого имени файла – это еще один способ исправить ошибку 1603. Вы можете сделать это, отредактировав его значение NtfsDisable8dot3NameCreation в реестре следующим образом.

  1. Введите «regedit» в «Выполнить» и нажмите «ОК», чтобы открыть редактор реестра.
  2. Затем перейдите в Компьютер> HKEY_LOCAL_MACHINE> SYSTEM> CurrentControlSet> Control> FileSystem в редакторе реестра, как показано ниже.
  3. Дважды щелкните DWORD NtfsDisable8dot3NameCreation, чтобы открыть его окно «Изменить значение DWORD (32-разрядное)» ниже.
  4. Если значение DWORD в настоящее время равно 1, замените его значение, введя 0 в текстовое поле.
  5. Нажмите кнопку ОК , чтобы закрыть окно Изменить DWORD.
  6. Закройте редактор реестра и перезагрузите компьютер или ноутбук.

8. Предоставьте разрешение на полный доступ к приводу установки

Ошибка 1603 также может возникнуть, если ваша учетная запись SYSTEM не имеет разрешения «Полный доступ» для выбранной папки установки. Вы можете решить эту проблему, изменив разрешения для диска, на который вы устанавливаете программное обеспечение. Следуйте приведенным ниже инструкциям для редактирования разрешений СИСТЕМЫ.

  1. Откройте проводник и нажмите Этот компьютер .
  2. Затем щелкните правой кнопкой мыши установочный диск для программного обеспечения (обычно это C) и выберите Свойства .
  3. Выберите вкладку «Безопасность», показанную ниже.
  4. Нажмите кнопку Изменить , чтобы открыть окно, расположенное ниже.
  5. Выберите «СИСТЕМА» и установите флажок «Разрешить» для Полный контроль , если этот параметр не выбран. Все флажки Разрешить должны быть установлены для SYSTEM.
  6. Нажмите кнопки Применить и ОК и закройте окно «Разрешения».
  7. Нажмите кнопку Дополнительно в окне свойств накопителя, чтобы открыть окно, показанное ниже.
  8. Выберите параметр Изменить разрешения .
  9. Выберите «СИСТЕМА» на вкладке «Разрешения» и нажмите кнопку Изменить , чтобы открыть окно «Разрешения».
  10. Выберите Эта папка, подпапки и файлы в раскрывающемся меню Применить к.
  11. Нажмите кнопку ОК в окне ввода разрешений.
  12. Нажмите кнопки ОК на всех других открытых окнах.

Это несколько решений для ошибки 1603, которые могут установить ваше программное обеспечение при необходимости. Помимо этих исправлений, инструменты восстановления Windows также могут решить эту проблему. В этом руководстве по программному обеспечению содержатся дополнительные сведения об утилитах восстановления Windows, которые могут пригодиться для устранения ошибки 1603.

Примечание редактора . Этот пост был первоначально опубликован в октябре 2017 года и с тех пор был полностью переработан и обновлен для обеспечения свежести, точности и полноты.

A great many people received the fatal MSI error 1603 while they want to install the software in Windows 10/11? If you also encounter this error, then this article of MiniTool Partition Wizard is worth reading. It provides several ways for the MSI installer error 1603.

Here is a user report from the Microsoft forum:

“I am trying to redownload Alienware Command Center on my PC but when I try to download it, it gets close to the end then it says ‘Error -1603 fatal error during installation. Consult Windows installer help (msi.chm) or MSDN for more information.”https://answers.microsoft.com/en-us/windows/forum/all/error-1603-fatal-error-during-installation

What Is MSI Error 1603? Why Does It Happen?

An MSI file is a Windows Installer package that contains the information needed to install a product and the instructions and data needed to install (or uninstall) a program in many installation situations.

However, when running an MSI installation using the Windows Installer service, sometimes you encounter a fatal error with exit code 1603. This MSI error code 1603 means the installation failed. The MSI error message is usually something like “error – 1603 fatal error during installation.”

Well, what causes this MSI error 1603? Here we have listed the reasons why the MSI error 1603 is generated.

  1. Windows Installer is trying to install an application that is already installed on your PC.
  2. The folder into which the Windows Installer package is installed is encrypted.
  3. The drive of the folder where the Windows Installer package is installed will be accessed as an alternative drive.
  4. The Windows Temp folder is full or the target drive has not enough free space.
  5. The SYSTEM account does not have full control over the folder into which Windows Installer packages are installed.
  6. Disable short filename creation on the target machine.

Now that we know all the potential causes of the MSI error 1603, please try the following solutions.

How to Fix MSI Error 1603?

How to fix MSI installer error 1603? After analyzing the causes and users’ reports, we summarize the following methods that may help you solve this issue. Please try them in order.

Before you start troubleshooting, you can try some general tricks to get rid of this MSI 1603 error:

  • Make sure the drive you are trying to install is not encrypted.
  • Disable BitLocker.

Method 1: Run the Application Installer as Administrator

If the application won’t install on your computer, the installer may lack administrative permission to access certain required files. So, you can try relaunching the application installer with administrative privileges.

You just need to right-click the downloaded installer and choose the Run as an administrator option from the context menu. Then, check if the installation can proceed without the MSI 1603 error.

Method 2: Close the Background Software

Background software may corrupt Windows Installer while installing programs. Therefore, close unnecessary background software before installing programs. You can close all windows on the taskbar and third-party software icons in the notification area and also use the task manager to close more programs.

To do so, here are detailed steps:

Step 1: Press the Win + X key to open the menu, and then select the Task Manager option to open the Task Manager window.

Step 2: Under the Processes tab, select each program and click on the End task button to close all software listed under the Apps section.

close all the background software

Method 3: Uninstall the Same Program Installed Completely

If you have previously installed the same program or an earlier version, an error may occur when you try to install the application again. If you want to successfully install your program, you need to completely uninstall the program installed on your computer. This means that in addition to the main program, you’ll need to delete any temporary files and preferences it leaves behind.

To do so, here is the guide:

Step 1: Press the Win + R key to open the Run dialog box. Then type control panel in the box and press Enter.

Step 2: Select View by Category from the upper right corner of the Control Panel. Then click Uninstall a program.

Step 3: Then you can check if the application is listed here. If it is, right-click on it and select Uninstall.

uninstall the same application

After that, you can try to install the software and see the MSI 1603 error disappears. If it still exists, you can refer to the next method.

Method 4: Make Sure There’s Enough Hard Drive Space for the Program

If there is not enough space on the target hard drive, the MSI installer error 1603 error message may appear. Well, you can try clearing any temporary or junk files to free up hard drive space. Here are the detailed steps:

Step 1: Press the Win + E key to open File Explorer and click on This PC.

Step 2: Under the Devices and drives section, right-click on your drive where you want to install the application and choose Properties. Then, click Disk Cleanup under the General tab.

Step 3: After a few minutes of calculations, you’ll get a new interface listing the total number of files that can be cleaned and the size of each file type. At this point, check the files you want to delete and click OK.

choose the ones you no longer need to clean up

Once done, you can restart your computer and try the installation again to check if the MSI error 1603 has been removed.

However, if the Disk Cleanup tool won’t open or work or after Disk Cleanup cleans junk files, but there is still not enough space to install the program on the partition, you can extend the target partition or free up disk space in other ways.

Then you can use a professional third-party partition manager to extend the target partition. Here, MiniTool Partition is recommended for you. This useful utility can help you manage hard drives, recover data, measure disk performance, etc.

To extend the target partition using MiniTool Partition Wizard, just follow the instructions below.

Tip: If your target partition is a system partition, it is recommended you use Bootable edition to avoid damage to the system or data loss.

MiniTool Partition Wizard FreeClick to Download100%Clean & Safe

Step 1: Click the download button and install it on your computer. Then launch this program to enter its main interface.

Step 2: Click on the target partition and select the Extend Partition option from the left action panel.

select the Extend Partition option

Step 3: Select where to take free space and drag the light blue block to decide how much free space you want to take. Then click the OK button.

select how much free space

Step 4: Finally, click on the Apply button to execute this operation.

click the Apply button

Now, your hard drive should have enough free space to install the application.

Method 5: Start and Re-register Windows Installer Service

There may be a problem with the Windows Installer service, resulting in MSI error 1603. You can fix the problem by (re)starting and re-registering the Windows Installer service.

To start the Windows Installer service, you need to do:

Step 1: Open the Run dialog box and enter services.msc. Then press Enter to open the Services panel.

Step 2: Scroll down to the Windows Installer service and double-click it to open its Properties window.

Step 3: Click on the Start button under Service status, then click on OK. If its service status is running, you should first click on Stop and then click on Start.

start the Windows Installer service

To re-register Windows Installer, you need to do:

Step 1: Type msiexec /unregister in the Run dialog box and press Enter.

type content in the Run box

Step 2: Open the Run dialog again and enter msiexec /regserver. Then press Enter to run.

After that, reinstall the application and the MSI installer error 1603 may disappear.

Method 6: Grant Full Control of the Installation Drive

If you get the MSI error 1603 message, it is because the SYSTEM account does not have full control over the folder where you are installing the Windows Installer package. Therefore, to grant full control to the SYSTEM account, perform the following steps:

Step 1: Open File Explorer, right-click on the hard drive where the software is installed and then click on Properties.

Step 2: In the next new box, switch to the Security tab. Verify the Group or User names box contains the SYSTEM user account. If the SYSTEM user account does not appear in the box, follow these steps to add the SYSTEM account:

  • Click on Edit. If prompted, approve User Account Control.
  • Click on Add. The Select User or Group dialog box appears.
  • In the Enter the object names to select field, type SYSTEM, and click on Check names.
  • Click on OK.

Step 3: Click on the Edit button.

click the Edit button

Step 4: In the next pop-up box, click SYSTEM and make sure that the Allow box for each item in Permissions for SYSTEM is checked. Perform the same check for Administrators.

check all the Allow boxes of SYSTEM

Step 5: Click on OK and go back to the Properties dialog box. Then click on Advanced > Change permissions.

Step 6: In the Permissions tab, select the SYSTEM entry and click on Edit.

Step 7: Click on the Applies to the drop-down menu and select This Folder, subfolder, and files. Then click on OK. Do the same operation above for Administrators.

click on OK

Wait for the operating system to apply the permissions you selected to all subfolders. Then you have acquired full permissions on this drive. Try installing your application and see if the MSI 1603 error is fixed.

Method 7: Enable Short Filename Creation on the Target Machine

If short filename creation is disabled, the MSI 1603 error would occur. Therefore, enabling short filename creation by editing its NtfsDisable8dot3NameCreation value in the registry is another way to fix the 1603 error. Please follow the detailed steps below:

Note: It’s better to backup your registry in advance to prevent other problems since you are going to edit a registry key.

Step 1: Type regedit in the Run dialog box and press Enter to open the Registry Editors.

Step 2: Navigate to the following path:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem

Step 3: Double-click the NtfsDisable8dot3NameCreation DWORD to open its Edit DWORD (32-bit) Value window.

Step 4: Change the Value data to 0 to enable short file name creation. The value of 1 indicates that it is disabled. Then click on OK to close its window.

change the Value data to 0

Then restart your computer and install your application to see if the MSI installer error 1603 exists.

What can you do if you come across MSI error1603? This post introduces the causes of it and offers several ways to fix it. Try it!Click to Tweet

Bottom Line

This article has introduced some methods for you to solve MSI error 1603. Do the above solutions work for you? You can share your better solutions or questions with us in the following comment section. If you have any problems with MiniTool software, you can contact the support team via [email protected].

Первое, что хотелось бы рассказать об ошибке 1603, которая появляется при попытке установить какую-либо программу — это не ошибка установочного файла программы, а проблема операционной системы.

Есть несколько причин почему возникает сообщение «Ошибка установки MSI 1603» и у каждой свое решение. Начнем с наиболее чаще встречающийся решений.
Прошу в комментариях описать вашу проблему подробно, и каким способом она решилась.

1. Первый способ. Решение проблема «ошибка установки MSI 1603» при попытке переустановить ранее установленную программу или обновить версию.

Если вы пытаетесь обновить или установить программу, которая ранее была установлена, то проблема именно в том, что в системе остались файлы, которые мешают полноценной установке.

Во-первых.
Смотрим в списке установленных программ (Панель управления\\Программы и компоненты), что вашей программы действительно нет. Если программа есть — то удаляем ее кликнув по ней правой кнопкой мыши-пункт удалить. Таким образом программа будет удаляться правильно.

Во-вторых.
Если программы в списке нет, то переходим в директории:
C:\Program Files\
C:\Program Files (x86)\
C:\ProgramData\

Проверяем, что в данных папка нет остатков программы, если есть, то переходим в папку с программой и ищем файл Uninstall.exe, запустив который начнется удаление программы. Если Uninstall.exe отсутствует — удаляем всю папку с именем программы.

В-третьих.
Проверили, что программы действительно нигде нет, но остался еще реестр, в котором то же могут быть остатки программы из-за которых мы получаем ошибку установки 1603.

Нажимаем пуск (кнопка Windows) и сразу вводим regedit (либо Win+R — Regedit).
Откроется окно настройки реестра в меню которого нажимаем Правка-Найти. В окне поиска вводим название программы, которую нужно удалить.
После первого совпадения удаляем найденный параметр и нажимаем F3, для поиска в остальных ветках реестра. Удаляем до тех пор, пока все не очистим.

Теперь перезагружаем компьютер и пробуем установить программу, которая ранее выдавала ошибку. Если данный способ не решил проблему , тогда переходим к второму варианту.

2. Второй способ.

Необходимо загрузить все обновления системы Windows.
Для обновления Windows переходим в Пуск — Параметры — Обновление и безопасность — Центр обновления Windows — нажимаем кнопку Обновить.
Дожидаемся окончания установки всех обновлений и проверяем снова.
Если второй способ снова не решил проблему «ошибка установки MSI 1603», переходим к третьему.

3. Третий способ.

Необходимо убедиться, что есть доступ к папке под вашим пользователем, в которую пытаетесь установить программу, либо установить на локальный диск D, где у вас точно есть доступ.

4. Четвертый способ.

Возможно ваша операционная система является какой-нибудь облегченной версией Windows, либо наоборот с разными «наваротами». Тут предлагаю только установку чистой версии.

MSI is a Windows Installer package format that uses Microsoft’s Windows Installer service to manage the installation (and uninstallation) of applications.

Although Windows Installer is a mature technology, you can still encounter errors when trying to install an MSI package.

One of the most common errors is Error 1603, which can be triggered by a variety of issues.

In this article, we will explore the potential causes of error 1603 and provide troubleshooting steps to help you quickly identify the root cause of the error and resolve it.

What is error 1603 and what causes it in Windows Installer?

The Microsoft Windows Installer (MSI) generates error code 1603 when it has trouble installing a software package due to an issue with either the Windows Installer or the software package.

As you can see, the error message doesn’t provide much information and doesn’t offer any hints on where to begin troubleshooting.

MSI installation error 1603 code

If you click “OK”, the installation rolls back.

Alternatively, if you’ve created a log file for the installation and you scroll down to the end of it, it should look like the one below:

MSI (c) (B0:98) [20:07:25:036]: MainEngineThread is returning 1603

=== Verbose logging stopped: 01/02/2023 20:07:25 ===

Error 1603 can be caused by several common issues such as:

— Windows Installer is trying to install an application that is already installed.

— The installation folder of the application is encrypted.

— There are insufficient permissions to access the location where the software is being installed.

— Short file name creation is disabled.

— Conflicts with other software or services that are running on the computer.

— Conflicts with antivirus or other security software.

— Corrupted Windows Installer.

— Corrupted installation package.

— Unable to access install files in case of a web installer due to network and firewall blocks.

NoteFor more information and tips on how to resolve the 1603 error code generated by any of the causes above, check out MSI installation error 1603 — Windows Server | Microsoft Learn page.

MSI Installation Error 1603 — A Deep Dive into the Most Common Cause: CustomAction

The most frequent reason for error 1603 during MSI installation is a failed action, which is more likely to be a CustomAction rather than a Standard Action.

Let’s suppose we have an MSI that includes a VBScript file (MyCA.vbs) as a file in the File table. In this case, the VBScript is executed via a CustomAction which is set before the InstallFiles action within the InstallExecuteSequence table.

If we attempt to install this MSI, it fails with error code 1603.

Error 1603 CustomAction

Now let’s see how we can troubleshoot this error and find out which is the CustomAction that fails.

How to Troubleshoot 1603 MSI Error Code: Finding the Failed Custom Action

When the 1603 error “Fatal Error During Installation” is encountered, the first and probably the most important step is to determine which Custom Action has failed.

This can be easily achieved if we take into consideration that each CustomAction must return a value if msidbCustomActionTypeContinue return processing option is not set.

The possible Custom Action return values are:

Return value code

Return value

Description

0

ERROR_FUNCTION_NOT_CALLED

Action not executed.

1

ERROR_SUCCESS

Completed actions successfully.

2

ERROR_INSTALL_USEREXIT

User terminated prematurely.

3

ERROR_INSTALL_FAILURE

Unrecoverable error occurred.

4

ERROR_NO_MORE_ITEMS

Skip remaining actions, not an error.

To troubleshoot the 1603 error, follow these steps:

1. Generate a verbose log file by using one of these methods:

a. using /l argument — /l*v to generate a verbose log file that offers detailed information about the installation.

b. enabling Windows Installer logging to generate a verbose log file that offers detailed information about the installation..

2. Open the verbose log file and search for the string “return value 3” — 3 is the return value code for when an unrecoverable error occurred.

3. Review the content of the log file located immediately above the “return value 3” string to determine which CustomAction has failed.

Troubleshoot 1603 MSI Error Code

Different Resolutions for Different CustomAction Failures

While identifying the CustomAction that causes the Windows Installer to fail may be a straightforward process, the resolution to the issue can vary depending on the specific scenario.

In our example above, the installation failed because MyCA.vbs was added as a file within the MSI and the CustomAction that executed this VBScript file was set to be executed before InstallFiles action.

In other words, the CustomAction was trying to execute a script which was not installed on the target device at that time during the installation.

In this instance, the solution was to change the execution order of the CustomAction to a later point in the InstallExecuteSequence.

InstallExecuteSequence table

Conclusion

When encountering the MSI Error 1603, try searching for return value 3 to speed up the investigation process. By doing that, you will be able to identify the CustomAction that caused the Windows Installer installation to fail.

However, keep in mind that this solution can vary from one scenario to another and may require further investigation. We hope you found this article helpful.

Written by

See author's page

Horatiu Vladasel

Horatiu is a Software Packager/Sequencer with over 10 years experience, who has worked as a Software Packager at IBM and is currently offering software packaging services to companies such as BT or Nationwide.

MSI is a Windows Installer package format that uses Microsoft’s Windows Installer service to manage the installation (and uninstallation) of applications.

Although Windows Installer is a mature technology, you can still encounter errors when trying to install an MSI package.

One of the most common errors is Error 1603, which can be triggered by a variety of issues.

In this article, we will explore the potential causes of error 1603 and provide troubleshooting steps to help you quickly identify the root cause of the error and resolve it.

What is error 1603 and what causes it in Windows Installer?

The Microsoft Windows Installer (MSI) generates error code 1603 when it has trouble installing a software package due to an issue with either the Windows Installer or the software package.

As you can see, the error message doesn’t provide much information and doesn’t offer any hints on where to begin troubleshooting.

MSI installation error 1603 code

If you click “OK”, the installation rolls back.

Alternatively, if you’ve created a log file for the installation and you scroll down to the end of it, it should look like the one below:

MSI (c) (B0:98) [20:07:25:036]: MainEngineThread is returning 1603

=== Verbose logging stopped: 01/02/2023 20:07:25 ===

Error 1603 can be caused by several common issues such as:

— Windows Installer is trying to install an application that is already installed.

— The installation folder of the application is encrypted.

— There are insufficient permissions to access the location where the software is being installed.

— Short file name creation is disabled.

— Conflicts with other software or services that are running on the computer.

— Conflicts with antivirus or other security software.

— Corrupted Windows Installer.

— Corrupted installation package.

— Unable to access install files in case of a web installer due to network and firewall blocks.

NoteFor more information and tips on how to resolve the 1603 error code generated by any of the causes above, check out MSI installation error 1603 — Windows Server | Microsoft Learn page.

MSI Installation Error 1603 — A Deep Dive into the Most Common Cause: CustomAction

The most frequent reason for error 1603 during MSI installation is a failed action, which is more likely to be a CustomAction rather than a Standard Action.

Let’s suppose we have an MSI that includes a VBScript file (MyCA.vbs) as a file in the File table. In this case, the VBScript is executed via a CustomAction which is set before the InstallFiles action within the InstallExecuteSequence table.

If we attempt to install this MSI, it fails with error code 1603.

Error 1603 CustomAction

Now let’s see how we can troubleshoot this error and find out which is the CustomAction that fails.

How to Troubleshoot 1603 MSI Error Code: Finding the Failed Custom Action

When the 1603 error “Fatal Error During Installation” is encountered, the first and probably the most important step is to determine which Custom Action has failed.

This can be easily achieved if we take into consideration that each CustomAction must return a value if msidbCustomActionTypeContinue return processing option is not set.

The possible Custom Action return values are:

Return value code

Return value

Description

0

ERROR_FUNCTION_NOT_CALLED

Action not executed.

1

ERROR_SUCCESS

Completed actions successfully.

2

ERROR_INSTALL_USEREXIT

User terminated prematurely.

3

ERROR_INSTALL_FAILURE

Unrecoverable error occurred.

4

ERROR_NO_MORE_ITEMS

Skip remaining actions, not an error.

To troubleshoot the 1603 error, follow these steps:

1. Generate a verbose log file by using one of these methods:

a. using /l argument — /l*v to generate a verbose log file that offers detailed information about the installation.

b. enabling Windows Installer logging to generate a verbose log file that offers detailed information about the installation..

2. Open the verbose log file and search for the string “return value 3” — 3 is the return value code for when an unrecoverable error occurred.

3. Review the content of the log file located immediately above the “return value 3” string to determine which CustomAction has failed.

Troubleshoot 1603 MSI Error Code

Different Resolutions for Different CustomAction Failures

While identifying the CustomAction that causes the Windows Installer to fail may be a straightforward process, the resolution to the issue can vary depending on the specific scenario.

In our example above, the installation failed because MyCA.vbs was added as a file within the MSI and the CustomAction that executed this VBScript file was set to be executed before InstallFiles action.

In other words, the CustomAction was trying to execute a script which was not installed on the target device at that time during the installation.

In this instance, the solution was to change the execution order of the CustomAction to a later point in the InstallExecuteSequence.

InstallExecuteSequence table

Conclusion

When encountering the MSI Error 1603, try searching for return value 3 to speed up the investigation process. By doing that, you will be able to identify the CustomAction that caused the Windows Installer installation to fail.

However, keep in mind that this solution can vary from one scenario to another and may require further investigation. We hope you found this article helpful.

Written by

See author's page

Horatiu Vladasel

Horatiu is a Software Packager/Sequencer with over 10 years experience, who has worked as a Software Packager at IBM and is currently offering software packaging services to companies such as BT or Nationwide.

A great many people received the fatal MSI error 1603 while they want to install the software in Windows 10/11? If you also encounter this error, then this article of MiniTool Partition Wizard is worth reading. It provides several ways for the MSI installer error 1603.

Here is a user report from the Microsoft forum:

“I am trying to redownload Alienware Command Center on my PC but when I try to download it, it gets close to the end then it says ‘Error -1603 fatal error during installation. Consult Windows installer help (msi.chm) or MSDN for more information.”https://answers.microsoft.com/en-us/windows/forum/all/error-1603-fatal-error-during-installation

What Is MSI Error 1603? Why Does It Happen?

An MSI file is a Windows Installer package that contains the information needed to install a product and the instructions and data needed to install (or uninstall) a program in many installation situations.

However, when running an MSI installation using the Windows Installer service, sometimes you encounter a fatal error with exit code 1603. This MSI error code 1603 means the installation failed. The MSI error message is usually something like “error – 1603 fatal error during installation.”

Well, what causes this MSI error 1603? Here we have listed the reasons why the MSI error 1603 is generated.

  1. Windows Installer is trying to install an application that is already installed on your PC.
  2. The folder into which the Windows Installer package is installed is encrypted.
  3. The drive of the folder where the Windows Installer package is installed will be accessed as an alternative drive.
  4. The Windows Temp folder is full or the target drive has not enough free space.
  5. The SYSTEM account does not have full control over the folder into which Windows Installer packages are installed.
  6. Disable short filename creation on the target machine.

Now that we know all the potential causes of the MSI error 1603, please try the following solutions.

How to Fix MSI Error 1603?

How to fix MSI installer error 1603? After analyzing the causes and users’ reports, we summarize the following methods that may help you solve this issue. Please try them in order.

Before you start troubleshooting, you can try some general tricks to get rid of this MSI 1603 error:

  • Make sure the drive you are trying to install is not encrypted.
  • Disable BitLocker.

Method 1: Run the Application Installer as Administrator

If the application won’t install on your computer, the installer may lack administrative permission to access certain required files. So, you can try relaunching the application installer with administrative privileges.

You just need to right-click the downloaded installer and choose the Run as an administrator option from the context menu. Then, check if the installation can proceed without the MSI 1603 error.

Method 2: Close the Background Software

Background software may corrupt Windows Installer while installing programs. Therefore, close unnecessary background software before installing programs. You can close all windows on the taskbar and third-party software icons in the notification area and also use the task manager to close more programs.

To do so, here are detailed steps:

Step 1: Press the Win + X key to open the menu, and then select the Task Manager option to open the Task Manager window.

Step 2: Under the Processes tab, select each program and click on the End task button to close all software listed under the Apps section.

close all the background software

Method 3: Uninstall the Same Program Installed Completely

If you have previously installed the same program or an earlier version, an error may occur when you try to install the application again. If you want to successfully install your program, you need to completely uninstall the program installed on your computer. This means that in addition to the main program, you’ll need to delete any temporary files and preferences it leaves behind.

To do so, here is the guide:

Step 1: Press the Win + R key to open the Run dialog box. Then type control panel in the box and press Enter.

Step 2: Select View by Category from the upper right corner of the Control Panel. Then click Uninstall a program.

Step 3: Then you can check if the application is listed here. If it is, right-click on it and select Uninstall.

uninstall the same application

After that, you can try to install the software and see the MSI 1603 error disappears. If it still exists, you can refer to the next method.

Method 4: Make Sure There’s Enough Hard Drive Space for the Program

If there is not enough space on the target hard drive, the MSI installer error 1603 error message may appear. Well, you can try clearing any temporary or junk files to free up hard drive space. Here are the detailed steps:

Step 1: Press the Win + E key to open File Explorer and click on This PC.

Step 2: Under the Devices and drives section, right-click on your drive where you want to install the application and choose Properties. Then, click Disk Cleanup under the General tab.

Step 3: After a few minutes of calculations, you’ll get a new interface listing the total number of files that can be cleaned and the size of each file type. At this point, check the files you want to delete and click OK.

choose the ones you no longer need to clean up

Once done, you can restart your computer and try the installation again to check if the MSI error 1603 has been removed.

However, if the Disk Cleanup tool won’t open or work or after Disk Cleanup cleans junk files, but there is still not enough space to install the program on the partition, you can extend the target partition or free up disk space in other ways.

Then you can use a professional third-party partition manager to extend the target partition. Here, MiniTool Partition is recommended for you. This useful utility can help you manage hard drives, recover data, measure disk performance, etc.

To extend the target partition using MiniTool Partition Wizard, just follow the instructions below.

Tip: If your target partition is a system partition, it is recommended you use Bootable edition to avoid damage to the system or data loss.

MiniTool Partition Wizard FreeClick to Download100%Clean & Safe

Step 1: Click the download button and install it on your computer. Then launch this program to enter its main interface.

Step 2: Click on the target partition and select the Extend Partition option from the left action panel.

select the Extend Partition option

Step 3: Select where to take free space and drag the light blue block to decide how much free space you want to take. Then click the OK button.

select how much free space

Step 4: Finally, click on the Apply button to execute this operation.

click the Apply button

Now, your hard drive should have enough free space to install the application.

Method 5: Start and Re-register Windows Installer Service

There may be a problem with the Windows Installer service, resulting in MSI error 1603. You can fix the problem by (re)starting and re-registering the Windows Installer service.

To start the Windows Installer service, you need to do:

Step 1: Open the Run dialog box and enter services.msc. Then press Enter to open the Services panel.

Step 2: Scroll down to the Windows Installer service and double-click it to open its Properties window.

Step 3: Click on the Start button under Service status, then click on OK. If its service status is running, you should first click on Stop and then click on Start.

start the Windows Installer service

To re-register Windows Installer, you need to do:

Step 1: Type msiexec /unregister in the Run dialog box and press Enter.

type content in the Run box

Step 2: Open the Run dialog again and enter msiexec /regserver. Then press Enter to run.

After that, reinstall the application and the MSI installer error 1603 may disappear.

Method 6: Grant Full Control of the Installation Drive

If you get the MSI error 1603 message, it is because the SYSTEM account does not have full control over the folder where you are installing the Windows Installer package. Therefore, to grant full control to the SYSTEM account, perform the following steps:

Step 1: Open File Explorer, right-click on the hard drive where the software is installed and then click on Properties.

Step 2: In the next new box, switch to the Security tab. Verify the Group or User names box contains the SYSTEM user account. If the SYSTEM user account does not appear in the box, follow these steps to add the SYSTEM account:

  • Click on Edit. If prompted, approve User Account Control.
  • Click on Add. The Select User or Group dialog box appears.
  • In the Enter the object names to select field, type SYSTEM, and click on Check names.
  • Click on OK.

Step 3: Click on the Edit button.

click the Edit button

Step 4: In the next pop-up box, click SYSTEM and make sure that the Allow box for each item in Permissions for SYSTEM is checked. Perform the same check for Administrators.

check all the Allow boxes of SYSTEM

Step 5: Click on OK and go back to the Properties dialog box. Then click on Advanced > Change permissions.

Step 6: In the Permissions tab, select the SYSTEM entry and click on Edit.

Step 7: Click on the Applies to the drop-down menu and select This Folder, subfolder, and files. Then click on OK. Do the same operation above for Administrators.

click on OK

Wait for the operating system to apply the permissions you selected to all subfolders. Then you have acquired full permissions on this drive. Try installing your application and see if the MSI 1603 error is fixed.

Method 7: Enable Short Filename Creation on the Target Machine

If short filename creation is disabled, the MSI 1603 error would occur. Therefore, enabling short filename creation by editing its NtfsDisable8dot3NameCreation value in the registry is another way to fix the 1603 error. Please follow the detailed steps below:

Note: It’s better to backup your registry in advance to prevent other problems since you are going to edit a registry key.

Step 1: Type regedit in the Run dialog box and press Enter to open the Registry Editors.

Step 2: Navigate to the following path:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem

Step 3: Double-click the NtfsDisable8dot3NameCreation DWORD to open its Edit DWORD (32-bit) Value window.

Step 4: Change the Value data to 0 to enable short file name creation. The value of 1 indicates that it is disabled. Then click on OK to close its window.

change the Value data to 0

Then restart your computer and install your application to see if the MSI installer error 1603 exists.

What can you do if you come across MSI error1603? This post introduces the causes of it and offers several ways to fix it. Try it!Click to Tweet

Bottom Line

This article has introduced some methods for you to solve MSI error 1603. Do the above solutions work for you? You can share your better solutions or questions with us in the following comment section. If you have any problems with MiniTool software, you can contact the support team via [email protected].

На чтение 7 мин. Просмотров 11.5k. Опубликовано

Установщик Windows устанавливает и удаляет программное обеспечение с форматами пакетов MSI. Однако установщик Windows не всегда устанавливает программное обеспечение по мере необходимости и может иногда возвращать сообщение об ошибке, в котором говорится: « 1603 Фатальная ошибка во время установки. »

Таким образом, пользователи не могут устанавливать или удалять программу, когда появляется это сообщение об ошибке. Вот несколько исправлений, которые, вероятно, устранят ошибку 1603.

Содержание

  1. Исправьте ошибку установки 1603, используя эти решения
  2. 1. Закройте фоновое программное обеспечение
  3. 2. Проверьте, что программное обеспечение еще не установлено
  4. 3. Убедитесь, что для программы достаточно места на жестком диске
  5. 4. Откройте программу установки и удаления устранения неполадок
  6. 5. Стереть временные файлы из временной папки Windows
  7. 6. Перезапустите службу установщика Windows.
  8. 7. Измените значение реестра NtfsDisable8dot3NameCreation
  9. 8. Предоставьте разрешение на полный доступ к приводу установки
  1. Закрыть фоновое программное обеспечение
  2. Проверьте, что программное обеспечение еще не установлено
  3. Проверьте, достаточно ли места на жестком диске для программы
  4. Откройте программу установки и удаления устранения неполадок
  5. Стереть временные файлы из папки Windows Temp
  6. Перезапустите службу установщика Windows.
  7. Отредактируйте значение реестра NtfsDisable8dot3NameCreation
  8. Предоставить полное разрешение на доступ к инсталляционному диску

1. Закройте фоновое программное обеспечение

Фоновое программное обеспечение может подорвать установщик Windows при установке программы. Поэтому закройте большинство фоновых программ перед установкой программы.

Закройте все окна на панели задач и значки стороннего программного обеспечения в области уведомлений. Вы также можете закрыть другие программы с помощью диспетчера задач следующим образом.

  1. Нажмите клавишу Win + горячую клавишу X.
  2. Выберите Диспетчер задач в меню, чтобы открыть его окно.
  3. Перейдите на вкладку «Процессы» в снимке экрана ниже.
  4. Закройте все программы из списка приложений, выбрав их и нажав кнопку Завершить задание .
  5. Вы также можете закрыть сторонние программные процессы, перечисленные на вкладке Процессы.

2. Проверьте, что программное обеспечение еще не установлено

Если вы получаете ошибку 1603 для одной конкретной программы, возможно, это программное обеспечение уже установлено. Убедитесь, что у вас еще нет более ранней версии программного обеспечения. Если это так, сначала удалите предыдущую версию программы.

  1. Чтобы удалить программу, нажмите сочетание клавиш Win + R, чтобы открыть Выполнить .
  2. Введите «appwiz.cpl» в текстовом поле «Выполнить».
  3. При этом откроется вкладка «Панель управления программами и функциями», где вы можете выбрать программу для удаления и нажать Удалить .
  4. Возможно, откроется диалоговое окно с вопросом, уверены ли вы в удалении программного обеспечения. Нажмите кнопку Да для подтверждения.
  5. Затем попробуйте установить нужную программу еще раз.

ТАКЖЕ ЧИТАЙТЕ . Как исправить ошибку установки 0xc000021a в Windows 10

3. Убедитесь, что для программы достаточно места на жестком диске

Также обратите внимание, что для программного обеспечения может быть недостаточно свободного места на жестком диске. Возможно, вам потребуется освободить место на жестком диске, если для программного обеспечения требуется более одного гигабайта памяти. Во-первых, перепроверьте минимальные требования программы к системе хранения HDD. Затем убедитесь, что на жестком диске достаточно места, как показано ниже.

  1. Откройте проводник, нажав его кнопку на панели задач Windows 10.
  2. Нажмите Этот компьютер , чтобы открыть список папок и дисков, как показано ниже.
  3. Нажмите правой кнопкой мыши на диске C: и выберите Свойства , чтобы открыть вкладку Общие, показанную ниже.
  4. Эта вкладка показывает, сколько свободного места на жестком диске. Если для программы недостаточно свободного места, удалите стороннее программное обеспечение или запустите утилиту очистки диска, чтобы освободить место на жестком диске.

4. Откройте программу установки и удаления устранения неполадок

Существует программа установки и удаления программ устранения неполадок для Windows 10, которая исправляет ошибки установки программного обеспечения. Это не встроенное средство устранения неполадок, но вы можете добавить его в Windows на этой странице веб-сайта.

Нажмите кнопку Загрузить на этой странице и откройте средство устранения неполадок из папки, в которой вы его сохранили. Нажмите кнопку Далее , чтобы выполнить действия по устранению неполадок.

5. Стереть временные файлы из временной папки Windows

Ошибка 1603 может быть связана с чрезмерно полной папкой Temp Windows, которая содержит временные файлы программного обеспечения. Удаление временных файлов из папки Temp также может помочь решить проблему. Существует множество сторонних утилит, с помощью которых вы можете удалить временные файлы, но вы также можете удалить ненужные файлы с помощью инструмента очистки диска Windows следующим образом.

  1. Откройте приложение Cortana, нажав кнопку на панели задач.
  2. Введите «Очистка диска» в поле поиска Cortana и выберите, чтобы открыть Очистка диска.
  3. Выберите диск C: в раскрывающемся меню и нажмите кнопку OK.
  4. Очистка диска скажет вам, сколько места на жестком диске он может освободить в своем окне ниже.
  5. Временные файлы и Временные интернет-файлы – это два основных флажка, которые необходимо выбрать здесь. Однако вы также можете выбрать удаление других категорий файлов.
  6. Нажмите кнопку ОК и выберите параметр Удалить файлы .

6. Перезапустите службу установщика Windows.

Служба установщика Windows, вероятно, не будет отключена. Однако перезапуск и перерегистрация установщика Windows может запустить эту службу и исправить ошибку 1603. Вот как вы можете перезапустить установщик Windows.

  1. Введите «services.msc» в «Выполнить» и нажмите кнопку ОК .
  2. Прокрутите вниз до указанной службы установщика Windows.
  3. Дважды щелкните установщик Windows, чтобы открыть окно на снимке экрана ниже.
  4. Нажмите кнопку Пуск в окне установщика Windows. Однако нажмите кнопку Стоп , если служба уже запущена; а затем нажмите Пуск .
  5. Нажмите кнопки Применить и ОК .
  6. Чтобы заново зарегистрировать установщик Windows, снова откройте «Выполнить».
  7. Введите «msiexec/unregister» в текстовом поле «Выполнить» и нажмите кнопку ОК .
  8. После этого введите «msiexec/regserver» в «Выполнить», чтобы зарегистрировать установщик Windows.

7. Измените значение реестра NtfsDisable8dot3NameCreation

Ошибка 1603 может возникнуть, если создание короткого имени файла деактивировано. Таким образом, включение создания короткого имени файла – это еще один способ исправить ошибку 1603. Вы можете сделать это, отредактировав его значение NtfsDisable8dot3NameCreation в реестре следующим образом.

  1. Введите «regedit» в «Выполнить» и нажмите «ОК», чтобы открыть редактор реестра.
  2. Затем перейдите в Компьютер> HKEY_LOCAL_MACHINE> SYSTEM> CurrentControlSet> Control> FileSystem в редакторе реестра, как показано ниже.
  3. Дважды щелкните DWORD NtfsDisable8dot3NameCreation, чтобы открыть его окно «Изменить значение DWORD (32-разрядное)» ниже.
  4. Если значение DWORD в настоящее время равно 1, замените его значение, введя 0 в текстовое поле.
  5. Нажмите кнопку ОК , чтобы закрыть окно Изменить DWORD.
  6. Закройте редактор реестра и перезагрузите компьютер или ноутбук.

8. Предоставьте разрешение на полный доступ к приводу установки

Ошибка 1603 также может возникнуть, если ваша учетная запись SYSTEM не имеет разрешения «Полный доступ» для выбранной папки установки. Вы можете решить эту проблему, изменив разрешения для диска, на который вы устанавливаете программное обеспечение. Следуйте приведенным ниже инструкциям для редактирования разрешений СИСТЕМЫ.

  1. Откройте проводник и нажмите Этот компьютер .
  2. Затем щелкните правой кнопкой мыши установочный диск для программного обеспечения (обычно это C) и выберите Свойства .
  3. Выберите вкладку «Безопасность», показанную ниже.
  4. Нажмите кнопку Изменить , чтобы открыть окно, расположенное ниже.
  5. Выберите «СИСТЕМА» и установите флажок «Разрешить» для Полный контроль , если этот параметр не выбран. Все флажки Разрешить должны быть установлены для SYSTEM.
  6. Нажмите кнопки Применить и ОК и закройте окно «Разрешения».
  7. Нажмите кнопку Дополнительно в окне свойств накопителя, чтобы открыть окно, показанное ниже.
  8. Выберите параметр Изменить разрешения .
  9. Выберите «СИСТЕМА» на вкладке «Разрешения» и нажмите кнопку Изменить , чтобы открыть окно «Разрешения».
  10. Выберите Эта папка, подпапки и файлы в раскрывающемся меню Применить к.
  11. Нажмите кнопку ОК в окне ввода разрешений.
  12. Нажмите кнопки ОК на всех других открытых окнах.

Это несколько решений для ошибки 1603, которые могут установить ваше программное обеспечение при необходимости. Помимо этих исправлений, инструменты восстановления Windows также могут решить эту проблему. В этом руководстве по программному обеспечению содержатся дополнительные сведения об утилитах восстановления Windows, которые могут пригодиться для устранения ошибки 1603.

Примечание редактора . Этот пост был первоначально опубликован в октябре 2017 года и с тех пор был полностью переработан и обновлен для обеспечения свежести, точности и полноты.

  • Error 1722 there is a problem with this windows installer package a program run
  • Error code 0x0000428 windows 10
  • Error 1392 при установке windows
  • Error 1721 there is a problem with this windows installer package что это
  • Error 127 dota 2 windows 7