We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Uninstalling a patch failes due to GAC component (also when adding features now)

Hi Advanced Installer Team,

I recently got the information, that the patches I produce are not removable. During the removal process I get the error message:
An error occured during the installation of the assembly component {guid}. HRESULT: 0x80131532.
followed by a
Fatal error during installation
The log file contains the MSI error code 1935, which is not very helpful. This is an assembly installation problem, which also is clear, because the guid is pointing of a assembly going to be installed into the GAC. The log file is attached.

Any chance to solve this problem?

Regards,

Roland
Attachments
MSIeabbc.zip
(754.69 KiB) Downloaded 391 times
Last edited by R.Mueller on Tue Jun 23, 2015 2:00 pm, edited 1 time in total.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Uninstalling a patch failes due to GAC component

Hello Roland,

I'm not sure why this happens. You can try to use "Fix it" Windows tool to remove your broken installation.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Uninstalling a patch failes due to GAC component (also when adding features now)

Hey Daniel,

a while ago, I reported this issue. Now I have exactly the same feature, when I try to add a feature to an existing installation:
ErrorMessage.png
ErrorMessage.png (10.88 KiB) Viewed 4972 times
In the Event Log you can see the following message:
The description for Event ID 11935 from source MsiInstaller cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Product: Xxxxxxxxxx - Update 1 -- Error 1935. An error occurred during the installation of assembly component {606E9F43-8023-40A7-850E-8F1681D789DF}. HRESULT: 0x80131532. assembly interface: IAssemblyCacheItem, function: Commit, assembly name: TheSAPInterWindow,Version="13.0.4.0",Culture="neutral",ProcessorArchitecture="X86",PublicKeyToken="69b6b359960494d5"
(NULL)
(NULL)
(NULL)
(NULL)
The handle is invalid
Something seems to be wrong with the installation of the assembly. I have found the following post for this problem: http://blogs.msdn.com/b/astebner/archiv ... 48128.aspx

I assume, that before the patch is applied, the version number is correct. After it was applied, this is not the case anymore and the installation of the feature fails.

How can I fix that behavior?

Regards,

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

Re: Uninstalling a patch failes due to GAC component (also when adding features now)

Hello Roland,

Can you consistently replicate the error on multiple machines? If so, please send us the .AIPs (project files) of your target product version, of your upgraded product version and of the patch project and a verbose log of the failing installation to support at advancedinstaller dot com so we can investigate their settings.

It would be very useful for us if you could isolate a test case, a pattern or a buildable sample (AIPs + their referenced files) when the error replicates and send it us so we can test on our side.
Something seems to be wrong with the installation of the assembly. I have found the following post for this problem: http://blogs.msdn.com/b/astebner/archiv ... 48128.aspx

I assume, that before the patch is applied, the version number is correct. After it was applied, this is not the case anymore and the installation of the feature fails.
I'm afraid I don't fully understand what you mean. Can you please give us more details about this (maybe exemplify a bit)?

If you are referring to the first case from the linked blog article, please note that the author refers to the scenario when in the "File_Manifest" column of the "MsiAssembly" table is a file which doesn't exist in the "File" column from "File" table. You can check this within our "Table Editor" page.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Uninstalling a patch failes due to GAC component (also when adding features now)

Hi Daniel,

regarding this:
Something seems to be wrong with the installation of the assembly. I have found the following post for this problem: http://blogs.msdn.com/b/astebner/archiv ... 48128.aspx

I assume, that before the patch is applied, the version number is correct. After it was applied, this is not the case anymore and the installation of the feature fails.
Maybe I misunderstood the port, but I found this while searching for the error message.

But the mentioned assembly should be send to the global assembly cache, hence the original setup was updated I thought, that the information in the MSI database does not match with the information in the assembly (which will be set by the manifest) and thatswhy you get this message. Just an idea, I wanted to investigate.

I have sent the project files and verbose logs to support.

Thanks,

Roland

Return to “Building Installers”