PeopleTools Client with Wine

One of the shortcommings to using Ubuntu Linux as my main OS is not being able to run Application Designer. Using Wine, I am now able to run it on my laptop. If you were to translate the Ubuntu specific commands over to Oracle Linux and install an XWindows desktop on the PUM, you could get App Designer running there, too.

Installing Wine

I installed Wine with these commands.

sudo apt-get install --install-recommends wine
sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
wget https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key
sudo apt update && sudo apt install winehq-stable

This installed version 3.0.1 for me:

$ wine --version
wine-3.0.1

Next, I installed Winetricks to help with installing dependencies:

wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -P ~/bin/
chmod +x ~/bin/winetricks

Preparing the WinePrefix

I created the wineprefix to install into:

export WINEPREFIX="$HOME/.local/share/wineprefixes/peopletools"
mkdir -p $HOME/.local/share/wineprefixes
winecfg

The first question I got was: “Wine could not find a wine-mono package which is needed for .NET applications to work correctly.” I choose the “Install” button. Next, I got: “Wine could not find a Gecko package…”. Again, I choose “Install” (I had to do that twice for some reason).

That opened the Wine Configuration dialog when it was done. I didn’t make any changes and just clicked okay.

Finally, I used winetricks to install some libraries:

winetricks vcrun2005 dotnet40 vcrun2015

Installing App Designer

I browsed to the PUM share in my file browser. For me that was:
smb://192.168.56.101/tools_client/

Then, I copied the client-856 and oracle-client folders to by Downloads directory.

I was going to try to run SetupPTClient.bat, but that is a little heavier and requires Python. I just extracted the PT client archive.

cd ~/Downloads/client-856/archives
mkdir ~/bin/pt-toolsclient8.56.07
tar -xzvf pt-toolsclient8.56.07.tgz -C ~/bin/pt-toolsclient8.56.07/
cd ~/bin/pt-toolsclient8.56.07/bin/client/winx86
wine pscfg

I just did the workstation install and configured the login information. After that, it started fine.

wine pside

Oracle DB Client

cd ~/Downloads/oracle-client/archives/
mkdir $WINEPREFIX/drive_c/oracle
tar -xzvf pt-oracleclient-12.1.0.2.tgz -C $WINEPREFIX/drive_c/oracle

Then, I had to update some registry keys. I could open the registry editor with:

wine regedit

I created a new key:
HKEY_LOCAL_MACHINE\Software\Oracle

Then, I added c:\oracle\bin to the path in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment\PATH

Finally, I added a new value, HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\Environment\TNS_ADMIN, and set it to c:\oracle\network\admin

Resources

3 thoughts on “PeopleTools Client with Wine

  1. Thanks, it works!

    One addition was I also had to add an ORACLE_HOME Registry entry pointing to C:/oracle.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.