Check for updates with config file RRS feed

  • Question

  • I'm trying to automate our deployment for CRM test servers so I have a script that callse the SetupServer.exe with the /Q and /config flags. I want the install to check for updated setup files like it does when you manually run through the install and I want it to check online. However it seems to be getting stuck and I think it might be because it is expecting me to supply the path to an update file. I have tried

    <Patch update="true"></Patch>


    <Patch update="true"/>

    But CRM would not get installed. I took the /Q flag off and the Checking for Update window comes up, but nothing happens for a while then it times out and says "An error occurred while the update was being downloaded." Am I missing something or is the <Patch> field only used to point to locally downloaded updates? What would be the correct way to check for updated setup files from the Internet silently?

    • Edited by Matt_Mc Monday, April 21, 2014 1:23 PM
    Monday, April 21, 2014 1:21 PM

All replies

  • Hi Matt,

    The /Q parameter determines Quiet Mode, meaning if you do not provide /Q, you will see the normal wizard and would have to navigate manually (clicking Next, etc.) except that all the values would be auto-filled from the config XML.

    When you're using the <Patch update="True" /> tag without any value, CRM will check for updates from the internet. If you're specifying any path like <Patch update="True" >Your_Server_Location_Which_Contains_Update_Files</Patch>, it will check for updates from the path provided and will not connect to the internet. Using <Patch update="False" /> will completely disable update checking.

    You might want to check if your firewall is open and allowing inbound traffic and if internet connectivity is present.

    The ideal way to go for silent installation is using the /Q flag with the /config flag as well. If you want to see progress bars, etc, using /QR instead of /Q.

    Admin QuikView Solution for CRM 2013

    Friday, April 25, 2014 11:45 AM