Copyright Notice

Protected by Copyscape Duplicate Content Penalty Protection

Saturday, June 4, 2011

Blog has moved to ----> mgw.dumatics.com


This post can now be read at HERE



Open Workbench on Linux Mint using Wine
What is Open Workbench?

Open Workbench is a Project Planning Software comparable to Microsoft Project. There are mixed views on whether it is truly open source or not but as it is considered a very good alternative for Microsoft Project and it is free to download, it is something I as a Project Manager would want to know about. After all some of my clients are going to be using this. :)

Now then, as of writing this article Open Workbench is not available from the well publicised sitewww.openworkbench.org which seems to be down. Instead it is available for download fromhttp://www.itdesign.de/en/products-solutions/open-workbench.html

As you will find that the installer is an exe and the product is made for Windows platform and requires Java Runtime Environment, we will need to either use Windows in virtualbox or Wine. I am going to cover below the steps for installing the software on Linux using Wine.


Steps to install Open Workbench and JRE on Wine V1.2.2 in Linux Mint:

1. Install JRE in wine
2. Install Open Workbench in wine
3. Configure wine to play well with Open Workbench
4. Configure icon to launch Open Workbench

What do we need?

1. We will need to download the installer exe file from http://www.itdesign.de/en/products-solutions/open-workbench.html
2. As the product requires Java Runtime Environment, we will need to download the JRE for windows.
3. We will need access to system32 folder of a WindowsXP machine or in Virtualbox.

Step 1: Install JRE in wine

You can download the JRE file from http://www.oracle.com/technetwork/java/javase/downloads/index.html . Remember, we only need JRE not JDK so click the download button in second column.

This will open another page for you to select which JRE package you want to download. 






Click on the radio-button to accept license agreement and then select Windows x86 Offline for download.

(I am assuming that your hardware is 32 bit, if not please select Windows x64 but it will not have the offline version and I have no way of checking if it will work or not; so please leave a comment either way as it will help others.)



a)      Copy the downloaded (jre-6u25-windows-i586.exe) file into .wine/drive_C/Program Files. You can do this using GUI on Linux Mint using steps below:

  • Goto MENU-ALL APPLICATIONS-WINE and click on BROWSE C: DRIVE
  • Click on Program Files folder.
  • Paste the copied exe file here.


b)      Right click on the exe file and select "open with wine windows program loader".
c)      Follow the installation wizard.

Once completed move on to next step.





Step 2: Install Open Workbench in wine

a)      Download the Open Workbench installer file(Open_Workbench_Setup_1.1.6.exe) and copy it into .wine/drive_C/Program Files.  

[TIP: You can use Step 1 bullet "a" to reach drive_c and then click on windows folder and then on system32 folder.]

b)      Right click on the exe file and select "open with wine windows program loader". 

[TIP: You can use Step 1 bullet "b" to reach drive_c and then click on windows folder and then on system32 folder.]


c)      Follow the installation wizard.

Step 3: Configure wine to play well with Open Workbench

Due to some bug identified in Wine V1.2 the odbc32.dll file does not work and gives the error err:module:attach_process_dlls “odbc32.dll” failed to initialize, aborting if you try to run file from Terminal. 

The following workaround is one suggested on Launchpad (https://bugs.launchpad.net/ubuntu/+source/wine1.2/+bug/572393) and does solve the problem

I have just tried to make it easier to follow the instructions by providing screenshots and explaining each step.

1. On the WindowsXP machine / virtualbox goto following location  C:\WINDOWS\system32

2. Now copy odbc32.dll and odbcint.dll files onto the Linux machine at this location - .wine/drive_c/windows/system32 . 

[TIP: You can use Step 1 bullet "a" to reach drive_c and then click on windows folder and then on system32 folder.]


3. Now goto wine configuration (On Linux Mint: MENU-ALL APPLICATIONS-WINE-CONFIGURE WINE)

4. Click on Libraries tab.
5. From the dropdown select odbc32 and click add.
6. Click OK

Step 4: Configure Open Workbench icon to launch the application

1. Open terminal (MENU - TERMINAL)


2. Type: wine ~/.wine/drive_c/Program\ Files/Open\ Workbench/bin/npWBench.exe


3. Once Open Workbench is opened we are sure the command works. Select this command and right click and select copy. 
[TIP: You can also press Ctrl+Shift+C to copy the selected text from terminal]


4. Close "Open Workbench" and goto icon in  MENU-ALL APPLICATIONS-WINE.


5. Right click the "Open Workbench" icon and click on "Edit Properties".

6. In Command click on browse and navigate to following location: .wine/drive_c/Program Files/Open Workbench/bin/ and select the file npWBench.exe.


7. Now click "OK"

This is it. You are ready to use Open workbench on Linux using wine.

-Ankit.

No comments:

Post a Comment

Search This Blog