Javaweb系統(tǒng)打包成ee安裝文件_第1頁(yè)
Javaweb系統(tǒng)打包成ee安裝文件_第2頁(yè)
Javaweb系統(tǒng)打包成ee安裝文件_第3頁(yè)
Javaweb系統(tǒng)打包成ee安裝文件_第4頁(yè)
Javaweb系統(tǒng)打包成ee安裝文件_第5頁(yè)
已閱讀5頁(yè),還剩42頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

Javawebexe安裝文件一、工具預(yù)備1、NSIS“:///“://下載并安裝;、HMNISEditor:“:///“下載并安裝二、運(yùn)行環(huán)境預(yù)備—JDK1〔DwebExe,即;2、JDKjdk-6u18JDK名目直接拷貝到webExe下就行〔綠色版本的也可以。三、應(yīng)用程序預(yù)備—Tomcatweb應(yīng)用系統(tǒng)1tomcatapache-tomcat-6.0.35,webExeWeb應(yīng)用系統(tǒng)公布進(jìn)webapps中。四、數(shù)據(jù)庫(kù)預(yù)備—mysql及數(shù)據(jù)、下載一個(gè)免安裝版本的D盤(pán);、將主名目名修改也行,建議修改簡(jiǎn)潔;3、找到文件my-small.ini 改名為my.ini〔也可以是將my-large.inimy-medium.ini中任意一個(gè)改名為;4my.ini翻開(kāi)進(jìn)展配置:#ThefollowingoptionswillbepassedtoallMySQLclients[client]=your_passwordport =3306socket =MySQLdefault-character-set=utf8 --客戶端編碼#Herefollowsentriesforsomespecificprograms#TheMySQLserver[mysqld]port =3306socket =MySQLdefault-character-set=utf8 --效勞器端basedir=D:/mysql5 --路徑datadir=D:/mysql5/data --數(shù)據(jù)庫(kù)路徑default-storage-engine=MyISAM --默認(rèn)數(shù)據(jù)庫(kù)引擎為MyISAM5、在本地啟動(dòng)效勞,導(dǎo)入數(shù)據(jù)庫(kù)及數(shù)據(jù)mysql,記得關(guān)掉當(dāng)前的效勞〕cmd.exeDOSD:\mysql5\bin名目注冊(cè)效勞:mysqld--installmysql5--defaults-file=d:\mysql5\my.iniInstall/RemoveoftheServiceDenied!錯(cuò)誤,DOScmd.exe程序。啟動(dòng)效勞:netstartmysql5mysql停頓效勞:netstopmysql5參考圖片—6mysql5webExe下五、打包腳本預(yù)備1、當(dāng)前名目狀況如以以下圖:、腳本文件h復(fù)制到編輯器MSt中保存〕!ifndef_AddToPath_nsh!define_AddToPath_nsh!verbose3!include“WinMessages.NSH“!verbose4!ifndefWriteEnvStr_RegKey!ifdefALL_USERS!defineWriteEnvStr_RegKey\”HKLM“SYSTEM\CurrentControlSet\Control\SessionManager\Environment“”!else!define“Environment“”!endif

WriteEnvStr_RegKey ”HKCU!endif;AddToPath-Addsthegivendirtothesearchpath.; Input-headofthestack; Note-Win9xsystemsrequiresrebootFunctionAddToPathExch$0Push$1Push$2Push$3#don”taddifthepathdoesn”texistIfFileExists“$0\*.*“““AddToPath_doneReadEnvStr$1PATHPush“$1;“Push“$0;“CallStrStrPop$2StrCmp$2““““AddToPath_donePush“$1;“Push“$0\;“CallStrStrPop$2StrCmp$2““““AddToPath_doneGetFullPathName/SHORT$3$0Push“$1;“Push“$3;“CallStrStrPop$2StrCmp$2““““AddToPath_donePush“$1;“Push“$3\;“CallStrStrPop$2StrCmp$2““““AddToPath_doneCallIsNTPop$1StrCmp$11AddToPath_NT;NotonNTStrCpy$1$WINDIR2FileOpen$1“$1\autoexec.bat“aFileSeek$1-1ENDFileReadByte$1$2IntCmp$2260+2+2#DOSEOFFileSeek$1-1END#writeoverEOFFileWrite$1“$\r$\nSETPATH=%PATH%;$3$\r$\n“FileClose$1SetRebootFlagtrueGotoAddToPath_doneAddToPath_NT:ReadRegStr$1${WriteEnvStr_RegKey}“PATH“StrCmp$1““AddToPath_NTdoItPush$1CallTrimPop$1StrCpy$0“$1;$0“AddToPath_NTdoIt:WriteRegExpandStr ${WriteEnvStr_RegKey}“PATH“$0SendMessage${WM_WININICHANGE} /TIMEOUT=5000

