MoonPoint Support Logo

 




Advanced Search
February
Sun Mon Tue Wed Thu Fri Sat
24
2026
Months
Feb
Apr May Jun
Jul Aug Sep
Oct Nov Dec


Tue, Feb 24, 2026 4:06 pm

Installing Advanced Diary on a Linux system with Wine

I needed to install Advanced Diary on an Ubuntu Linux system. for someone who had been using the program for journaling on a Microsoft Windows system. I had previously installed Wine, a program that allows one to run Windows applications on Linux, macOS, and FreeBSD systems. I used AdvDiary.sh, which contains the following lines, to install Advanced Diary:

#!/usr/bin/env bash

set -e

if [ -z "$1" ]; then
  echo "Usage: $0 AdvancedDiarySetup.exe"
  exit 1
fi

INSTALLER="$(realpath "$1")"
PREFIX="$HOME/.wine-advdiary"

echo "Creating 32-bit Wine prefix..."
export WINEPREFIX="$PREFIX"
export WINEARCH=win32
winecfg -v win7 >/dev/null 2>&1 || true

echo "Installing required components (gdiplus, corefonts)..."
winetricks -q gdiplus corefonts

echo "Forcing native GDI+..."
cat > "$PREFIX/user.reg" <<'EOF'
[Software\\Wine\\DllOverrides]
"gdiplus"="native"
EOF

echo "Running Advanced Diary installer..."
wine "$INSTALLER"

echo
echo "✔ Installation complete"
echo "Run with:"
echo "WINEPREFIX=$PREFIX wine \"$PREFIX/drive_c/Program Files/Advanced Diary/Diary.exe\""

To run it, you need to assign "execute" permission to the file, which can be done in a Terminal window with chmod + x filename or chmod a+x filename to make a file executable by all users or chmod u+x filename to make it executable by just the owner of the file, i.e., the user.

alice@Wonderland:~/Downloads$ chmod u+x install-advanced-diary.sh 
alice@Wonderland:~/Downloads$ 

When I ran the shell script .sh file, I realized I hadn't installed Winetricks beforehand, so I installed it with sudo apt install winetricks after running the script. I then reran the installation script for Advanced Diary. The installation completed successfully — I selected the option to have the program opened automatically at the conclusion of the installation — and it appeared to open normally (I had to press Enter in the terminal window to return to the shell prompt).

[ More Info ]

[/os/unix/linux/wine] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo