Skip to content

Instantly share code, notes, and snippets.

@erichexter
Created September 14, 2012 17:59
Show Gist options
  • Save erichexter/3723562 to your computer and use it in GitHub Desktop.
Save erichexter/3723562 to your computer and use it in GitHub Desktop.
web pi commands
view sourceprint?
1
@rem installer.cmd
2
SET WebPiCmd=.\webpicmd\WebPiCmd.exe
3
%WebPiCmd% /Install /Products:NETFramework4 /AcceptEula
4
%WebPiCmd% /Install /Products:SQLExpress /SQLPassword:P@ssw0rd /AcceptEula
5
%WebPiCmd% /Install /Products:SQLManagementStudio /AcceptEula
6
%WebPiCmd% /Install /Products:VWD /AcceptEula
7
%WebPiCmd% /Install /Products:MVC3 /AcceptEula
8
%WebPiCmd% /Install /Products:MVC4VS2010 /AcceptEula
Example 2 – Web Server for ASP.NET MVC Applications
The setup would be the same as above but in this scenario we are installing on top a Windows Server 2008 R2 fresh install. This would be our web server to showcase a basic ASP.NET MVC application.
1
@rem installer.cmd
2
SET WebPiCmd=.\webpicmd\WebPiCmd.exe
3
%WebPiCmd% /Install /Products:NETFramework4 /AcceptEula
4
%WebPiCmd% /Install /Products:IIS7 /AcceptEula
5
%WebPiCmd% /Install /Products:MVC3 /AcceptEula
6
%WebPiCmd% /Install /Products:MVC4VS2010 /AcceptEula
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment