PowerShell function to build a Microsoft Visual Studio setup project from command line with devenv.exe
If you want to build you’re Microsoft Visual Studio 2010 setup project in release mode, from the command line, you can use the following PowerShell function: function RebuildSubsystem([string]$solutionPath, [string]$projectPath, [string]$devEnvPath) { $parameters = "/Rebuild