Skip to content

Installing Visual FoxPro 9.0 on Wine

Host Packages

Add the for FoxPro 9.0 needed 32-bit architecture.

sudo dpkg --add-architecture i386

Update the APT database to include also the i386 packages.

sudo apt-get update

Install the now available Linux packages.

sudo apt-get --yes install wine wine32:i386 winetricks 

Configuration

Configure Wine and create the ~/.wine-vfp directory as a regular user.

Export the needed environment variables for a bash shell so there is no need to set them for each command.

export WINEARCH=win32 WINEPREFIX="${HOME}/.wine-vfp"

Configure the Wine prefix directory and configure it for "Windows NT 3.51" needed to install FoxPro 9.0.

Not sure it this is really needed since one of the winetricks modules sets this vallue to win7.

winecfg /v nt351

Install some modules needed for the application and setup.

winetricks --unattended vcrun6 vcrun2005 msxml4 mdac28 ole32 oleaut32 ie8 wsh57 itss

Not shure about installing: vcrun2008, vcrun2010 and msxml3

Application

Get the CD or content and run the setup.exe in the Wine environment.

WINEARCH=win32 WINEPREFIX="${HOME}/.wine-vfp" wine setup.exe

Some application keys

P2PHY-RYG9Y-V4F27-4P4V7-HC9KV
R8HVY-JDVR6-7Y8JM-JQ4QJ-46V3P
JY8CP-399TJ-V4RK3-4DBCM-GJTDB
MJK97-63JVQ-KC7XH-GWQ8J-GDFP9
JKKHT-KYJKK-2G4RJ-TQH39-83R7W

Service Pack 2

Install the service pack SP2.

Download the servicepack from Microsoft here
GitHub repository VFP9SP2Hotfix3 having the service pack.

To quietly execute the servicepack add option /q.

WINEARCH=win32 WINEPREFIX="${HOME}/.wine-vfp" wine VFP9_sp2.exe /q