${HWND_BROADCAST}“STR:Environment“AddToPath_done:Pop$3Pop$2Pop$1Pop$0FunctionEnd;RemoveFromPath-Removeagivendirfromthepath; Input:headofthestackFunctionun.RemoveFromPathExch$0Push$1Push$2Push$3Push$4Push$5Push$6IntFmt$6“%c“26#DOSEOFCallun.IsNTPop$1StrCmp$11unRemoveFromPath_NT;NotonNTStrCpy$1$WINDIR2FileOpen$1“$1\autoexec.bat“rGetTempFileName$4FileOpen$2$4wGetFullPathName/SHORT$0$0StrCpy$0“SETPATH=%PATH%;$0“GotounRemoveFromPath_dosLoopunRemoveFromPath_dosLoop:FileRead$1$3StrCpy$5$31-1#readlastcharStrCmp$5$60+2#ifDOSEOFStrCpy$3$3-1#removeDOSEOFsowecancompareStrCmp $3 unRemoveFromPath_dosLoopRemoveLineStrCmp $3 unRemoveFromPath_dosLoopRemoveLineStrCmp $3 unRemoveFromPath_dosLoopRemoveLineStrCmp$3““unRemoveFromPath_dosLoopEndFileWrite$2$3GotounRemoveFromPath_dosLoopunRemoveFromPath_dosLoopRemoveLine:SetRebootFlagtrueGotounRemoveFromPath_dosLoopunRemoveFromPath_dosLoopEnd:FileClose$2FileClose$1StrCpy$1$WINDIR2Delete“$1\autoexec.bat“CopyFiles/SILENT$4“$1\autoexec.bat“Delete$4GotounRemoveFromPath_doneunRemoveFromPath_NT:ReadRegStr$1${WriteEnvStr_RegKey}“PATH“StrCpy$5$11-1#copylastcharStrCmp$5“;“+2#iflastchar!=;StrCpy$1“$1;“#append;Push$1Push“$0;“Callun.StrStr;Find`$0;`in$1Pop$2;posofourdirStrCmp$2““unRemoveFromPath_done;else,itisinpath#$0-pathtoadd#$1-pathvarStrLen$3“$0;“StrLen$4$2StrCpy$5$1-$4#$5isnowthepartbeforethepathtoremoveStrCpy$6$2““$3#$6isnowthepartafterthepathtoremoveStrCpy$3$5$6StrCpy$5$31-1#copylastcharStrCmp$5“;“0+2#iflastchar==;StrCpy$3$3-1#removelastcharWriteRegExpandStr ${WriteEnvStr_RegKey}“PATH“$3SendMessage${WM_WININICHANGE} /TIMEOUT=5000

${HWND_BROADCAST}“STR:Environment“unRemoveFromPath_done:Pop$6Pop$5Pop$4Pop$3Pop$2Pop$1Pop$0FunctionEnd;AddToEnvVar-Addsthegivenvaluetothegivenenvironmentvar; Input-headofthestack$0environementvariable$1=valuetoadd; Note-Win9xsystemsrequiresrebootFunctionAddToEnvVarExch$1;$1hasenvironmentvariablevalueExchExch$0;$0hasenvironmentvariablenameDetailPrint“Adding$1to$0“Push$2Push$3Push$4ReadEnvStr$2$0Push“$2;“Push“$1;“CallStrStrPop$3StrCmp$3““““AddToEnvVar_donePush“$2;“Push“$1\;“CallStrStrPop$3StrCmp$3““““AddToEnvVar_doneCallIsNTPop$2StrCmp$21AddToEnvVar_NT;NotonNTStrCpy$2$WINDIR2FileOpen$2“$2\autoexec.bat“aFileSeek$2-1ENDFileReadByte$2$3IntCmp$3260+2+2#DOSEOFFileSeek$2-1END#writeoverEOFFileWrite$2“$\r$\nSET$0=%$0%;$4$\r$\n“FileClose$2SetRebootFlagtrueGotoAddToEnvVar_doneAddToEnvVar_NT:ReadRegStr$2${WriteEnvStr_RegKey}$0StrCpy$3$21-1#copylastcharStrCmp$3“;“0+2#iflastchar==;StrCpy$2$2-1#removelastcharStrCmp$2““AddToEnvVar_NTdoItStrCpy$1“$2;$1“AddToEnvVar_NTdoIt:WriteRegExpandStr${WriteEnvStr_RegKey}$0$1SendMessage${WM_WININICHANGE} /TIMEOUT=5000AddToEnvVar_done:Pop$4Pop$3Pop$2Pop$0Pop$1FunctionEnd

