TheRandomLabs / scoop-nonportable

A Scoop bucket for nonportable applications.
The Unlicense
138 stars 40 forks source link

mactype-np@v1.2016.901.0: decompress error #332

Open tiantao433 opened 2 years ago

tiantao433 commented 2 years ago

mactype-np: 2021.1-rc1 -> v1.2016.901.0 Updating one outdated app: Updating 'mactype-np' (2021.1-rc1 -> v1.2016.901.0) Downloading new version Loading MacTypeInstaller_2016_0901_0.exe from cache Checking hash of MacTypeInstaller_2016_0901_0.exe ... ok. Uninstalling 'mactype-np' (2021.1-rc1) Running uninstaller script... WARN If you encounter "file in use" error during uninstallation, try the following steps:

  1. Launch MacType Wizard (macwiz.exe) and select "Manual" mode.
  2. Reboot.
  3. Run scoop uninstall mactype-np. Installing 'mactype-np' (v1.2016.901.0) [64bit] Loading MacTypeInstaller_2016_0901_0.exe from cache Extracting MacTypeInstaller_2016_0901_0.exe ... ERROR Exit code was 1! Failed to extract files from C:\Users\Tian\scoop\apps\mactype-np\v1.2016.901.0\MacTypeInstaller_2016_0901_0.exe. Log file: ~\scoop\apps\mactype-np\v1.2016.901.0\innounp.log

The setup files are corrupted or made by incompatible version. Maybe it's not an Inno Setup installation at all. (00492DAA)

TamamoNoMae13 commented 2 years ago

I also encountered this, but I know the problem. I don't have a concrete way to fix this, but you can try this workaround. Go to Control Panel -> Region -> Administrative tab -> Change system locale -> Use any CJK languages and leave UTF-8 support unticked, it would help you fix that problem. Japanese is preferable because they also use many Chinese characters as well. image 7-zip just doesn't support extracting file name with unicode char in general, just using the default locale of Windows. The file name of the fonts are mostly in Chinese, Japanese and Korean characters.

I do some coding so I prefer turning UTF-8 on.