I might have a solution for windows 10 I solved it by: -pressing WINDOWS + R -typing: services.msc -pressing enter -scrolling down to Windows Installer -right clicking -pressing start -opening minecraft it could solve your problem
P.S. don't worry if it stops at 46%, after a while it should continue loding
I only had to start windows Installer once, after I started it, I open minecraft and it worked normal again.
I might have a solution for windows 10
I solved it by:
-pressing WINDOWS + R
-typing: services.msc
-pressing enter
-scrolling down to Windows Installer
-right clicking
-pressing start
-opening minecraft
it could solve your problem
P.S.
don't worry if it stops at 46%, after a while it should continue loding
I only had to start windows Installer once, after I started it, I open minecraft and it worked normal again.