Fix 'The Program Used to Create This Object Is Package' Error
Question details
The user encounters a 'Package' object error instead of the proper icon when attempting to embed an email message into a document.

- Product
- Office Document Editor
- Device & OS
- not provided
- Scenario
- Inserting an email as an embedded object using the Create from File > Display as Icon feature.
- Observed behavior
- The system fails to recognize the object type, displaying the error message 'The program used to create this object is Package' instead of the proper embedded file.
Ensure that the email message you wish to embed has been saved locally on your computer in a standard format (such as .msg or .eml) and that you have a default desktop email client installed.
Save the Email Locally and Select the Correct File
Ensure you are selecting the actual saved email file instead of a folder, desktop shortcut, or unsupported temporary preview item.
This error frequently happens when you attempt to embed a shortcut, a folder, or an unsaved temporary preview directly from your email client. By explicitly saving the file first, the document editor can correctly identify the program needed to open the object.
Open your email client, select the message you want to embed, go to 'File' > 'Save As', and save it to your local drive (e.g., Desktop or Documents) as a .msg or .eml file.
Open your document, navigate to the 'Insert' tab on the top ribbon, and click on 'Object'.
In the Object dialog box, switch to the 'Create from File' tab and click the 'Browse' button.
Navigate to the folder where you saved your .msg or .eml file, select the file, check the 'Display as icon' box, and click 'OK' to embed it.

Verify Default File Associations
Check your operating system settings to ensure that .msg and .eml files are properly associated with an installed email application.
Seamlessly Embed Objects with WPS Office
WPS Office provides robust OLE (Object Linking and Embedding) support, allowing you to easily insert emails, PDFs, and other document formats into your files without compatibility errors.
- 1. Open your document: Launch WPS Office and open the Writer, Spreadsheet, or Presentation file where you want to embed the file.
- 2. Insert Object: Go to the 'Insert' tab on the top menu and select 'Object' from the toolbar.
- 3. Browse and Embed: Choose the 'Create from file' option, browse for your locally saved email file, check 'Display as icon', and click 'OK'.

Frequently Asked Questions
Why does my embedded file show up as a 'Package' icon instead of the correct program icon?
This happens when the document editor doesn't recognize the file format, or the default application associated with that file type is missing. Ensure you are selecting a properly saved file (not a shortcut or folder) and that the corresponding application is installed on your computer.
Can I embed an email directly from my inbox by dragging and dropping?
Dragging and dropping directly from an email client often results in embedding errors or creates a temporary file that later breaks. It is best practice to use the 'Save As' function to save a .msg or .eml file to your local drive before using the 'Create from File' feature.
What formats are supported when embedding files as objects?
Most standard formats are supported, including PDF documents, Excel spreadsheets, Word documents, image files, and standard email formats (.msg, .eml). The key requirement is that the default application needed to open that specific file type must be installed on your system.




