--
Matt Parks
MVP - Microsoft CRM
"Johan" <Jo...@discussions.microsoft.com> wrote in message
news:66AF5933-DBC4-474B...@microsoft.com...
I'm trying to create a package which installs silently on computers before
logon or when users click an advertised shortcut in the start menu.
I have already made sure that the client computers meet all the
prerequisites for the installation. The problem is, neither the
Lightclient.msi nor the Client.msi seem to respond like any other .msi
package to msiexec.exe parameters like /qb.
Creating an .mst file is problematic too.
So I guess basically my question is: can I get around requiring user input
during the installation of the CRM client for Outlook?
Many thanks in advance.
-- Johan Kooijman
Attempting to create an .mst gives error 2228.
Publishing the .msi is not an option in our organization.
Assigning the package ("LightClient.msi") in the GPO works, but doesn't
actually 'do' anything because of the lack of any advertised shortcuts.
This has one advantage, though: now I am able to use the advertised
product code to kick the installation off with a separate package. This
package will contain a .vbs file and an advertised shortcut to that
file.
The VBScript will have to kick off the installation using an msiexec
command line. Enter my next problem: the IG states the following
(19-4):
To install the Microsoft CRM 3.0 laptop client for Outlook in quiet
mode:
msiexec Client.msi /q /l c:\clientinstall.txt
CONFIG=c:\installconfig.xml
Now, I'm using windows Installer 3.1, as prescribed, but I'm not able
to use /q or /l or even an .msi file right after msiexec.exe. I need to
use either /i, /a, /j or /x. So the command line which is used as an
example by the IG gives an error.
This works, however:
msiexec.exe /i {CA7BE522-8026-4E85-A432-1C9EB6BCFC00} /q
I believe this command line automatically looks and parses the
default_client_config.xml file containing my setting for the CRM
server. When I try to specify the configuration xml I get the error
that the specified file cannot be found locally(!).
As I prefer to have a progress bar to monitor the process and also to
let users know the system is doing something, I tried the following
command line:
msiexec.exe /i {CA7BE522-8026-4E85-A432-1C9EB6BCFC00} /qb
This actually prompts for the server adress again.
Eventually this works best:
msiexec.exe /i {CA7BE522-8026-4E85-A432-1C9EB6BCFC00} /qr
Unfortunately this gives me the following error:
Action Microsoft.Crm.Setup.Client.InstallPstAction failed.
AddAccessAllowedAce failed.
Options: retry or cancel.
Configuration:
Localised Dutch Windows XP with SP1.
English Office 2003 SP2 with Dutch User Interface Pack. (attempts
without Dutch UI gives same results).
msiexec.exe /i {CA7BE522-8026-4E85-A432-1C9EB6BCFC00} /q
msiexec.exe /i {CA7BE522-8026-4E85-A432-1C9EB6BCFC00} /qb
Eventually this works best:
msiexec.exe /i {CA7BE522-8026-4E85-A432-1C9EB6BCFC00} /qr
Options: retry or cancel.
Configuration:
Oh, I have the same error installing laptop client on Windows XP Pro
Russian. Do you know, what does this error mean and how to fight with
it?
PS. Maybe it is because of localized Windows?
"There is a problem communicating with the Microsoft CRM server. The
server might be unavailable. Try again later. If the problem persists,
contact your system administrator."
and:
"An error occurred loading Microsoft CRM functionality.
Try restarting Microsoft Outlook.
Contact your system administrator if error persists."
The whole thing is starting to look like a prayer without end now. Will
soldier on and try to find the cause though.
15:39:12| Info| Executing Install action:
Microsoft.Crm.Setup.Client.ReleasePassAction
15:39:12| Info| Executing Install action:
Microsoft.Crm.Setup.Client.DeleteHotFixesAction
15:39:12| Info| Executing Install action:
Microsoft.Crm.Setup.Client.InstallPstAction
15:39:12| Error| AddAccessAllowedAce failed.(error = 1337)
(permissions.cpp:CPermissions::CreateNewSd:353).
15:39:12| Error| System.Exception: Action
Microsoft.Crm.Setup.Client.InstallPstAction failed. --->
System.Runtime.InteropServices.COMException (0x80070539):
AddAccessAllowedAce failed.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
errorCode, IntPtr errorInfo)
at Microsoft.Crm.Setup.Client.InstallPstAction.Do(IDictionary
parameters)
at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action,
IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---, Error, RetryCancel,
Option1
Any ideas?