Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program exception #199

Closed
yyg1208 opened this issue Nov 26, 2024 · 1 comment
Closed

Program exception #199

yyg1208 opened this issue Nov 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@yyg1208
Copy link

yyg1208 commented Nov 26, 2024

System.IO.IOException: The specified file could not be encrypted.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at DISMTools.MainForm.GetPackageDisplayName(String PackageName, String DisplayName)
at DISMTools.GetAppxPkgInfoDlg.ListBox1_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ListBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Error Message: The specified file could not be encrypted.

Error Code (HRESULT): 80071770

Program information:

  • DISMTools Version: 0.5.1.24112
  • Preview release? No
  • Branch: stable
  • Build time: 241122-1520
  • Portable copy? Yes

Machine information:

  • Computer manufacturer: Micro-Star International Co., Ltd.
  • Computer model: Stealth 16Studio A13VF
  • BIOS name/description: E15F2IMS.10E E15F2IMS.10E
  • System Management BIOS (SMBIOS) version: E15F2IMS.10E

Operating system information:

  • OS name: Microsoft Windows 11 IoT Enterprise LTSC
  • OS version: 10.0.26100.0
  • OS Platform: Win32NT
  • Is a 64-bit system? Yes

Processor information:

This information is gathered to help isolate the issue to a specific hardware or software configuration. No information that can be used to identify the user or the exact system is gathered.

If you don't want to send this information to the developers, paste the text that was copied to the clipboard in a text editor, remove this information, and copy the new text again.

How did it happen? What steps did you perform in order to experience this problem?
Error occurs when pressing "Get AppX Package Information" and selecting the MSI Center package.

@yyg1208 yyg1208 added bug Something isn't working good first issue Good for newcomers labels Nov 26, 2024
@CodingWonders
Copy link
Owner

@yyg1208, I don't run into this issue and #200 on standard images and VMs. I'll add exception handling to the function in question, but can you give me more information about those applications in this issue?

CodingWonders added a commit that referenced this issue Nov 26, 2024
CodingWonders added a commit that referenced this issue Dec 7, 2024
* Update assembly information

* [AppEvent] Disable timer on BW cancellation

* [ISO Creator] Fix list view visual issue

* [Unattended answer file] Enhancements

* [Fix] Fixed exception

Fixes #199 and #200

* [Info Saver] Fixes and improvements

- Added detection for the image registry control panel to fix a bug
- Added file checks in the results dialog

* [Unattended answer file] Add detection for Admin user group

* [Library] Update Scintilla.NET to 5.6.3

* [Unattended answer file] Added conditions for checks

* [Unattended answer file] Update terminology

* [DynaLog] Fixes

* [Unattended answer file] Add ability to restore original settings

* [Library] Update 7-Zip to 24.09

* [Proj/Image Props] Remove old stuff, fix things

* [Unattended answer file] Add more user name checks

* [Fix] Fixed #201

* [REL] Update What's New section and Update Info files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants