ImSwordQueen / Win10to7Issues

Issue Tracker for 10to7
35 stars 1 forks source link

Installation hangs at Stage 2 of 4 #96

Closed p950jgs5a closed 4 days ago

p950jgs5a commented 5 days ago

Before reporting your issue

What version of Windows 10 are you using the transformation pack on?

Windows 10 LTSC 2021 21H2

What version of the Transformation Pack are you having issues with?

3.5.4

Summarise the issue

I previously installed & uninstalled the software perfectly. As I try to reinstall it, the installer stops at stage 2 of 4. The PC never restarts to finish the installation. The screen just turns black as explorer is shut down, but ctrl+alt+del & the Task Manager remain functional for me to easily restart Explorer.

I tried deleting the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Win10to7" & clearing the Win10to7 folder from c:\windows, but it doesn't help. Windhawk & StartisBack++ get installed alongside 'Windows 7 Games', but nothing else as the installation never completes.

*I selected the default options during the installation process.

Screenshots

No response

How do you reproduce the bug/inaccuracy?

  1. Install
  2. Uninstall
  3. Try to Reinstall

Expected behaviour

The Installation process doesn't complete.

Additional Context

No response

ImSwordQueen commented 5 days ago

I think this bug is caused by a weird configuration of windows (Unless defender removed the second phase setup which can happen and it sucks). If you are sure that setup.exe is still in the Win10to7 folder in setuptools.... go in regedit, HKEY_LOCAL_MACHINE\SYSTEM\Setup and copy:

CmdLine - C:\Windows\Win10to7\SetupTools\setup.exe

SetupPhase - 4

SetupType - 2

SystemSetupInProgress - 1

You should copy these as indicasted as a wrong value could cause windows to not boot anymore.

p950jgs5a commented 4 days ago

I think this bug is caused by a weird configuration of windows (Unless defender removed the second phase setup which can happen and it sucks). If you are sure that setup.exe is still in the Win10to7 folder in setuptools.... go in regedit, HKEY_LOCAL_MACHINE\SYSTEM\Setup and copy:

CmdLine - C:\Windows\Win10to7\SetupTools\setup.exe

SetupPhase - 4

SetupType - 2

SystemSetupInProgress - 1

You should copy these as indicasted as a wrong value could cause windows to not boot anymore.

The Setup values are all 0, the installer doesn't even get to that point. The Windows Application Logs show Event ID 1033 & Error Status 1603 when the DVD Player & Media Center MSIs try to install.

ImSwordQueen commented 4 days ago

I think this bug is caused by a weird configuration of windows (Unless defender removed the second phase setup which can happen and it sucks). If you are sure that setup.exe is still in the Win10to7 folder in setuptools.... go in regedit, HKEY_LOCAL_MACHINE\SYSTEM\Setup and copy: CmdLine - C:\Windows\Win10to7\SetupTools\setup.exe SetupPhase - 4 SetupType - 2 SystemSetupInProgress - 1 You should copy these as indicasted as a wrong value could cause windows to not boot anymore.

The Setup values are all 0, the installer doesn't even get to that point. The Windows Application Logs show Event ID 1033 & Error Status 1603 when the DVD Player & Media Center MSIs try to install.

Hm. Okay... For now you can disable media center installer and install it manually thru this: https://garyan2.github.io/win10.html for now.

I will troubleshoot why this happens.

p950jgs5a commented 4 days ago

I think this bug is caused by a weird configuration of windows (Unless defender removed the second phase setup which can happen and it sucks). If you are sure that setup.exe is still in the Win10to7 folder in setuptools.... go in regedit, HKEY_LOCAL_MACHINE\SYSTEM\Setup and copy: CmdLine - C:\Windows\Win10to7\SetupTools\setup.exe SetupPhase - 4 SetupType - 2 SystemSetupInProgress - 1 You should copy these as indicasted as a wrong value could cause windows to not boot anymore.

The Setup values are all 0, the installer doesn't even get to that point. The Windows Application Logs show Event ID 1033 & Error Status 1603 when the DVD Player & Media Center MSIs try to install.

Hm. Okay... For now you can disable media center installer and install it manually thru this: https://garyan2.github.io/win10.html for now.

I will troubleshoot why this happens.

When I uncheck Media Center the installation halts at MSI 'C5E3A69D-D393-45A6-A8FB-00B01E2B010D'. I installed Visual Studio 2022 between the original uninstall (when it was working fine) & the original reinstall.