${HWND_BROADCAST}“STR:Environment“;RemoveFromEnvVar-Removeagivenvaluefromaenvironmentvar; Input:headofthestackFunctionun.RemoveFromEnvVarExch$1;$1hasenvironmentvariablevalueExchExch$0;$0hasenvironmentvariablenameDetailPrint“Removing$1from$0“Push$2Push$3Push$4Push$5Push$6Push$7IntFmt$7“%c“26#DOSEOFCallun.IsNTPop$2StrCmp$21unRemoveFromEnvVar_NT;NotonNTStrCpy$2$WINDIR2FileOpen$2“$2\autoexec.bat“rGetTempFileName$5FileOpen$3$5wGetFullPathName/SHORT$1$1StrCpy$1“SET$0=%$0%;$1“GotounRemoveFromEnvVar_dosLoopunRemoveFromEnvVar_dosLoop:FileRead$2$4StrCpy$6$41-1#readlastcharStrCmp$6$70+2#ifDOSEOFStrCpy$4$4-1#removeDOSEOFsowecancompareStrCmp $4 unRemoveFromEnvVar_dosLoopRemoveLineStrCmp $4 unRemoveFromEnvVar_dosLoopRemoveLineStrCmp $4 unRemoveFromEnvVar_dosLoopRemoveLineStrCmp $4 ““unRemoveFromEnvVar_dosLoopEndFileWrite$3$4GotounRemoveFromEnvVar_dosLoopunRemoveFromEnvVar_dosLoopRemoveLine:SetRebootFlagtrueGotounRemoveFromEnvVar_dosLoopunRemoveFromEnvVar_dosLoopEnd:FileClose$3FileClose$2StrCpy$2$WINDIR2Delete“$2\autoexec.bat“CopyFiles/SILENT$5“$2\autoexec.bat“Delete$5GotounRemoveFromEnvVar_doneunRemoveFromEnvVar_NT:ReadRegStr$2${WriteEnvStr_RegKey}$0StrCpy$6$21-1#copylastcharStrCmp$6“;“+2#iflastchar!=;StrCpy$2“$2;“#append;Push$2Push“$1;“Callun.StrStr;Find`$1;`in$2Pop$3;posofourdirStrCmp$3““unRemoveFromEnvVar_done;else,itisinpath#$1-pathtoadd#$2-pathvarStrLen$4“$1;“StrLen$5$3StrCpy$6$2-$5#$6isnowthepartbeforethepathtoremoveStrCpy$7$3““$4#$7isnowthepartafterthepathtoremoveStrCpy$4$6$7StrCpy$6$41-1#copylastcharStrCmp$6“;“0+2#iflastchar==;StrCpy$4$4-1#removelastcharWriteRegExpandStr${WriteEnvStr_RegKey}$0$4;deleteregvalueifnullStrCmp$4““0+2#ifnulldeleteregDeleteRegValue${WriteEnvStr_RegKey}$0SendMessage${WM_WININICHANGE} /TIMEOUT=5000

${HWND_BROADCAST}“STR:Environment“unRemoveFromEnvVar_done:Pop$7Pop$6Pop$5Pop$4Pop$3Pop$2Pop$1Pop$0FunctionEnd!ifndefIsNT_KiCHiK!defineIsNT_KiCHiK############################################ UtilityFunctions ############################################;IsNT;noinput;output,topofthestack=1ifNTor0ifnot;;Usage:; CallIsNT; Pop$R0; ($R0atthispointis1or0)!macroIsNTunFunction${un}IsNTPush$0ReadRegStr“SOFTWARE\Microsoft\WindowsCurrentVersion

