Skip to main content
Solved

Required software worklet failing


CallmePH
Forum|alt.badge.img

Using the built in worklet(required software)  to deploy our required software but it is now failing every install. Proper named .msi uploaded in payload etc. Here is the code and any insight would be awesome. thanks!

 

exit (Start-Process -FilePath 'msiexec.exe' -ArgumentList ('/qn', '/i', '"Win-Full-8_3_x64.msi"') -Wait -Passthru).ExitCode

 

Best answer by KyleG-Automox

CallmePH wrote:

Would there have been a wider spread issue with other deployments though? We have several required software worklets going and all install, on the same machines this one fails.

In some cases no, it could be unique to a device for a number of reasons. For example, a device could be in a specific security group that most devices aren’t apart of so it would fail based on the rules of said group.

One thing you can try is open a Wireshark session, run the Worklet, and check for any of the URLs in the results. This should give you an indication at which part of the Worklet is failing.

View original
How helpful was this post to you?

6 replies

CallmePH
Forum|alt.badge.img
  • Author
  • Pro
  • 52 replies
  • May 15, 2024

Usually the only error output is

Failed to install software: 

Today though we did get the following

Failed to install software: Exception calling "DownloadFile" with "2" argument(s): "The remote name could not be resolved: 
'command-storage-cdn.prod.automox.com'"
At C:\Program Files (x86)\Automox\execDir158658023\execcmd519076378.ps1:12 char:1
+ $web.DownloadFile('https://command-storage-cdn.prod.automox.com/a3ccd ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

 


  • Automox Employee
  • 29 replies
  • May 15, 2024

Hey CallmePH!

 

Based on the output I don’t believe the installer code is the problem. It looks like the error you’re getting is the device is unable to reach our servers to download the package file from it, which is why you’re seeing this in the output:

 

"The remote name could not be resolved: 
'command-storage-cdn.prod.automox.com'"

 

My suggestion would be to review our Firewall documentation provided here and ensure Automox can successfully communicate with your devices. Specifically, you want to ensure http://automox-policy-files.s3.us-west-2.amazonaws.com/ is not being blocked by your Firewall, VPN, or Proxy rules.

 

If you continue to have issues, please submit a ticket to help.automox.com and our Support team can help you troubleshoot further!

 

Thank you,

Kyle Gregg


CallmePH
Forum|alt.badge.img
  • Author
  • Pro
  • 52 replies
  • May 15, 2024

Would there have been a wider spread issue with other deployments though? We have several required software worklets going and all install, on the same machines this one fails.


  • Automox Employee
  • 29 replies
  • Answer
  • May 15, 2024
CallmePH wrote:

Would there have been a wider spread issue with other deployments though? We have several required software worklets going and all install, on the same machines this one fails.

In some cases no, it could be unique to a device for a number of reasons. For example, a device could be in a specific security group that most devices aren’t apart of so it would fail based on the rules of said group.

One thing you can try is open a Wireshark session, run the Worklet, and check for any of the URLs in the results. This should give you an indication at which part of the Worklet is failing.


CallmePH
Forum|alt.badge.img
  • Author
  • Pro
  • 52 replies
  • May 15, 2024

Will give it a run and see what I can find out. Thanks!


CallmePH
Forum|alt.badge.img
  • Author
  • Pro
  • 52 replies
  • May 15, 2024

If the firewall route is the answer we use,  does it need to be command-storage-cdn.prod.automox.com  or automox-policy-files.s3.us-west-2.amazonaws.com, or both?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings