We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Running servermanagercmd

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
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Running servermanagercmd

Hi,

What type of custom action are you using? Also, can you please send us the .AIP (project) file and a verbose log of the installation process to support at advancedinstaller dot com so we can investigate them?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”