ImSwordQueen commented 4 days ago

That is vcredist 2022 failing to install.... Could you try reinstall vc redist 2022 thru the MS site and retry?

ImSwordQueen commented 4 days ago

but at a closer inspection... msiexec seems to be failing to install all msi packages and not only vcredist...

so i suggest you trying to do a sfc /scannow just in case (if it's a stock 10 install)

p950jgs5a commented 4 days ago

The latest VC++ 2022 Minimum Runtime is 14.40.33816 from the Microsoft site, it installs fine. The 10 to 7 pack uninstalls 14.40.33816 & installs 14.40.33810, also successfully. After that event the 10 to 7 pack MSIs fail to install.

ImSwordQueen commented 4 days ago

Does it only fail or does it halt the install completely?

p950jgs5a commented 4 days ago

Does it only fail or does it halt the install completely?

It still halts at stage 2 of 4, even after the sfc /scannow

ImSwordQueen commented 4 days ago

I would try uninstalling vcredist 2022 and retry. I should find a way to make the installer not halt there.

p950jgs5a commented 4 days ago

I would try uninstalling vcredist 2022 and retry. I should find a way to make the installer not halt there.

It appears to be built into Visual Studio 2022 as part of the 'C++ 2022 Redistributable Update'.

ImSwordQueen commented 4 days ago

I would try uninstalling vcredist 2022 and retry. I should find a way to make the installer not halt there.

It appears to be built into Visual Studio 2022 as part of the 'C++ 2022 Redistributable Update'.

Okay i tried replicating the issue and i don't seem to be able to replicate it. Can you try installing a normal MSI package that isn't from 21H2to7 and see if those work?

ImSwordQueen commented 4 days ago

Also to temp solve the issue if the MSI install issue isn't an install wide issue is to keep task manager open with always on top and when it goes to second phase and it gets stuck you should minimize the main installer window and see if any errors appear (please screenshot them if they do)

p950jgs5a commented 4 days ago

Also to temp solve the issue if the MSI install issue isn't an install wide issue is to keep task manager open with always on top and when it goes to second phase and it gets stuck you should minimize the main installer window and see if any errors appear (please screenshot them if they do)

I uninstalled & reinstalled the 7zip msi, it works fine. There isn't anything to screenshot as the screen simply goes to black with explorer terminated after 'stage 2 of 4' completes. Ctrl+Alt+Del with the Task Manager can bring it back. The installation still halts at the 'C5E3A69D-D393-45A6-A8FB-00B01E2B010D' msi.

ImSwordQueen commented 4 days ago

Okay. I will compile a version of 21H2to7 with a check that doesn't install VCredist and see if that one works

p950jgs5a commented 4 days ago

Okay. I will compile a version of 21H2to7 with a check that doesn't install VCredist and see if that one works

You can just try to install an MSI from the pack like the DVD Player while Visual Studio 2022 is installed. You can see the problem like that.

ImSwordQueen commented 4 days ago

Could you try this build? https://mega.nz/file/RyRFjI4A#PqQVbnGWxvcwYkQfaGAYlxkGY2jCx0wuhOJYwMz-QjQ

p950jgs5a commented 4 days ago

The DVD Player MSI is signed by Microsoft. The problem appears to be a Visual Studio 2022 compatibility issue. The version of vc++ 2015-2022 included in it conflicts with the MSIs in the pack.

ImSwordQueen commented 4 days ago

The DVD Player MSI is signed by Microsoft. The problem appears to be a Visual Studio 2022 compatibility issue. The version of vc++ 2015-2022 included in it conflicts with the MSIs in the pack.

So does the version i compiled works now?

p950jgs5a commented 4 days ago

The DVD Player MSI is signed by Microsoft. The problem appears to be a Visual Studio 2022 compatibility issue. The version of vc++ 2015-2022 included in it conflicts with the MSIs in the pack.

So does the version i compiled works now?

No, the individual MSIs from the pack are not installing.

ImSwordQueen commented 4 days ago

I tried every configuration and it doesn't seem to hang on my end. Even with VS 2022 installed with the vcredist.

+ Media center installs fine every time.

p950jgs5a commented 4 days ago

I looked at the msi logs & noticed that powershell had somehow been removed from the system path. I added it back & it's installing/uninstalling again. Thank you for the patience.