CRM 4 client and 'bug' for use in SMS Server/SCCM distribution? RRS feed

  • General discussion

  • I've been playing with this for days, originally using the steps as described here:


    Everytime it runs, whilst it appears to install the CRM client correctly to the workstation, it always returns a failure exit code of -2, which means that not only do we not get an accurate return of whether the SMS distribution of the client has worked cleanly or not, but it also fails to run daisy chained distributions too.

    I stumbled upon these two posts through google which describe the problem:



    So they suggest that Microsoft's set-up handler 'setupclient.exe' has a 'bug' which means that it doesn't properly complete and exit cleanly enough. To further complicate matters, it appears that you cannot use 'client.msi' directly either!

    Whilst the above articles have a workaround of sorts (which is rather cludgy based on using a wrap-around script with loops), I find it staggering that a reasonably new MS client installer should have this sort of problem?

    So, is anyone aware of a better solution to this?

    Are Microsoft/Dynamics actively addressing the 'bug' in the installer does anyone know?

    Thanks in advance,

    Friday, March 13, 2009 11:18 AM

All replies

  • I see that the CRM team replied to your question in the comments of the blog post.  Did Lucidio's suggestion to use the vb script to separate the real errors from the flukes work?    Lucidio is on the CRM client dev team, so he's a good source on this stuff.

    If that doesn't work for you, I would contact support.
    Thursday, April 9, 2009 11:05 AM