diff --git a/app/src/handlers/itemhandler.cpp b/app/src/handlers/itemhandler.cpp
index 6255c39e987d1ba2514bb733545882cc3acd4c1f..44e185fa6fc72689be51ce94c07ac0eda1a9255f 100644
--- a/app/src/handlers/itemhandler.cpp
+++ b/app/src/handlers/itemhandler.cpp
@@ -314,8 +314,10 @@ void ItemHandler::installDownloadedFile(qtlib::NetworkResource *resource)
auto filename = metadata["filename"].toString();
auto installType = metadata["install_type"].toString();
- auto tempDirPrefix = configHandler_->getAppConfigApplication()["id"].toString() + "_" + filename;
- qtlib::Dir tempDir(qtlib::Dir::tempPath() + "/" + tempDirPrefix);
+ QString tempDirPrefix = "temp_" + filename;
+ qtlib::Dir tempDir(qtlib::Dir::genericCachePath() + "/"
+ + configHandler_->getAppConfigApplication()["id"].toString() + "/"
+ + tempDirPrefix);
tempDir.make();
qtlib::Dir tempDestDir(tempDir.path() + "/dest");
tempDestDir.make();