This project has moved and is read-only. For the latest updates, please go here.

AutoSPInstaller unable to install ForeFront for SharePoint with Script

Jul 17, 2013 at 11:56 PM
I'm encountering an odd issue when doing a clean install of SP2010 where I've added the answer file for the SharePoint Forefront and uploaded the setup.exe to the Forefront folder. The problem is that once the script is run and gets to the point of installing Forefront it brings up the wizard interface instead of doing an unattended install. I've tried this multiple times now and it always ends in the same result. I've also tried running the command directly:

./forefrontsetup.exe /p /a 'path to answerfile' and this also does not work. It just brings up the wizard interface again.

Has anyone else run into this issue?

One post online suggested the correct command to run was:
setup.exe /s /answerfile.iss /kXXXXX-XXXXXX-XXXXX-XXXXX-XXXXX

Where XXX is the license information. Now this did not bring up the wizard interface but it also didn't install ForeFront (It just executed then stopped). I copied the XML for the answerfile directly from the Microsoft Technet article but is that syntax correct?

<?xml version="1.0" encoding="utf-8"?>
<!----> <ProgramFolder></ProgramFolder>

Any assistance with this would be appreciated.