Skip to content
DataMiner Dojo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Is app package uninstall called during install?

167 views7 days agoapplication package
4
Michiel Saelen [SLC] [DevOps Enabler]6.22K 7th January 2026 0 Comments

I was looking into the uninstall functionality for app packages and noticed in the RN the following sentence:

"When you install an app with the AllowMultipleInstalledVersions option set to false, the uninstall script of that app (if present) will automatically be triggered. Also, the uninstall will be executed forcefully, meaning that the app will be removed even when the script fails."

We want to avoid that when a user installs a newer version on top, that data linked to the solution is removed. Is there a way to differentiate if the uninstall is called through an uninstall action or if the uninstall was called as part of installing another version?

Or should we (and how) set the 'AllowMultipleInstalledVersions' to true to avoid that data is being cleaned up during an upgrade to a newer version?

Michiel Oda [SLC] [DevOps Advocate] Answered question 7 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Michiel Oda [SLC] [DevOps Advocate]3.77K Posted 7 days ago 1 Comment

Hi Michiel

I know that it exists, but I don't know if it properly works. Regardless, the tooling to create dmapp packages don't have support for the uninstall script. What the documentation is referring to for uninstalling is the files/directory in 'C:\Skyline DataMiner\AppPackages\Installed'. This wouldn't uninstall the components of the app package. It would just remove the registration that the package was installed.

Michiel Saelen [SLC] [DevOps Enabler] Posted new comment 7 days ago
Michiel Saelen [SLC] [DevOps Enabler] commented 7 days ago

Thanks for your reply. Does this mean that packages should not implement the entry point as it doesn't work properly and raise an issue/feature task or that we shouldn't implement it at all as it was not designed to be used by packages?
[AutomationEntryPoint(AutomationEntryPointType.Types.UninstallApp)]
public void Uninstall(Engine engine, AppUninstallContext context)

You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2026 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin