InstallAnywhere 2009 Enterprise 配置

1打包软件环境

InstallAnywhere 2009 Enterprise

Tomcat 5 绿色版

2       配置信息

2.1     项目基本信息



 

 

2.2     安装页面设置



 

2.3     安装步骤设置



 

 



 

 

2.4     添加打包文件,设置安装过程中的环境变量



 

JAVA_HOME$USER_INSTALL_DIR$\jdk

PATH$USER_INSTALL_DIR$\jdk\bin;$USER_INSTALL_DIR$\tomcat\bin;c:\windows\system32

CATALINA_HOME$USER_INSTALL_DIR$\tomca

CATALINA_DIR$USER_INSTALL_DIR$\tomcat\bin 



 

 

 $DESKTOP$$\$离线学习客户端.url 

[InternetShortcut]

URL=http://localhost:8080/www/jsp/register/choicefile.jsp

IconFile=$USER_INSTALL_DIR$$\$\tomcat\Jspoweroffline.exe

HotKey=0

IconIndex=0

IDList= 

Startup 启动服务指向bat文件 

$USER_INSTALL_DIR$$/$tomcat$/$bin$/$startup.bat 

Uninstall OffLineLearning  软件卸载指向bat文件 

         $USER_INSTALL_DIR$$/$Uninstall OffLineLearning.bat 

Uninstall OffLineLearning.bat文件内容 

call "tomcat/bin/service.bat" remove

call "Uninstall OffLineLearning/Uninstall OffLineLearning.exe"



 

 2.5     注册Tomcat服务

         call "$USER_INSTALL_DIR$\tomcat\bin\service.bat" remove

set "JAVA_HOME=$USER_INSTALL_DIR$\jdk"

set "CATALINA_HOME=$USER_INSTALL_DIR$\tomcat"

call "$USER_INSTALL_DIR$\tomcat\bin\service.bat" install

sc config Tomcat5 start= auto

sc start Tomcat5

猜你喜欢

转载自357009589.iteye.com/blog/1840598
今日推荐