I am trying to install WinSCP version 5.1.7 on a Windows 7 Enterprise HP laptop. I have selected the default installation settings and receive the following error: Internal error: Failed to expand shell folder constant "userdesktop". My Desktop, Favorites and Personal/Documents directories are on a network drive. I have updated the registry entries, but I still receive the error.
Here is the log file from my last install attempt:
2013-09-16 11:11:18.846 Log opened. (Time zone: UTC-07:00)
2013-09-16 11:11:18.846 Setup version: Inno Setup version 5.4.3 (u)
2013-09-16 11:11:18.846 Original Setup EXE: C:\Users\xxxxx\Downloads\winscp517setup.exe
2013-09-16 11:11:18.846 Setup command line: /SL5="$C093E,4520388,140800,C:\Users\xxxxx\Downloads\winscp517setup.exe" /SPAWNWND=$A06B2 /NOTIFYWND=$1405BA /log="winscpinst.log" /saveinf="instsave.txt"
2013-09-16 11:11:18.846 Windows version: 6.1.7601 SP1 (NT platform: Yes)
2013-09-16 11:11:18.846 64-bit Windows: Yes
2013-09-16 11:11:18.846 Processor architecture: x64
2013-09-16 11:11:18.846 User privileges: Administrative
2013-09-16 11:11:20.221 64-bit install mode: No
2013-09-16 11:11:20.221 Created temporary directory: C:\Users\xxxxx\AppData\Local\Temp\is-GS4TG.tmp
2013-09-16 11:11:28.771 License accepted
2013-09-16 11:11:35.992 Starting the installation process.
2013-09-16 11:11:35.992 Warning: SHGetFolderPath failed with code 0x80070003 on folder 0x8010
2013-09-16 11:11:35.992 Fatal exception during installation process (Exception):
Internal error: Failed to expand shell folder constant "userdesktop"
2013-09-16 11:11:35.992 Exception message:
2013-09-16 11:11:35.992 Message box (OK):
Internal error: Failed to expand shell folder constant "userdesktop"
2013-09-16 11:11:38.835 User chose OK.
2013-09-16 11:11:38.835 Message box (OK):
Setup was not completed.
Please correct the problem and run Setup again.
2013-09-16 11:11:40.641 User chose OK.
2013-09-16 11:11:40.641 Rolling back changes.
2013-09-16 11:11:40.641 Starting the uninstallation process.
2013-09-16 11:11:40.641 Uninstallation process succeeded.
2013-09-16 11:11:42.149 Deinitializing Setup.
2013-09-16 11:11:42.149 Preparing intallation report
2013-09-16 11:11:42.149 Sending installation report: <invalid hyperlink removed by admin>
2013-09-16 11:11:42.492 Installation report send result: 200 OK
2013-09-16 11:11:42.507 Log closed.