Asteski / WinMac

Windows and macOS hybrid
101 stars 2 forks source link

Unable to uninstall #16

Closed Quiltyman closed 1 month ago

Quiltyman commented 2 months ago

The installation got stuck at installation some tools for serveal hours that i decided to give up and close the script. Some changes have been made and im unable to uninstall using the script as it too get stucks on uninstalling powertoys.

akamienski commented 2 months ago
  1. On which component the installation script froze?
  2. Did you run install.ps1 and uninstall.ps1 script as an administrator?
  3. What is your os build and version?
Dhyfer1 commented 2 months ago

I also have the same problem. The install and uninstall script gets stuck on some component. In my case, the installation gets stuck when installing the WinMac menu, it stays like this for a long time without changes

Screenshot 2024-08-20 230645.png

Using uninstall script it uninstalls WinMac but it gets stuck uninstalling autohotkey, I couldn't take a screenshot of the uninstall process as Windows Explorer it closed itself in the process, leaving only the console window in front.

Both install/uninstall scripts were run in PowerShell Core as administrator, on Windows 11 Version 23h2 build 22631.4037

@Quiltyman That is why it is always necessary to create a restore point before a program like WinMac makes changes to the system, and that is what I did before installing WinMac. At the moment I am currently using that restore point.

@akamienski I don't know if it's possible to edit the script so that WinMac creates a restore point before making any changes, but if possible, and as a suggestion, it should be added to the script

akamienski commented 2 months ago

@Quiltyman I've created a debug branch, run scripts and show me the error.

Quiltyman commented 2 months ago

I did some scripts edit using ChatGpt and the uninstall script was finally good to go. But luckily i had a system restore auto made before windows update so i did used it. Thanks for the help @Dhyfer1

akamienski commented 2 months ago

I did some scripts edit using ChatGpt and the uninstall script was finally good to go. But luckily i had a system restore auto made before windows update so i did used it. Thanks for the help @Dhyfer1

Can you let me know what chatgpt changed so I can apply it to the script.

akamienski commented 2 months ago

I understand that you solve an issue, is there anything else you request or can I close the issue?