$0 HKLMNT\CurrentVersion“StrCmp$0““0IsNT_yes;wearenotNT.Pop$0Push0ReturnIsNT_yes:;NTPop$0Push1FunctionEnd!macroend!insertmacroIsNT““!insertmacroIsNT“un.“!endif;IsNT_KiCHiK;StrStr;input,topofstack=stringtosearchfor; topofstack-1=stringtosearchin;output,topofstack(replaceswiththeportionofthestringremaining);modifiesnoothervariables.;;Usage:; Push“thisisalongassstring“; Push“ass“; CallStrStr; Pop$R0; ($R0atthispointis“assstring“)!macroStrStrunFunction${un}StrStrExch$R1;st=haystack,old$R1,$R1=needleExch ;st=old$R1,haystackExch$R2;st=old$R1,old$R2,$R2=haystackPush$R3Push$R4Push$R5StrLen$R3$R1StrCpy$R40;$R1=needle;$R2=haystack;$R3=len(needle);$R4=cnt;$R5=tmploop:StrCpy$R5$R2$R3$R4StrCmp$R5$R1doneStrCmp$R5““doneIntOp$R4$R4+1Gotoloopdone:StrCpy$R1$R2““$R4Pop$R5Pop$R4Pop$R3Pop$R2Exch$R1FunctionEnd!macroend!insertmacroStrStr““!insertmacroStrStr“un.“!endif;_AddToPath_nshFunctionTrim;AddedbyPelacaExch$R1Push$R2Loop:StrCpy$R2“$R1“1-1StrCmp“$R2“““RTrimStrCmp“$R2““$\n“RTrimStrCmp“$R2““$\r“RTrimStrCmp“$R2““;“RTrimGoToDoneRTrim:StrCpy$R1“$R1“-1GotoLoopDone:Pop$R2Exch$R1FunctionEnd保存〕!ifndef_WriteEnvStr_nsh!define_WriteEnvStr_nsh!includeWinMessages.nsh!ifndefWriteEnvStr_RegKey!ifdefALL_USERS!defineWriteEnvStr_RegKey\”HKLM“SYSTEM\CurrentControlSet\Control\SessionManager\Environment“”!else!define WriteEnvStr_RegKey“Environment“”!endif!endif##WriteEnvStr-Writesanenvironmentvariable#Note:Win9xsystemsrequiresreboot##Example:

”HKCU#Push“HOMEDIR“#name#Push“C:\NewHomeDir\“#value#CallWriteEnvStr#FunctionWriteEnvStrExch$1;$1hasenvironmentvariablevalueExchExch$0;$0hasenvironmentvariablenamePush$2CallIsNTPop$2StrCmp$21WriteEnvStr_NT;NotonNTStrCpy$2$WINDIR2;Copydriveofwindows(c:)FileOpen$2“$2\autoexec.bat“aFileSeek$20ENDFileWrite$2“$\r$\nSET$0=$1$\r$\n“FileClose$2SetRebootFlagtrueGotoWriteEnvStr_doneWriteEnvStr_NT:WriteRegExpandStr${WriteEnvStr_RegKey}$0$1SendMessage${WM_WININICHANGE}\

${HWND_BROADCAST}0“STR:Environment“/TIMEOUT=5000WriteEnvStr_done:Pop$2Pop$0Pop$1FunctionEnd##un.DeleteEnvStr-Removesanenvironmentvariable#Note:Win9xsystemsrequiresreboot##Example:# Push“HOMEDIR“ #name# Callun.DeleteEnvStr#Functionun.DeleteEnvStrExch$0;$0nowhasthenameofthevariablePush$1Push$2Push$3Push$4Push$5Callun.IsNTPop$1StrCmp$11DeleteEnvStr_NT;NotonNTStrCpy$1$WINDIR2FileOpen$1“$1\autoexec.bat“rGetTempFileName$4FileOpen$2$4wStrCpy$0“SET$0=“SetRebootFlagtrueDeleteEnvStr_dosLoop:FileRead$1$3StrLen$5$0StrCpy$5$3$5StrCmp$5$0DeleteEnvStr_dosLoopStrCmp$5““DeleteEnvStr_dosLoopEndFileWrite$2$3GotoDeleteEnvStr_dosLoopDeleteEnvStr_dosLoopEnd:FileClose$2FileClose$1StrCpy$1$WINDIR2Delete“$1\autoexec.bat“CopyFiles/SILENT$4“$1\autoexec.bat“Delete$4GotoDeleteEnvStr_doneDeleteEnvStr_NT:DeleteRegValue${WriteEnvStr_RegKey}$0SendMessage${WM_WININICHANGE}\

