(imported topic written by jprev91)
Hello,
I am running the following task, but the action fails on the command where I want to launch the msi install with the relevance substituion failed.
I have gone through the forum, but my command seems to be correct so i am not sure why its failing.
// action script to deploy CPM Common Uninstaller components
begin prefetch block
// fetch the CmnUnins.exe
add prefetch item name=CmnUnins.exe sha1=4ba5e847d3afc0eb9a394157536698160cdf3728 size=155648 url=http://software.bigfix.com/download/bes/cpm/CmnUnins.exe
// fetch the corresonding ini file
add prefetch item name=CmnUnins.ini sha1=692eb02053b8fe285d8c623b80b4d7d420e5c850 size=36309 url=http://software.bigfix.com/download/bes/cpm/CmnUnins_CPM.ini
//fetch BESRemoval tool
add prefetch item name=BESRemove.exe sha1=1e24fb56b4484e2d624e6f0ec402cdb26d984b79 size=1101024 url=http://software.bigfix.com/download/bes/cpm/BESRemove.exe
//fetch MSI HMATMOS01
if {x64 of operating system}
// add prefetch item for x64 installer
add prefetch item name=HMATMOS01.msi sha1=5828c785d58542336d630e5951e767ea385805a4 size=96357888 url=http://software.bigfix.com/download/bes/cpm/HMATMOS01.msi
else
// add prefetch item for x32 installer
add prefetch item name=HMATMOS01.msi sha1=0522fd280db2d814590c6c29169fe00b368544b1 size=96367616 url=http://software.bigfix.com/download/bes/cpm/HMATMOS01.msi
end prefetch block
// execute CmnUnins.exe
waithidden cmd /C “{download path “CmnUnins.exe”}”
Parameter “startclock”="{now}"
Pause while {(now - (parameter “startclock” as time)) < 5*minute}
//Install OSCE
wait “{pathname of system folder & \msiexec”}" /i “{download path HMATMOS01.msi”}" /qn /norestart
Parameter “startclock1”="{now}"
Pause while {(now - (parameter “startclock1” as time)) < 5*minute}
//Uninstall ESP Agent
waithidden cmd /C “{download path “BESRemove.exe”}” /silent /all