Quantcast
Channel: Ivanti User Community: Message List
Viewing all articles
Browse latest Browse all 12704

Re: Question about scripting and custom definitions

$
0
0

jbrixey,

 

Two things to look at that could possibly be causing issues - with out me actually running it, it is hard to tell:

- The use of a UNC path - validate permissions are working correctly.

- The extra quotes added around the path.  You might want to try using single quotes or using the [QUOT] tags.

 

I would also suggest switching from using a vbscript to do this install to using the "Execute a program" option as this is its exact purpose.

 

To setup the Execute a program for an msi:

Additional Files - Put in an http path to the file (this will allow it to work through your CSA if you have one) and click calculate MD5 hashes.

e.g. http://server.domain.ext/packages/file.msi

 

Patch Install Commands -> Execute a program

-Path: %windir%\system32\msiexec.exe

-Args: /qn /i "C:\Program Files\LANDesk\LDClient\sdmcache\packages\file.msi" REINSTALL=ALL REINSTALLMODE=vomus REBOOT=ReallySuppress

-Timeout: %DEFAULTTIMEOUT%

-Wait: true

 

You will want to set the OSs to be 32bit for the above.  Then add another "detection rule" with-in the patch for 64bit and change the Args path to be "C:\Program Files (x86)\....".  This wouldn't be adding another Execute a program - but instead adding the entire rule.

 

Hope this helps,

Peter


Viewing all articles
Browse latest Browse all 12704

Trending Articles