WINDOWS INSTALLER ERROR
Error 1935: Error During the Installation of Assembly Component
The setup tried to install an assembly and the installation of that component failed. The message carries an HRESULT number and the assembly's name, which identify what went wrong.
WHAT WINDOWS SAYS
An error occurred during the installation of assembly component [2]. HRESULT: [3]. {{assembly interface: [4], function: [5], assembly name: [6]}}
Microsoft lists a second wording: "An error occurred during the installation of assembly '[6]'. Please refer to Help and Support for more information. HRESULT: [3]." The numbers in brackets are fields that Windows Installer fills in, among them an HRESULT and the assembly's name.
Wording from Microsoft's documentation, linked under Sources.
TECHNICAL SUMMARY
| Number | 1935 |
|---|---|
| Where it appears | Message shown by a setup |
| In PC Tweaker Uninstaller | Install-time error |
What causes Error 1935
- Microsoft's article on error 1935 with Office says the issue may be caused by interference between Windows Installer (msiexec.exe) and Windows Search (SearchIndexer.exe), or another module, in the assembly file copy process.
- The same article says it may also occur when other updates are applied, for example a hotfix for .NET Framework components, and gives repairing or updating the .NET Framework as a method.
How to fix Error 1935, safest step first
Microsoft's article is written for Office setups. In its order:
Restart the computer and run the setup again
Microsoft calls this the quick first step for error 1935.
To undo: Nothing to undo.
Make a restore point before the steps that change something
Select Start, type Create a restore point, open it, and on the System Protection tab choose Create. Microsoft notes that System Protection is not turned on by default; if Create is greyed out, choose Configure and turn it on for the system drive first.
To undo: A restore point changes nothing by itself. To go back later, run System Restore and pick it: Microsoft says it reverts system files, the registry and installed programs, and leaves your personal files alone.
For Office setups only: delete the APPMODEL registry subkey
Microsoft's article says that deleting HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\APPMODEL should allow you to install Office, and warns that serious problems might occur if you modify the registry incorrectly. Export the subkey first (right-click it in Registry Editor > Export), then delete it, restart and run the Office setup again. Do not use this method for other programs.
To undo: Double-click the .reg file you exported to put the subkey back.
Repair or update the .NET Framework
Microsoft's article says the Microsoft .NET Framework Repair Tool can repair .NET Framework components. Its System Update Readiness tool method is for Windows 7 and Windows Vista only.
To undo: The repair tool has no undo; the restore point from the earlier step brings back the previous state.
Try again in a clean boot
A clean boot starts Windows with only Microsoft services and no startup programs, so another program cannot interfere. Follow Microsoft's clean boot article, then run the setup or removal again.
To undo: Microsoft's article ends with the steps to reset the computer to start normally: turn the services and startup items back on, then restart.
Check it yourself, without changing anything
Find the message in the Application log (PowerShell)
Microsoft documents that errors from the installer's Error table are logged with an event ID equal to the error number plus 10,000, so 1935 is event 11935. Nothing is changed.
PowerShellGet-WinEvent -FilterHashtable @{ LogName='Application'; ProviderName='MsiInstaller'; Id=11935 } -MaxEvents 5 | Format-List TimeCreated, MessageRead what Windows Installer logged (PowerShell)
Microsoft documents event 1033 (installation completed with status) and 1034 (removal completed with status): each names the product, its version and the status number, which is 0 on success. Nothing is changed.
PowerShellGet-WinEvent -FilterHashtable @{ LogName='Application'; ProviderName='MsiInstaller'; Id=1033,1034 } -MaxEvents 10 | Format-List TimeCreated, Id, Message
What PC Tweaker Uninstaller does with Error 1935
Install-time errorMicrosoft's text for 1935 is about installing an assembly, so this is an error of setups, not of removals. The Uninstaller cannot repair it: it does not install or repair assemblies or the .NET Framework. What it can do is remove a program that Windows still lists after a failed setup, showing the command first.
PC Tweaker Uninstaller: see the exact command before a removal runs
Common questions
What is the HRESULT in the 1935 message?
It is the error number returned for the assembly installation. Microsoft's message reserves a field for it next to the assembly's name; quote both when you ask the program's support for help.
Does error 1935 only happen with Microsoft Office?
No. The message is in Microsoft's list of Windows Installer messages, which any setup package can show. Microsoft's step-by-step article is written for Office, and one of its methods applies to Office only.
Should I uninstall the .NET Framework to fix error 1935?
Microsoft's article suggests repairing it and names the .NET Framework Repair Tool. Start with the repair, not with removal.