GopeedLab/gopeed · error

no installer found in the update package

Error message

no installer found in the update package

What it means

Error "no installer found in the update package" thrown in GopeedLab/gopeed.

Source

Thrown at cmd/updater/updater_windows.go:80

			return err
		}

		_, err = io.Copy(dstFile, srcFile)
		srcFile.Close()
		dstFile.Close()
		if err != nil {
			return err
		}

		// If this is likely an installer (.exe, .msi), save its path
		ext := strings.ToLower(filepath.Ext(file.Name))
		if ext == ".exe" || ext == ".msi" {
			installerPath = path
		}
	}

	if installerPath == "" {
		return fmt.Errorf("no installer found in the update package")
	}

	// Run the installer
	cmd := exec.Command(installerPath)
	if err := cmd.Start(); err != nil {
		return err
	}

	killSignalChan <- nil
	return nil
}

// installByPortable extracts the portable version to the destination directory
func installByPortable(killSignalChan chan<- any, packagePath, destDir string) error {
	killSignalChan <- nil

	reader, err := zip.OpenReader(packagePath)
	if err != nil {

View on GitHub (pinned to 7b7327ffb3)

When it happens

Trigger: Thrown at cmd/updater/updater_windows.go:80 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of GopeedLab/gopeed@7b7327ffb3 (2026-08-16). Data as JSON: /api/errors/0e2db9ba0aa62bd7. Report an issue: GitHub.