MSI Installation is Failing

(imported topic written by SystemAdmin)

Apologies in advance, because I’m sure this is a topic that has been addressed several (hundreds) times in this forum, but I haven’t been able to find a solution for my problem. This is also my first attempt at authoring a fixlet…

Trying to write a fixlet to update the Citrix ICA client.

Have written a relevance to identify computers:

exists folder “C:\Program Files\citrix\ICA Client” AND version of file “C:\Program Files\citrix\ICA Client\wfica32.exe” < "

(There’s probably a more elegant way to do this, but it works for our purposes.)

Decided to manually cache the MSI package - Downloaded, determined sha1, renamed, and moved to the sha1 folder on our BES root server.

Wrote the following action script:

download http://www.citrix.com/MANUAL_BES_CACHING_REQUIRED/ica32pkg.msi

continue if {(size of it = 15611392 and sha1 of it = “d23f6774e173e317e917f790e9957c629c06df8b”) of file “ica32pkg.msi” of folder “__Download”}

wait __Download\ica32pkg.msi /quiet

Test clients receive the action, succeed in downloading, and then fail on the install.

BigFix log is not very descriptive with regard to the failure (“Thread execution failed”).

Was able to install the MSI from the command prompt, manually, not using BigFix.

Any help would be greatly appreciated.

(imported comment written by jessewk)

The client is unable to launch a .msi file. You need to pass it through msiexec on your ‘wait’ line.

wait “{pathname of system folder & “\msiexec”}” /i “{(pathname of client folder of current site) & “__Download\ica32pkg.msi”}” /quiet

(imported comment written by SystemAdmin)

Thank you. This did the trick.

(imported comment written by ktm_200091)

Newbie here…

Is there anyway to substitute the .msi location with the product code for the .msi?

ie running this command in the run line /batch file which would uninstall adobe reader v8

msiexec.exe /x {AC76BA86-7AD7-1033-7B44-A81000000003} /qn!

(imported comment written by BenKus)

You can run this command in BigFix too… just make sure you escape the “{” because that is a special character in actionscript:

waithidden cmd.exe /C msiexec.exe /x {{AC76BA86-7AD7-1033-7B44-A81000000003} /qn!

Ben