Menu

#495 Failed to expand shell folder constant "userdesktop"

v1.0_(example)
closed
nobody
None
1
2018-02-26
2018-02-20
Glenn
No

We're getting the following error when installing KeePass 2.3.x:

Internal error: Failed to expand shell folder constant "userdesktop"

The first installation always fails. The second time, however, it works.

It could be that it doesn't like being installed using the SYSTEM account (as ConfigMgr does), or perhaps it doesn't like Folder Redirection, which is commonly -used in enterprises.

Probably an issue innosetup as other people have reported it for different apps:
https://winscp.net/forum/viewtopic.php?t=23278

Log file as follows:

2018-02-20 12:06:57.206 Log opened. (Time zone: UTC+11:00)
2018-02-20 12:06:57.206 Setup version: Inno Setup version 5.5.9 (u)
2018-02-20 12:06:57.206 Original Setup EXE: C:\Windows\ccmcache\3n\KeePassSetup.exe
2018-02-20 12:06:57.206 Setup command line: /SL5="$302C8,2598621,121344,C:\Windows\ccmcache\3n\KeePassSetup.exe" /VERYSILENT /DIR="C:\Program Files (x86)\KeePass Password Safe" /LOG="C:\Windows\CCM\LOGS\Install_KeePassPasswordSafe_2.34.log"
2018-02-20 12:06:57.206 Windows version: 10.0.16299 (NT platform: Yes)
2018-02-20 12:06:57.206 64-bit Windows: Yes
2018-02-20 12:06:57.206 Processor architecture: x64
2018-02-20 12:06:57.206 User privileges: Administrative
2018-02-20 12:06:57.209 64-bit install mode: No
2018-02-20 12:06:57.228 Created temporary directory: C:\TEMP\is-MBQHB.tmp
2018-02-20 12:06:57.517 Warning: SHGetFolderPath failed with code 0x80070002 on folder 0x8010
2018-02-20 12:06:57.517 Exception message:
2018-02-20 12:06:57.517 Message box (OK):
Internal error: Failed to expand shell folder constant "userdesktop"

Discussion

  • Rony Shapiro

    Rony Shapiro - 2018-02-20
    • status: open --> closed
     
  • Rony Shapiro

    Rony Shapiro - 2018-02-20

    Sorry, you posted to the wrong list. PasswordSafe is unrelated to KeePass

     
  • Glenn Turner

    Glenn Turner - 2018-02-26

    Apologies. I have to support KeePass at work, but use PasswordSafe so much at home that I had a bit of a brain freeze. :(

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.