Hi there,
Does anyone know how to run servermanagercmd ? I am using a search to look for servermanagercmd.exe in c:\windows\system32 (64bit Folder). Then piping the result to RESULT_IIS. Then I use a custom action in the following context :
Property Name : RESULT_IIS
Source Type : Executable (*.exe)
Command Line : -install web-server -a
Execution Properties : Synchronus execution, ignore return code
Execution Options : Deferred with no impersonation
Scheduling Options : Always Execute
Expression : &Protect_Server =3 (This is the feature it is linked with)
It starts to run but then fails and rolls back the install. There are 5 servermanagercmd in my project. It gets to the first one (Listed above) and fails.
Am I doing something wrong or is there a better way to install Windows Roles ?
Thanks