Ubuntu 安裝STAR UML(OLE error)

ubuntu 上的UML工具實在是用不慣, 還是STAR UML 好用一點。 所以摸索了下安裝步驟如下

1. Install wine "http://wiki.ubuntu.org.cn/Wine"
     sudo add-apt-repository ppa:ubuntu-wine/ppa
     sudo apt-get update
     sudo apt-get install wine

2.Download winetricks
    wget http://www.kegel.com/wine/winetricks
    sudo chmod +x winetricks
    $./winetricks
    $./winetricks
    $./winetricks mfc42


3. Install the startUML  

     3.1 Copy the "staruml-5.0-with-cm.exe"  to wine C:/UML
          root@:~# wine staruml-5.0-with-cm.exe

         have the Pgmr101.ocx error

        root@:~# wine cmd
        Z:/opt>C:
        C:/>cd Program Files
        C:/Program Files/StarUML>regsvr32 Pgmr101.ocx
        Successfully registered DLL Pgmr101.ocx


4. Install the startUML  again
       root~# wine staruml-5.0-with-cm.exe

5. If have error "OLE error 80004001"
       Install related soft
       sh winetricks mfc42
       sh winetricks -v vcrun6
       sh winetricks -v msxml4
發佈了4 篇原創文章 · 獲贊 4 · 訪問量 2萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章