Systems Management Question

help with mif files

06/25/2008 5338 views

i'm trying to understand mif files and how they can help me with my deployments. my understanding is essentially they register a success or failure and allow a custom description?

if that's correct what i'm tyring to do is add machines to a software deployment collection. these machines have had the software previously manually installed, and the admins now want these machines managed via sms. i don't want the software to be reinstalled on these machines.

what i've done to acheive this is write a vbscript which is its own sms program that checks for the existence of a particular directory on the machine associated with the software. if it finds this dir it copies a mif file to the local machine which has a failure value and a description, the script then exits with an error code of 1. if it doesn't find the dir, it copies nothing, and exits with an error code of 0.

the point of this is so staff can review reports on the deployment, particularly failures, and realise the advertisements failed due to a previous manual installation and nothing sinister.

the script is functioning correctly in terms of the rest of the sms program execution order actually doesn't go ahead if the script exits with 1. but the issue is the sms logs are reporting that it doesn't find a mif file associated with the program. i've tried having the script copy the mif file to %systemroot% and %systemroot%\temp with no results. i have made sure that my sms package's product field, publisher field and filename match those of the mif file itself.

so my first question is: is my understanding of mif files correct? secondly: why is sms not finding the mif file? thirdly: is there any easier way to handle this?

thanks in advance,

0 Comments   [ + ] Show comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

What about pre-populating the HKLM\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distitrbution\Execution History registry key with the programs execution?
Answered 08/07/2008 by: brenthunter2005
Fifth Degree Brown Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