diff --git a/setup/cli/package.php b/setup/cli/package.php
index f4c485b9a1a1f0bef448fea945c2b47df415912a..45fd517704822e7ae3e4c8d471bdb30b14d1e5ea 100755
--- a/setup/cli/package.php
+++ b/setup/cli/package.php
@@ -84,13 +84,15 @@ mkdir($stage_path . '/upload');
 
 # Load the root directory files
 package("*.php", 'upload/');
+package("web.config", 'upload/');
 
 # Load the client interface
 foreach (array('assets','css','images','js') as $dir)
     package("$dir/*", "upload/$dir", -1, "*less");
 
-# Load API
+# Load API and pages
 package('api/{,.}*', 'upload/api');
+package('pages/{,.}*', 'upload/pages');
 
 # Load the knowledgebase
 package("kb/*.php", "upload/kb");