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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • 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
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Load/run package from automation script

Solved1.13K views9th November 2021Automation upgrade package
0
Stijn Declerck [SLC] [DevOps Advocate]800 28th October 2021 0 Comments

Hi all,

I’d like to load/run multiple .dmapp files from an automation script to import functions (SRM). The method below launches the installer, but you still have to click “Upgrade” manually.

foreach (FileInfo file in newFiles)
{
engine.RunClientProgram(file.FullName, true);
}

Is it possible to do this somehow automatically?

Stijn Declerck [SLC] [DevOps Advocate] Selected answer as best 9th November 2021

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Gellynck Jens [SLC]2.71K Posted 28th October 2021 0 Comments

When an automation script executes, the code runs on the DataMiner server. If you call engine.RunClientProgram(“explorer.exe”), a new explorer will start on the client. This means if you try to install an app through this call, it will start SLTaskbarUtility on the client, meaning the app will be installed on the local DMA of the user (if any!). So you may be connected to DataMiner A, but install a package on DataMiner B without realizing you did. Don’t use RunClientProgram for server-side actions (like installing packages).

You can probably use the UpgradeExecuteManager class, which is available in SLNetTypes.dll.

Stijn Declerck [SLC] [DevOps Advocate] Selected answer as best 9th November 2021
3
Miguel Obregon [SLC] [DevOps Catalyst]18.57K Posted 28th October 2021 0 Comments

Hi Stijn,

In order to install multiple .dmapp packages, you can use the Taskbar Utility using command line options (DataMiner Help). I tried with a batch script and I was able to install multiple .dmapp packages, however I didn’t try running it from an automation script.

Miguel Obregon [SLC] [DevOps Catalyst] Edited answer 28th October 2021
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

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs