We currently allow most applications to be installed by the users via Run Advertised Programs. On occasion the program might already exist on the pc, so we don't want the installation to be run again, but DO want the users to see that Last Status is either already marked as "Successful" or when they run it themselves it will change the status from "nothing" to "Successful", or better yet, something custom like "Already Installed" or "PreReq Missing"
This might or might not be possible, but I have tried numerous things like configuring custom MIF status message; which I would really like it to work where it shows up in SCCM reports correctly.
ex.. we have a Wise Wrapper that creates various messages depending on outcome of script as follows...
item: Execute ProgramPathname=%WIN%\ISMIF32.exe
Command Line=-p %APPNAME% -v %LATESTVER% -s 1 -d "Installation Completed on: %COMPNAME% | %APPNAME% | ExitCode = %PROCEXITCODE%"
Default Directory=%WIN%
Flags=00000110
end
The Log files created via Wrapper script are getting all of the Windows Installer Exit Codes like shows here... http://desktopengineer.com/windowsinstallererrorcodes - However a link that I use to have saved on MS Support site no longer works so I'm thinking MS does not want us to use MSIEXEC exit codes to communicate with SCCM. Broken Link in Question http://support.microsoft.com/kb/229683