日本好好热aⅴ|国产99视频精品免费观看|日本成人aV在线|久热香蕉国产在线

  • <cite id="ikgdy"><table id="ikgdy"></table></cite>
    1. 西西軟件園多重安全檢測下載網(wǎng)站、值得信賴的軟件下載站!
      軟件
      軟件
      文章
      搜索

      首頁西西教程軟件使用 → AIR程序安裝文件及安裝-.air后綴名的程序

      AIR程序安裝文件及安裝-.air后綴名的程序

      相關(guān)軟件相關(guān)文章發(fā)表評論 來源:本站整理時間:2011/1/13 10:50:53字體大小:A-A+

      作者:佚名點(diǎn)擊:2155次評論:0次標(biāo)簽: AIR

      • 類型:數(shù)據(jù)恢復(fù)大。416KB語言:中文 評分:2.5
      • 標(biāo)簽:
      立即下載
       雙擊xxxx.air文件后AIR程序會安裝,但是實(shí)際上是怎么回事呢,是與命令行執(zhí)行
      "Adobe AIR Application Installer.exe" absolutePathToYourAIRApp/xxxx.air
      是相同的效果。 "Adobe AIR Application Installer.exe"為什么要用雙引號括起來呢,是因?yàn)閃indows command propmt里打命令名中有空格,所以必須要用雙引號括起來。

      這個命令還有另外兩個參數(shù) silent 和 uninstall:

      -silent 用法
      "Adobe AIR Application Installer.exe" -silent -logToStdout -eulaAccepted -location "C:\Program Files\xxxxxxx" xxxxxxxx.air
      silent參數(shù)就是靜默安裝了,就是說不彈出安裝對話框,悄悄地一步就安裝完了。
      logToStdout參數(shù)實(shí)際使用不需要,是把安裝過程中的信息打到標(biāo)準(zhǔn)輸出終端上,就是命令行上。
      eulaAccepted參數(shù)中EULA是End User Licese Agreement,就是同意用戶協(xié)議了,我絕對是同意的,可是沒加這個參數(shù)也沒見什么動靜
      location參數(shù)及后面指定的路徑當(dāng)然是安裝路徑了
      xxxxxxxx.air當(dāng)然是你的AIR程序安裝文件了

      -uninstall 用法 “Adobe AIR Application Installer.exe” -uninstall appInstaller.air xxxxx
      uninstall后應(yīng)該有兩個參數(shù),第一個可能是air安裝文件,第二個不知道寫什么。參數(shù)少會報not enough arguments,這樣寫確實(shí)會執(zhí)行uninstall,因?yàn)閳箦e說”uninstall時發(fā)生錯誤”

      雖然我不知道uninstall參數(shù)的用法,但是想到另一種卸載方法。
      如果你安裝了一個air程序,必定會在windows控制面板的添加和刪除程序里有這個程序,你點(diǎn)擊刪除會卸載,那么點(diǎn)擊刪除后發(fā)生了什么事呢,我搜索注冊表發(fā)現(xiàn)了它調(diào)用的命令。
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\YourAIRAppName
      找到UninstallString項(xiàng),其中的值就是刪除命令:
      MsiExec.exe /X{E824A28B-342F-B1C0-D90D-7EB4C668C083}
      E824A28B-342F-B1C0-D90D-7EB4C668C083當(dāng)然就是你程序的ID了。
      MsiExec.exe是windows installer。

      好了,現(xiàn)在安裝和卸載都搞定了,哈哈哈。

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      說說AIR Runtime,在安裝完AIR運(yùn)行時環(huán)境后,在注冊表HKEY_CLASSES_ROOT中搜索air,可以看到鍵值,分別是:

      Content Type: application/vnd.adobe.air-application-installer-package+zip(在服務(wù)器端向客戶端提供在線無縫安裝時需要在web server里注冊的mime content type就是這個了)
      HKEY_CLASSES_ROOT\.air\OpenWithProgids AIR.InstallerPackage
      搜索AIR.InstallerPackage可以找到一些鍵值,包括AIR Runtime路徑的信息等。

      在資源管理器中點(diǎn)擊工具--文件夾選項(xiàng)--文件類型,在已注冊的文件類型中找到.air擴(kuò)展名,可以看到打開方式是Adobe AIR Application Installer,與注冊表中的信息相符。

      由注冊表的信息可以找到AIR Runtime安裝在C:\Program Files\Common Files\Adobe AIR,其中可以找到用來安裝.air程序的C:\Program Files\Common Files\Adobe AIR\Versions\1.0\Adobe AIR Application Installer.exe。
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      為什么要搞清楚AIR程序的安裝過程呢,因?yàn)橛袝r候我們想與其它程序捆綁安裝,做成一個安裝文件,所以搞清楚了怎么調(diào)用才行。

      目前如果把AIR程序安裝后的swf,exe等等所有文件拷出來,然后以zip格式解壓縮到客戶端,不經(jīng)過Adobe AIR Application Installer.exe安裝,也是可以運(yùn)行的。只有在AIR1.1運(yùn)行程序時會彈一個error的對話框,不過完全不影響程序的正常運(yùn)行,AIR1.5不會彈,不過這樣做總是不如用airappinstaller安裝好。

      偶爾搜到一篇Adobe AIR(TM) Administrator's Guide的pdf,里面描述的很好,啥功能都有,可就是不說怎么用,也不說去哪找資料,氣憤ing~

      > Enterprise deployment
      > IT administrators can install the Adobe AIR runtime and AIR applications silently using standard desktop
      > deployment tools. IT administrators can deploy the following:
      > * Silently install the Adobe AIR runtime using tools such as Microsoft SMS, IBM Tivoli, or any deployment tool
      > that allows silent installations that use a bootstrapper
      > * Silently install the AIR application using the same tools used to deploy the runtime
      > IT admins are able to control the following as part of deployment:
      > * Suppress the display of the Adobe AIR end user license agreement
      > Important: Only IT administrators can suppress the Adobe AIR end user license agreement display and only
      > after accepting the terms and conditions on the organization's behalf.
      > * Specify the application installation location
      > * Specify the whether the application's program menu or shortcut should appear on end users desktop
      > Organizations need to obtain redistribution agreement from Adobe. For more information, see:
      > * http://www.adobe.com/products/air/runtime_distribution1.html
      > * http://www.adobe.com/products/air/runtime_distribution_faq.html

        相關(guān)評論

        閱讀本文后您有什么感想? 已有人給出評價!

        • 8 喜歡喜歡
        • 3 頂
        • 1 難過難過
        • 5 囧
        • 3 圍觀圍觀
        • 2 無聊無聊

        熱門評論

        最新評論

        發(fā)表評論 查看所有評論(0)

        昵稱:
        表情: 高興 可 汗 我不要 害羞 好 下下下 送花 屎 親親
        字?jǐn)?shù): 0/500 (您的評論需要經(jīng)過審核才能顯示)