Install Password Safe on Debian Stretch

Questions about Wine on Linux
Locked
rolfie
Newbie
Newbie
Posts: 2
Joined: Sun Mar 26, 2017 2:00 pm

Install Password Safe on Debian Stretch

Post by rolfie »

Hello,

got a PC running Stretch amd64, i386 as additional architecture, both wine32 and 64 are installed from the Debian repository (version 1.8.6-5). All in German.

I tried to install Password Safe 3.41 (latest version). Works fine until creating the menu entries and links.

Code: Select all

Fehler beim Erstellen der Verknüpfung: C:\users\rolf\Start Menu\Programs\StartUp\Password Safe.lnk
Erstelle Verzeichnis: C:\users\rolf\Start Menu\Programs\Password Safe
Fehler beim Erstellen der Verknüpfung: C:\users\rolf\Start Menu\Programs\Password Safe\Password Safe.lnk
Fehler beim Erstellen der Verknüpfung: C:\users\rolf\Start Menu\Programs\Password Safe\Password Safe Help.lnk
Erstelle Verzeichnis: C:\users\rolf\Start Menu\Programs\Password Safe
Fehler beim Erstellen der Verknüpfung: C:\users\rolf\Start Menu\Programs\Password Safe\Password Safe Uninstall.lnk
Fehler beim Erstellen der Verknüpfung: C:\users\rolf\Desktop\Password Safe.lnk
When exiting the program the following errors are shown in the console:

Code: Select all

err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x1
err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x1
err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x1
err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x1
err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x1
Tried different older versions including an XP version, all show the same issue.

I can copy the desktop link and the icons from a working Wheezy (wine 1.4.1) to the Stretch machine, and I can get the program to work.

What is wrong?

Thanks, Rolf
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Install Password Safe on Debian Stretch

Post by Bob Wya »

rolfie wrote:...
I tried to install Password Safe 3.41 (latest version). Works fine until creating the menu entries and links.

Code: Select all

Fehler beim Erstellen der Verknüpfung: C:\users\rolf\Start Menu\Programs\StartUp\Password Safe.lnk
Erstelle Verzeichnis: C:\users\rolf\Start Menu\Programs\Password Safe
Fehler beim Erstellen der Verknüpfung: C:\users\rolf\Start Menu\Programs\Password Safe\Password Safe.lnk
Fehler beim Erstellen der Verknüpfung: C:\users\rolf\Start Menu\Programs\Password Safe\Password Safe Help.lnk
Erstelle Verzeichnis: C:\users\rolf\Start Menu\Programs\Password Safe
Fehler beim Erstellen der Verknüpfung: C:\users\rolf\Start Menu\Programs\Password Safe\Password Safe Uninstall.lnk
Fehler beim Erstellen der Verknüpfung: C:\users\rolf\Desktop\Password Safe.lnk
...
Probably a permissions issue in your (native) Linux user's home directory or your WINEPREFIX...

Make sure your winetricks script is up-to-date... See WineHQ: Winetricks .

Then try:

Code: Select all

winetricks sandbox
Before installation. That will remove the symbolic links from your WINEPREFIX to (native) Linux user's (rolf) home directory.
I generally do that for every WINEPREFIX I set up - to stop my user's home directory being spammed by Windows configuration directories!

Just be aware that the command will remove the symbolic link to your (native Linux) root directory (/) as well... So may wish to add this back:

Code: Select all

cd "${WINEPREFIX:-${HOME}/.wine}/dosdevices"
ln -s / 'z:'
Without that link - you cannot easily access files and directories outside of the confines of your WINEPREFIX...

Fix permissions for your WINEPREFIX (run as your standard Linux user):

Code: Select all

GID=$(id -g ${USER}) chown ${USER}:${GID} -R "${WINEPREFIX:-${HOME}/.wine}"
Bob
rolfie
Newbie
Newbie
Posts: 2
Joined: Sun Mar 26, 2017 2:00 pm

Re: Install Password Safe on Debian Stretch

Post by rolfie »

Before removing links, I tried to set the Windows version from XP to W7 with winecfg, to see if this makes any difference. During this I stumbled across an access problem to the drives:

Code: Select all

err:winecfg:open_mountmgr failed to open mount manager err 2
Looking in the web for a solution showed several threads in the Ubuntu forums and bugs reports. They point to an issue with the 64bit Linux and the wine32 configuration.
What fixed the issue for we was:

Code: Select all

wineboot --update
wine notepad
Afterwards a re-installation of PWSafe worked fine.

Looks like the default wine installation is sort of incomplete per default.

Best regards, rolfie
Locked