# Package Installation Issues

This guide will focus on troubleshooting failed RealmJoin software package installations.

{% hint style="info" %}
This guide is only valid for software deployment using the RealmJoin client (not intunewin).

Especially the convenient way of collecting the required logfiles, directly on the client as well as remotely using the RealmJoin portal, only works with the RealmJoin tray application rolled out to your clients.

When using intunewin deployment, the logfiles will need to be collected manually from the clients, the most relevant folder being `C:\WINDOWS\Logs\RealmJoin`.
{% endhint %}

## Required log files

Without log files a failed software package installation cannot be properly troubleshooted.\
The required log files needed for troubleshooting failed installations reside in several location on the local client:

* `C:\WINDOWS\Logs\realmjoin*.log`
* `C:\WINDOWS\Logs\RealmJoin`
* `%LOCALAPPDATA%\RealmJoin\tray*.log`
* `%LOCALAPPDATA%\RealmJoin\Logs`
* `C:\ProgramData\chocolatey\logs\`

Please always provide the ZIP file containing the logs with any service request raised to the RealmJoin support.

<figure><img src="/files/UE8lEzDenNnvEe2prslX" alt=""><figcaption><p>File structure of a RealmJoin exported logs ZIP file</p></figcaption></figure>

\
The following chapters will explain how to obtain the logs, how to analyze them, and will explain some common issues and fixes for these common issues.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/other/troubleshooting/package-installation-issues.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