${HWND_BROADCAST}0“STR:Environment“/TIMEOUT=5000DeleteEnvStr_done:Pop$5Pop$4Pop$3Pop$2Pop$1Pop$0FunctionEnd!ifndefIsNT_KiCHiK!defineIsNT_KiCHiK##[un.]IsNT-Pushes1ifrunningonNT,0ifnot##Example:# CallIsNT# Pop$0# StrCmp$01+3# MessageBoxMB_OK“NotrunningonNT!“# Goto+2# MessageBoxMB_OK“RunningonNT!“#!macroIsNTUNFunction${UN}IsNTPush$0ReadRegStr$0HKLM\“SOFTWARE\Microsoft\WindowsNT\CurrentVersion“CurrentVersionStrCmp$0““0IsNT_yes;wearenotNT.Pop$0Push0ReturnIsNT_yes:;NTPop$0Push1FunctionEnd!macroend!insertmacroIsNT““!insertmacroIsNT“un.“!endif;IsNT_KiCHiK!endif;_WriteEnvStr_nshJDevIns.nsi〔這個(gè)是主腳本,依靠于前兩個(gè)腳本,復(fù)制到編輯器HMNISEdit中,依據(jù)自己的具體狀況做相應(yīng)修改〕;ScriptgeneratedbytheHMNISEditScriptWizard.;HMNISEditWizardhelperdefines!definePRODUCT_NAME“AAA“!definePRODUCT_VERSION“2.0“!definePRODUCT_PUBLISHER“AAA科技股份有限公司“!define PRODUCT_UNINST_KEY“Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}“!definePRODUCT_UNINST_ROOT_KEY“HKLM“!define“NSIS:sTARTmENUdIR“SetCompressorlzma

PRODUCT_STARTMENU_REGVAL;MUI1.67compatible------!include“MUI.nsh“;RegisterEnvironmnetVariable!includeAddPath.nsh!includeWriteEnvStr.nsh;MUISettings!defineMUI_ABORTWARNING!define MUI_ICON“${NSISDIR}\Contrib\Graphics\Icons\orange-install.ico“!define MUI_UNICON“${NSISDIR}\Contrib\Graphics\Icons\orange-uninstall.ico“;Welcome!insertmacroMUI__WELCOME;許可協(xié)議頁(yè)面!insertmacroMUI__LICENSE“rights.txt“;Components!insertmacroMUI__COMPONENTS;Directory;!insertmacroMUI__DIRECTORY;StartmenuvarICONS_GROUP!defineMUI_STARTMENU_NODISABLE!defineMUI_STARTMENU_DEFAULTFOLDER“AAA信息治理系統(tǒng)“!define MUI_STARTMENU_REGISTRY_ROOT“${PRODUCT_UNINST_ROOT_KEY}“!define MUI_STARTMENU_REGISTRY_KEY“${PRODUCT_UNINST_KEY}“!defineMUI_STARTMENU_REGISTRY_VALUENAME“${PRODUCT_STARTMENU_REGVAL}“!insertmacro$ICONS_GROUP;Instfiles

MUI__STARTMENU Application!insertmacroMUI__INSTFILES;Finish;!define“$INSTDIR\tomcat6\bin\startup.bat“!insertmacroMUI__FINISH;Uninstallers

