Quantcast
Channel: LANDESK User Community : Popular Discussions - Patch Manager
Viewing all articles
Browse latest Browse all 3522

Custom Definitions not working

$
0
0

Hi all,

 

I'm trying to make a simple custom definition - basically it detects the file version of an executable, and if the version is below minimum it is supposed to run a batch file which replaces the exe.

 

However, I cannot make this work (this is on 9.6 by the way). No matter what I do I just get a Status of 'Failed' and result 'Failed to download all additional files for a package'. There aren't any additional files!

 

Here's what I did (cribbed from (Replaced Article) How to Create Custom Definitions in LANDesk® Management Suite 9.0)

 

Went to Patch and Compliance, switched to Custom Definitions. Added a new one.

 

In detection rules, added a new rule. Chose affected platforms (Win 7) and used Files as the detection logic. Chose the file and put the minimum version in. This part seems to work fine as I can later make a query for affected computers and see a list.

 

Next, under Patch Information I selected 'Repairing this issue requires downloading a patch'. I copied my batch file to \\LDSERVER\ldlogon\patch\INTL\Custom\mybatchfile.bat and then calculated hashes - three green ticks.

 

I put the same logic as before for 'detecting the patch' (although I also tried without these entries, no difference).

 

Under patch install commands, I put:

 

Copy a file FROM \\LDSERVER\ldlogon\patch\INTL\Custom\mybatchfile.bat TO c:\Program Files (x86)\LANDesk\LDClient\sdmcache

 

then

 

Execute a file (defaults, i.e. %SDMCACHE%%PATCHFILENAME% )

 

Saved all of that and then right clicked the definition I made and chose 'Repair' to create a repair task. Basically accepted the defaults on here although I chose custom agent settings.

 

According to the documentation, the task should now work but no luck. Any ideas anyone? Anyone have this working?

 

Thanks!


Viewing all articles
Browse latest Browse all 3522

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>