Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

Installation error on windows 10

shaibaz.dhanse@gmail.com's profile image shaibaz.dhanse@gmail.com posted 1 month ago in Installation Permalink

Hello,

While installing application HeidiSql 10.3 in system context on windows 10. installation is getting failed.

2020-02-27 13:52:36.323 Log opened. (Time zone: UTC+05:30) 2020-02-27 13:52:36.323 Setup version: Inno Setup version 6.0.2 (u) 2020-02-27 13:52:36.323 Original Setup EXE: C:\Temp\PKG\HeidiSQL_10.3.0.5771_Setup.exe 2020-02-27 13:52:36.323 Setup command line: /SL5="$30176,20303153,839168,C:\Temp\PKG\HeidiSQL_10.3.0.5771_Setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /MERGETASKS="!desktopicon,fileassoc" /LOG="C:\temp\Install.log" 2020-02-27 13:52:36.323 Windows version: 10.0.17763 (NT platform: Yes) 2020-02-27 13:52:36.323 64-bit Windows: Yes 2020-02-27 13:52:36.323 Processor architecture: x64 2020-02-27 13:52:36.323 User privileges: Administrative 2020-02-27 13:52:36.323 Administrative install mode: Yes 2020-02-27 13:52:36.339 Install mode root key: HKEY_LOCAL_MACHINE 2020-02-27 13:52:36.339 64-bit install mode: Yes 2020-02-27 13:52:36.339 Created temporary directory: C:\WINDOWS\TEMP\is-G11DH.tmp 2020-02-27 13:52:36.620 Warning: SHGetFolderPath failed with code 0x80070002 on folder 0x8005 2020-02-27 13:52:36.620 Exception message: 2020-02-27 13:52:36.620 Defaulting to OK for suppressed message box (OK): Internal error: Failed to expand shell folder constant "userdocs" 2020-02-27 13:52:36.620 Deinitializing Setup. 2020-02-27 13:52:36.620 Log closed.

1 attachment(s):
  • Error
ansgar's profile image ansgar posted 1 month ago Permalink

Could you try to install in your own user's context, not in system contect? Or as administrator.

shaibaz.dhanse@gmail.com's profile image shaibaz.dhanse@gmail.com posted 1 month ago Permalink

Application "HeidiSQL_10.3.0.5771_Setup.exe" installs successfully in Administrator context and user context. But application installation fails with error as shown above in system context.

After some research, I found that same issue was observed in winscp application.

its something related to Warning: SHGetFolderPath failed with code 0x80070002 on folder 0x8005 2020-02-27 its something old method of coding. could you please confirm.

Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.
shaibaz.dhanse@gmail.com's profile image shaibaz.dhanse@gmail.com posted 1 month ago Permalink

After some research, I found that same issue was observed in winscp application. refer below link. winscp.net/forum/viewtopic.php?p=68126#68126.

shaibaz.dhanse@gmail.com's profile image shaibaz.dhanse@gmail.com posted 1 month ago Permalink

refer below link. https://winscp.net/forum/viewtopic.php?p=68126#68126.

ansgar's profile image ansgar posted 1 month ago Permalink

HeidiSQL uses InnoSetup for the installer. We could post that error in their forum. But to be honest, I don't find it worth to do that, as you should always install in a user context.

Why did you use the system context instead? Never heard that before.

shaibaz.dhanse@gmail.com's profile image shaibaz.dhanse@gmail.com posted 1 month ago Permalink

Since we are going to deploy HeidiSQL through SCCM, which runs in system context. So we are testing in system context to match the behavior.

ansgar's profile image ansgar posted 1 month ago Permalink

In that case I can't help you much I'm afraid. Probably also important to note that all settings are stored in the user context as well, including some which are set by the installer.

shaibaz.dhanse@gmail.com's profile image shaibaz.dhanse@gmail.com posted 1 month ago Permalink

You mean to say HeidiSQL application is not feasible to deploy through SCCM, as SCCM installation runs in system context.

helge's profile image helge posted 2 weeks ago Permalink

I have the same problem here, on Windows 10 Pro. I just download and start the installer, then this message shows up:

Intern feil Failed to expand shell folder constant "userdocs"

I'm an administrator on my home computer, and it doesn't matter if i just doubleclick the installer or select "run as administrator". My current version is 9.5.0.5196, which I'm quite happy with. But I've seen a few things in the newer versions that I think I'll love.

Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.
ansgar's profile image ansgar posted 2 weeks ago Permalink

Then you seem to lack the "My Documents" folder in your user folder. Is that correct?

ansgar's profile image ansgar posted 2 weeks ago Permalink

See also issue #811

shaibaz.dhanse@gmail.com's profile image shaibaz.dhanse@gmail.com posted 2 weeks ago Permalink

Application "HeidiSQL_10.3.0.5771_Setup.exe" installs successfully in Administrator context and user context. But application installation fails with error "Intern feil Failed to expand shell folder constant "userdocs" in system context. After Troubleshooting if found that, its something related to Warning: SHGetFolderPath failed with code 0x80070002 on folder 0x8005 2020-02-27. its something old method of coding.

Same issue was observed in winscp application also. developer must update the coding method.

Please login to leave a reply, or register at first.