MUI_FINISH_RUN!insertmacroMUI_UN_INSTFILES;Languagefiles!insertmacroMUI_LANGUAGE“SimpChinese“;Reservefiles!insertmacroMUI_RESERVEFILE_INSTALLOPTIONS;SectionDescription;!insertmacroMUI_FUNCTION_DESCRIPTION_BEGIN;!insertmacro MUI_DESCRIPTION_TEXT “Tomcat6.0.35JDK6u18,MySql5.1.55必選項(xiàng)“; !insertmacro MUI_DESCRIPTION_TEXT ${SEC02}“AAA信息治理系統(tǒng)運(yùn)行環(huán)境,[必選]“; !insertmacro MUI_DESCRIPTION_TEXT “AAA信息治理系統(tǒng)網(wǎng)絡(luò)效勞,[必選]“; !insertmacro MUI_DESCRIPTION_TEXT ${SEC04}“AAA信息治理系統(tǒng)數(shù)據(jù)庫(kù),[必選]“;!insertmacroMUI_FUNCTION_DESCRIPTION_END;MUIend------Name“${PRODUCT_NAME}${PRODUCT_VERSION}“BRANDINGTEXT“AAA科技股份“OutFile“AAA-install.exe“;InstallDir“$PROGRAMFILES\application“InstallDir“D:\aaa“ShowInstDetailsshowShowUnInstDetailsshow;defineinstalltypeInstType完全“;installtypeend------;DefineforEnvironmentVariables!defineJAVA_HOME“$INSTDIR\jdk1618“!defineCATALINA_HOME“$INSTDIR\tomcat6“!defineMYSQL_HOME“$INSTDIR\mysql5“Section“JDK6u18“SEC02sectionin1sectioninROSetOutPath“$INSTDIR\jdk1618“SetOverwritetryFile/r“D:\webExe\jdk1618\*.*“SectionEndSection“Tomcat6“SEC03sectionin1sectioninROSetOutPath“$INSTDIR\tomcat6“SetOverwritetryFile/r“D:\webExe\tomcat6\*.*“SectionEndSection“MySQL5“SEC04sectionin1sectioninROSetOutPath“$INSTDIR\mysql5“SetOverwritetryFile/r“D:\webExe\mysql5\*.*“SectionEndSection-EnvironmentVariables;WriteRegExpandStr

HKLMManager\Environment““JAVA_HOME““${JAVA_HOME}“PushJAVA_HOMEPush”${JAVA_HOME}”CallWriteEnvStrPush”${JAVA_HOME}\bin”CallAddToPath;SetCATALINA_HOMEEnvironmentVariablePushCATALINA_HOMEPush”${CATALINA_HOME}”CallWriteEnvStrPush”${CATALINA_HOME}\bin”CallAddToPath;SetMYSQL_HOMEEnvironmentVariablePushMYSQL_HOMEPush”${MYSQL_HOME}”CallWriteEnvStrPush”${MYSQL_HOME}\bin”CallAddToPathSectionEnd;ApplicationStartMenuDirectorySection-AdditionalIconsSetOutPath$INSTDIR!insertmacroApplication

MUI_STARTMENU_WRITE_BEGINCreateDirectory“$SMPROGRAMS\$ICONS_GROUP“CreateShortCut“$SMPROGRAMS\$ICONS_GROUP\AAA.lnk““://localhost:8080/“CreateShortCut“$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk““$INSTDIR\uninst.exe“!insertmacroMUI_STARTMENU_WRITE_ENDSectionEnd;Section-PostWriteUninstaller“$INSTDIR\uninst.exe“WriteRegStr ${PRODUCT_UNINST_ROOT_KEY}“${PRODUCT_UNINST_KEY}““DisplayName““$(^Name)“WriteRegStr ${PRODUCT_UNINST_ROOT_KEY}“${PRODUCT_UNINST_KEY}““$INSTDIR\uninst.exe“

“UninstallString“WriteRegStr ${PRODUCT_UNINST_ROOT_KEY}“${PRODUCT_UNINST_KEY}““${PRODUCT_VERSION}“

“DisplayVersion“WriteRegStr ${PRODUCT_UNINST_ROOT_KEY}“${PRODUCT_UNINST_KEY}““${PRODUCT_PUBLISHER}“

“Publisher“SectionEndSection-ServiceCallInstallTomcatServiceCallInstallMySQLServiceCallStartServiceSectionEnd;InstallMysqlServiceFunctionInstallMySQLServiceExecWait “$INSTDIR\mysql5\bin\mysqldmysql5--defaults-file=$INSTDIR\mysql5\my.ini“FunctionEndFunctionInstallTomcatServiceSetOutPath“$INSTDIR\tomcat6\bin“ExecWait“service.batinstall“ExecWait“scconfigtomcat6start=auto“FunctionEnd

--installFunctionStartServiceExecWait“netstartmysql5“ExecWait“netstarttomcat6“FunctionEnd;StopMySQLServiceFunctionun.stopServiceExecWait“netstoptomcat6“ExecWait“netstopmysql5“functionend;DeleteMySQLServicef

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論