none
Unattended Installation of Sync Services RRS feed

  • Question

  • FIM Team, I'm working with a customer attempting to automate the installation of the FIM Synchronization Service. We have the FIM 2010 R2 SP1 installation media and have created a Windows Installer Transform according to this TechNet article. We'd like to deploy the Synchronization Service database on SQL Server 2012 Standard Edition SP1, but when we run the unattended installation using msiexec we get "Forefront Identity Manager Synchronization Service requires a running instance of Microsoft SQL Server 2008 SP1 or better." We can run through the installation manually without any issues.

    Cheers,

    Tom Houston, UK Identity Management Practice

    Monday, April 21, 2014 6:30 PM

Answers

  • Could you post your command line maybe? I remember having some issues with this a few years back, when I did some automating of this. My lab is down at the moment, but I found this (parameters for automating installation of Sync Service) from my PowerShell installation scripts which may or may not assist you -

    if ($SQLServerInstance) { $SQLInstance = "SQLINSTANCE=$SQLServerWithInstance" }
    
    $Arguments = "/LV $LogFile $QuietParam /i ""$MsiFile"" STORESERVER=$SQLServer $SQLInstance SERVICEACCOUNT=$SyncServiceAccount SERVICEPASSWORD=$SyncServiceAccountPassword SERVICEDOMAIN=$DomainNetBIOSName Reboot=ReallySuppress GROUPADMINS=$SyncGroupAdmins GROUPOPERATORS=$SyncGroupOperators GROUPACCOUNTJOINERS=$SyncGroupAccountJoiners GROUPBROWSE=$SyncGroupBrowse GROUPPASSWORDSET=$SyncGroupPasswordSet FIREWALL_CONF=1 ACCEPT_EULA=1"
    
    Start-Process -FilePath MSIEXEC.EXE -ArgumentList $Arguments -Wait
    


    Regards, Soren Granfeldt
    blog is at http://blog.goverco.com | facebook https://www.facebook.com/TheIdentityManagementExplorer | twitter at https://twitter.com/#!/MrGranfeldt


    Monday, April 21, 2014 7:28 PM

All replies

  • Hi,

    Hm, haven't run yet in such problem. Have you tried to running it from command prompt and turning on msiexec logging?

    Best Regards,

    P


    Monday, April 21, 2014 6:36 PM
  • Have you tried to running it from command prompt and turning on msiexec logging

    Yes, I'm running the unattended installation from an elevated command prompt, and I've cranked up the logging to discover this error message: "Forefront Identity Manager Synchronization Service requires a running instance of Microsoft SQL Server 2008 SP1 or better. Install the correct SQL Server version and make sure the service is running before installing Forefront Identity Manager Synchronization Service."

    Cheers,

    Tom Houston, UK Identity Management Practice

    Monday, April 21, 2014 7:21 PM
  • Could you post your command line maybe? I remember having some issues with this a few years back, when I did some automating of this. My lab is down at the moment, but I found this (parameters for automating installation of Sync Service) from my PowerShell installation scripts which may or may not assist you -

    if ($SQLServerInstance) { $SQLInstance = "SQLINSTANCE=$SQLServerWithInstance" }
    
    $Arguments = "/LV $LogFile $QuietParam /i ""$MsiFile"" STORESERVER=$SQLServer $SQLInstance SERVICEACCOUNT=$SyncServiceAccount SERVICEPASSWORD=$SyncServiceAccountPassword SERVICEDOMAIN=$DomainNetBIOSName Reboot=ReallySuppress GROUPADMINS=$SyncGroupAdmins GROUPOPERATORS=$SyncGroupOperators GROUPACCOUNTJOINERS=$SyncGroupAccountJoiners GROUPBROWSE=$SyncGroupBrowse GROUPPASSWORDSET=$SyncGroupPasswordSet FIREWALL_CONF=1 ACCEPT_EULA=1"
    
    Start-Process -FilePath MSIEXEC.EXE -ArgumentList $Arguments -Wait
    


    Regards, Soren Granfeldt
    blog is at http://blog.goverco.com | facebook https://www.facebook.com/TheIdentityManagementExplorer | twitter at https://twitter.com/#!/MrGranfeldt


    Monday, April 21, 2014 7:28 PM
  • Thanks Soren, turned out we'd used an existing property (SQLServerStore) rather than declaring a custom property (STORESERVER) to define the location of the SQL Server. Your PowerShell script helped us find it so marking as the answer.

    Cheers,

    Tom Houston, UK Identity Management Practice

    Tuesday, April 22, 2014 7:17 PM