Installing Microsoft Dynamics CRM 3.0 Client silently
The steps in the IG say to use the following syntax:
msiexec /q /l c:\clientinstall.txt Client.msi CONFIG=c:\installconfig.xml
I followed the steps in the IG on page 16-3 for creating an Administrative install location for the Laptop\Desktop Client on C:\Client\Laptop shared as \\crmserver\Client.
I added my .xml file named silentinstall.xml to that same location.
I was able to get this to work using the following syntax:
msiexec.exe /i \\<myservername>\Client\Laptop\Client.msi /q /l c:\clientinstalllog.txt CONFIG=\\<myservername>\Client\Laptop\silentinstall.xml
Example:
msiexec.exe /i \\crmserver\Client\Laptop\Client.msi /q /l c:\clientinstalllog.txt CONFIG=\\crmserver\Client\Laptop\silentinstall.xml
What is important to know is that I found out that you need the AlwaysInstallElevatedenabled in the Register on machine and user level.
Comments
Anonymous
May 14, 2007
can you give us some advice on hwo to configure the xml fiel so that it will install silently please? This is really lacking in the documentationAnonymous
May 14, 2007
Christian, the current version of the Implementation Guide (3.05) has all the information you need regarding a silent isntall of the CRM Client.Anonymous
May 15, 2007
Hi Mennotk I have read the current guide (chapter 16) and it does tell you how to create an administrative install which I have done. I cannot find where it tells you how to create a silent install package. I can easily publish the install and walk users through the install wihtout them needing admin rights but I need it to install either from a batch file or a logon script/GPO and this fails. The failure is due to the xml file configuration when I run msiexec /i \serversharelighclient.msi /q /l c:installlog.txt CONFIG=\serversharedefault_client_config.xml Now I have searched everywhere to find out how to edit this xml file so that it will allow for a silent install but there seems to be no documentation anywhere can you point me to the page int he guide where this is explained please? I know I am 75% of the way there to completing this but cannot edit the xml file correctly. Kind Regards ChristianAnonymous
May 15, 2007
Chapter 19-4 has your answersAnonymous
May 15, 2007
that's great thanks would be helpful if they grouped all the Outlook client install task in the same chapter!Anonymous
May 17, 2007
Hi, I'm assuming that you've been deploying the CRM client via Active Directory as outlined in the IG. I was wondering if you'd heard of anyone sucessfully doing it via SMS using the silent installation? Incidently, you should only need to set AlwaysInstallElevated value in the HKLM registry as this takes precedence over any entry which may exist HKEY_CURRENT_USER - more info here: http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/92830.mspx?mfr=true Regards, Rob.Anonymous
May 17, 2007
yes I managed to do it with the xml silent install, had trouble with the GPO publishing but instead of changing registry I added policies to the GPO, allowing install elevated in machine AND user adn also changing the windows Installer to wait for the Network logonAnonymous
May 22, 2007
The comment has been removedAnonymous
May 23, 2007
Rob, Once integrated with AD, users need to go to add/remove programs and select the CRM client.Anonymous
May 23, 2007
The comment has been removedAnonymous
May 24, 2007
It's been a long time, but I believe they do not see dialogues.Anonymous
June 12, 2007
Hi all, Getting this deployed though AD in a managed / locked down environment is the easy bit. Deploying hotfix rollup 1 is not as users need local admin rights to install it, and it comes and an EXE (not an MSI). Raised a call with MS and they pointed me towards an updated client installation MSI (V3c) which includes the hotfix rollup. Hope someone else finds this useful, and saves them some time: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=740e1b3b-11c3-4aef-b2e3-8309e0cf1bb0 Shame on you Microsoft for not supporting SMS, or a decent unattended install / uninstall routine suitable for corporate environments. Regards, Rob.Anonymous
July 09, 2007
Has anybody successfully done this using SMS? I've tried everything I can think of and searched all of the forums with no luck. If anyone has done it successfully, please let me know. I'd love to find out what the trick is. Surely its possible since they are both Microsoft products...Anonymous
July 20, 2007
The only way I've managed to do this via SMS is by either applying the Current User AlwaysInstallElevated=1 group policy setting or by making the end user a local adminitrator. Either way they will end up with too many rights on their local machine - not an option for us (as for most companies) so we ended up using AD group policy to deploy the CRM client. You would think that being MS products you could do it but no, you are asking too much!Anonymous
September 25, 2007
Installing MSI packages in a locked down user environment requires both the HKLM and HKCU AlwaysInstallElevated setting to be enabled or set to 1. If you want to deploy this via SMS without having to always have the Elevated Privilages set, create a CMD file that changes the AlwaysInstallElevated HKLM and HKCU keys to 1 prior to the install, then kick off the install from the CMD, and as the last item in your CMD, change the AlwaysInstallElevated key back to 0. This will enable Elevation during your installation and close the rights out once the install completes. You always have the option to toggle the elevation keys from 0 to 1 right before the install, and them changing them back to 0 from 1 at the end of it. Hope this helps.Anonymous
November 05, 2007
We are just comming online with CRM and I'm researching SMS install of the client. I have a very tite locked down invironment and I'd have to say I'm not liking what I've read so far. Has anyone tried to capture the client install with SMS installer then pushed out the package?Anonymous
November 05, 2007
The comment has been removedAnonymous
December 17, 2007
Two questions... if UR2 needs to be applied, and it is only available as a .exe file, then it would appear the user would need local admin rights, correct? Would it work to simply elevate the priviledges vs. give local admin rights? Second question, Mike provides the solution of updating the registry keys, but how would one do that for a user if the logged in user does not have the local admin priviledges to write to the HKLM key?Anonymous
December 17, 2007
Cally, elevated privileges is your answer for question number two. Number one you're probably right, you would need local admin rights unless you build your own .msi specific for UR2Anonymous
May 28, 2008
PingBack from http://jorgespace.rack111.com/usingsmstoreadregistryentries.html