Keyfactor Tech Days 2027 – Be Part of The Trust Security Conference in San Diego Register now!

FIM 2010 R2 Unattended Install Where You Want It

Keyfactor Keyfactor Technical Team

Recently we started using a custom script to install and configure FIM in a consistent manner. During more than a few manual installs, I’ve been asked to install FIM into a drive or directory other than “C:\Program Files\Microsoft Forefront Identity Manager\2010,” so I knew the script would need to have this capability. After finding and reading the “Unattended Installation of FIM 2010 R2” post, I spent a great deal of time searching the internet which led me to the not well documented option, INSTALLDIR=”” that allows the unattended install of FIM components to drives or directories other than the default.

Maybe, this something you already knew, but I thought I’d share it, as it wasn’t an obvious choice.

So now we use the INSTALLDIR=”” option in the script to install FIM components where we want them.

As an example, we’ve used something like the command below in scripts to install the FIM Service and Web Portal on a server’s D: drive:

<i>msiexec.exe /quiet ACCEPT_EULA=1 /i "`"E: \Service and Portal\Service and Portal.msi`" INSTALLDIR="D:\Program Files\Microsoft Forefront Identity Manager\2010" ADDLOCAL=CommonServices,WebPortals SQLOPTINSETTING=0 SQLSERVER_SERVER=FIMSQLServer01 SQLSERVER_DATABASE=FIMService MAIL_SERVER=mail.company.com MAIL_SERVER_USE_SSL=1 MAIL_SERVER_IS_EXCHANGE=1 POLL_EXCHANGE_ENABLED=0 CERTIFICATE_NAME=ForefrontIdentityManager SERVICE_ACCOUNT_NAME=SVC_FIMSERVICE SERVICE_ACCOUNT_PASSWORD=P@ssw0rd SERVICE_ACCOUNT_DOMAIN=company [email protected] SYNCHRONIZATION_SERVER=FIMSyncServer01 SYNCHRONIZATION_SERVER_ACCOUNT=company\SVC_FIMMA SERVICEADDRESS=fimportal.company.com FIREWALL_CONF=0 SHAREPOINTUSERS_CONF=1 EXISTINGDATABASE=1 SERVICE_MANAGER_SERVER=SCSMServer01 /L*v "C:\temp\fiminstall.txt" </i>

Hope this helps.

Reference Links

Unattended Installation of FIM 2010 R2

https://technet.microsoft.com/en-us/library/hh322863(v=ws.10).aspx

Subscribe to The Source

Stay secure with Keyfactor's monthly newsletter, packed with expert insights and practical steps for quantum-readiness.

Continue Reading

What is a Code Signing Certificate
Code Signing

What is a Code Signing Certificate?

Read more
EJBCA Community 7.9.0.1
Developer Community

New REST API Support and More Frequent Releases From EJBCA Community 7.9.0.1

Read more
Ready for Lift-Off: Explore PQC PKI and Signing in Our New Test Drive Environment
PQC

Ready for Lift-Off: Explore PQC PKI and Signing in Keyfactor’s New Test Drive Environment

Read more