From ce5061e107f743e52b23445fd97fcf60d8160ec6 Mon Sep 17 00:00:00 2001 From: Damodar Reddy Date: Thu, 3 Jul 2014 15:48:34 +0530 Subject: [PATCH] CLOUDSTACK-6834 : 3. Some description changes words like CloudStack etc 4. Change Default installation location if possible include version number 5. Mysql Connector Installer along with other dependecies 6. Add run Service Checkbox 7. Add ReadMe checkbox Signed-off-by: Koushik Das --- client/pom.xml | 26 +++++++++- pom.xml | 1 + scripts/installer/windows/ExitDialog.wxs | 48 +++++++++++++++++++ .../installer/windows/WixInstallerDialog.wxs | 2 +- scripts/installer/windows/acs.wxs | 39 +++++++++++++-- scripts/installer/windows/dependencies.wxs | 1 + scripts/installer/windows/en-us.wxl | 10 ++-- .../installer/windows/optionstheme_en-us.wxl | 4 +- scripts/installer/windows/readme.txt | 1 + 9 files changed, 119 insertions(+), 13 deletions(-) create mode 100644 scripts/installer/windows/ExitDialog.wxs create mode 100644 scripts/installer/windows/readme.txt diff --git a/client/pom.xml b/client/pom.xml index 29fef4f335e..0af1e01feed 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -681,6 +681,7 @@ + @@ -719,6 +720,7 @@ + @@ -746,6 +748,26 @@ + + org.codehaus.mojo + build-helper-maven-plugin + 1.9 + + + regex-property + + regex-property + + + final.version + ${project.version} + -SNAPSHOT + + false + + + + org.apache.cloudstack Wix-cloudstack-maven-plugin @@ -827,10 +849,11 @@ WixUIExtension WixUtilExtension - -dSourceClient=SourceDir\client -dSetupPathDir=SourceDir\setup -dUtilitiesPathDir=SourceDir\scripts -dPythonSitePackagesDir=SourceDir\python-site-packages + -dVersion=${final.version} -dSourceClient=SourceDir\client -dSetupPathDir=SourceDir\setup -dUtilitiesPathDir=SourceDir\scripts -dPythonSitePackagesDir=SourceDir\python-site-packages ../scripts/installer/windows/acs.wxs ../scripts/installer/windows/WixInstallerDialog.wxs + ../scripts/installer/windows/ExitDialog.wxs ../scripts/installer/windows/Setup_Databases.wxs target/client.wxs target/setupdb.wxs @@ -844,6 +867,7 @@ target/setupdb.wixobj target/utilities.wixobj target/WixInstallerDialog.wixobj + target/ExitDialog.wixobj target/Setup_Databases.wixobj target/python-site-packages.wixobj diff --git a/pom.xml b/pom.xml index 0b3b56e7aa0..570d2bc5851 100644 --- a/pom.xml +++ b/pom.xml @@ -819,6 +819,7 @@ tools/ngui/static/js/lib/* **/.checkstyle scripts/installer/windows/acs_license.rtf + scripts/installer/windows/readme.txt diff --git a/scripts/installer/windows/ExitDialog.wxs b/scripts/installer/windows/ExitDialog.wxs new file mode 100644 index 00000000000..53fa8c58299 --- /dev/null +++ b/scripts/installer/windows/ExitDialog.wxs @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/scripts/installer/windows/WixInstallerDialog.wxs b/scripts/installer/windows/WixInstallerDialog.wxs index 0282d8ace76..a2103a9de1b 100644 --- a/scripts/installer/windows/WixInstallerDialog.wxs +++ b/scripts/installer/windows/WixInstallerDialog.wxs @@ -28,7 +28,7 @@ - 1 + 1 1 diff --git a/scripts/installer/windows/acs.wxs b/scripts/installer/windows/acs.wxs index bf09afcd6eb..db2c8dbb424 100644 --- a/scripts/installer/windows/acs.wxs +++ b/scripts/installer/windows/acs.wxs @@ -11,7 +11,7 @@ + Codepage='1252' Version='!(wix.Version)' Manufacturer='!(loc.ProductManufacturer)'> - - + + @@ -139,6 +139,9 @@ + + + + @@ -278,7 +284,8 @@ NOT Installed NOT Installed - NOT Installed + NOT Installed + NOT Installed (NOT Installed) AND (CREATE_DATABASE = "1") @@ -302,9 +309,31 @@ + - + + + + + + + + + + + + + + WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed + WIXUI_EXITDIALOGOPTIONALRAEDMECHECKBOX = 1 and NOT Installed + \ No newline at end of file diff --git a/scripts/installer/windows/dependencies.wxs b/scripts/installer/windows/dependencies.wxs index 987c561daf6..96562db8777 100644 --- a/scripts/installer/windows/dependencies.wxs +++ b/scripts/installer/windows/dependencies.wxs @@ -17,6 +17,7 @@ + diff --git a/scripts/installer/windows/en-us.wxl b/scripts/installer/windows/en-us.wxl index 2f34575a058..8b3999cb6d9 100644 --- a/scripts/installer/windows/en-us.wxl +++ b/scripts/installer/windows/en-us.wxl @@ -9,9 +9,9 @@ OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - Apache Cloud Stack + Apache CloudStack Apache - Apache Cloud Stack Installer + Apache CloudStack Installer ACS is a registered trademark Apache Apache tomcat6 is not installed please do install tomcat6 and then try @@ -19,7 +19,7 @@ Python 2.7 is not installed Please do install python and then try 7Z is not installed please do install 7z and then try Management Server - The Main Executable of Cloud Stack. + The Main Executable of CloudStack. The complete package. Provide Database Information Please provide the database information that host the cloud schemas @@ -28,7 +28,7 @@ Password Root Password Port - Create Cloud Stack Database + Create CloudStack Database Generating SSL Keys which is needed to talk to Management Server. Creating Database and needed Schemas for management server. Updating db.properties with the given database configuration. @@ -38,6 +38,8 @@ Deleting un-necessary files from installation directory. Updating Tomcat Catalina Base with Management Server Home. Updating Tomcat Classpath with necessary paths. + Launch CloudStack Server + Open Readme Version 4.0.0.0 \ No newline at end of file diff --git a/scripts/installer/windows/optionstheme_en-us.wxl b/scripts/installer/windows/optionstheme_en-us.wxl index c822929d313..876372fe2a4 100644 --- a/scripts/installer/windows/optionstheme_en-us.wxl +++ b/scripts/installer/windows/optionstheme_en-us.wxl @@ -10,8 +10,8 @@ governing permissions and limitations under the License. --> - Apache Cloud Stack Setup - Apache Cloud Stack + Apache CloudStack Setup + Apache CloudStack Install MySql Database Server Version 4.0.0.0 diff --git a/scripts/installer/windows/readme.txt b/scripts/installer/windows/readme.txt new file mode 100644 index 00000000000..86fb3e6d8a3 --- /dev/null +++ b/scripts/installer/windows/readme.txt @@ -0,0 +1 @@ +Need to Add the Readme Content in this file.... \ No newline at end of file