Click here to Skip to main content
15,886,771 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The Winforms application is created using VS2013 and is .Net 4.5.

I have been developing it and installing upgardes on multiple machines for many years.

However on my profile on my PC it now fails to install.

The failure log file's main error message is...

'COMPONENT STORE TRANSACTION FAILURE SUMMARY' then followed by a long list of files and the message...

'- Staging of a component file (Sales\XYZ.rdlc) did not succeed.' OR '- Staging of a component file (EmailTemplates\ABC.htm) did not succeed.'

What I have tried:

I can solve the issue by uninstalling the previous version or running 'rundll32 dfshim CleanOnlineAppCache' and do a successfull installation but the same problem occurs when I install a new version later.

I have done further testing by creating a new profile on my PC and successfully completed an initial ClickOnce installation and subsequently installed a new version successfully. So no problem here.

However have since tried installing on one of my other PCs, where there was an existing install and it failed there.

So very confused.
Posted
Updated 20-Mar-22 18:43pm

It might be caused by some of the files of the application that are still running, or being opened during the installation. Make sure all files are closed.

Another cause might be a virus scanner, try to disable scanning of the install location.

As Windows security gets more tight which each update, that might also cause trouble.
It is recommended to install in the users AppData directory, see:
ClickOnce installation issue after Windows 10 Update[^]
 
Share this answer
 
v2
Comments
Maciej Los 18-Mar-22 17:09pm    
5ed!
RickZeeland 19-Mar-22 1:53am    
Thanks, but I get the feeling that this has not solved his problem :)
I have not worked with Click-Once for a while now but when I was I wrote a detailed article on it. Download and run the code and see if it resolves your issues: Silent ClickOnce Installer for Winform & WPF in C# & VB[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900