Change:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Please search existing issues to avoid creating duplicates. --<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: --<!-- Use Help Report Issue to prefill these. --- VSCode Version: 1.48.0-insider (user setup) OS Version: Windows_NT x64 10.0. Commit: Date: 2020-08-11T23:21:50.282Z Electron: 7.3.2 Chrome: 78.0.3904.130 12.8.1 V8: 7.8.279.23-electron.0 Steps to Reproduce: and run "VSCodeUserSetup-x64-1.48.0-" ! I'm not sure if it's relevant, but I had VS stable installed prior to the Insiders install. Also, I tried to remove stable and reinstall Insiders, which resulted in the same error. It seems like everything is functioning properly, but there's no shortcut on the desktop. <!-- Launch with to check. --Does this issue occur when all extensions are disabled?: Yes
Windows 8.1 64 Same is happening with me, but with the stable installer (VSCodeUserSetup-x64-).
I tried to uninstall and install again, but checked only the PATH option. All other options was left unchecked. No error happend. I don't know if was coincidence or that others checked options were causing the error.
I believe "Create desktop shortcut" option may be producing this error.
Same happened installing Visual Studio Code. The thing is it happened with a pretty old Windows (not that that old but quite) but it still let me download it. What does this mean then? I had no problem installing it in another more modern computer but I have no idea what is wrong here...
I also encountered the same problem Win10 2004 (.388)
me too !
Same exact error, though I installed it on another PC in my network without issue- same version of Windows, same options checked.
Same exact error, also happened during creation of the shortcut.
Having the same issue. Been using it for over an year but never any issue like this. It got updated yesterday when I was working and after that when I tried to use live server, the chrome tab keeps on loading and CPU usage gets above 90% for chrome. Strange. Up till now, I have tried re-installation (thats when "ipersistfile save failed code 0x80070005" error occured), installing previous version, window update. Nothing seems to work and I think live server issue is happening because of it. Any idea? Update: So I tried a suggestion to leave the icon option on desktop unchecked and the error did not occur this time. Somethings wrong with my PC or its a bug? Also, live server issue remains same. Can someone check if they are facing the same issue?
create dekstop shortcut made this error ??
I have the same issue on Windows 7 - and seems like the checked "install link on the desktop" causes the problem, as at the end of installation VS saying "installed fine" and it's running OK.
Users seeing this with vscode insiders when did this start happening? Users seeing this with vscode stable, do you also see it when you install vscode insiders? for potential smartness even though it is not an electron crash might have some ideas since it looks like a native crash
Running with in my case it is a permission issue to the folder it is trying to write the shortcut link to. Users having similar error code please check if the setup executable under your current user has permissions to write into that folder. If anyone else has a different error code, please paste the inno setup log using switch as above.
Same issue when installing VSCodeUserSetup-x64- stable. After clicking 'OK' everything else appeared to install correctly. !
I saw this error as well when I tested the installer (using a Windows VM on Parallels 10).
Same Issue with me today, as suggested I install it again without "Creating desktop shortcut" worked and install without any errors.
Sorry about the early conclusion, a bit more investigation looking at the logs of installation, it does install the shortcut link under the desktop for current user rather than public folder. So this behavior change with is indeed a bug. Looking at the changelog, the only relevant changes that went into the setup code path are , will check if the change in setup style brought in this behavior.
thanks for looking into this. I have cycles so let me know if I can help somehow.
Dear users that see this can you please try to install this insiders build and let us know if you can still reproduce. This would be very valuable to us as it contains a potential fix for this issue: win64 user setup win32 user setup As far as I understand the issue this only happnes for the user install. If somebody sees this issue for a non user install please let us know.
Tried to install your x64 version over my existing installation, same error: !
thanks a lot. We figured out that it did not fix the issue. We have another candidate that is being built now, soon it will be out and I will share the links so you can try again. Really appreicate the help.
Here's win32 build: Soon we will have win64
Win64 build: So please try it out and let us know. What is not 100% clear to me are repro steps. It only happens with the user install that creates a desktop shortcut. did I get the steps correctly? Just wondering since there are not that many users that complain... Edit: yeah now the steps are 100% clear to me. User install + check off create a desktop shorcut -repros always. However the VS Code still gets installed, just the desktop shortuct does not get created.
I have verified that the Inno-updater revert of version indeed fixes the issue.
So please try it out and let us know. Worked for me without any error now with Check in to create a desktop shortcut. !
Great. It also worked for me. So to recap: The inno-updated update broke this. We are looking into two options for the recovery build: 1) disable the create shortcut button for this release 2) fix the actual issue captured by We will decide on which one to do depending on the risk. We will not revert back to the old inno-update version due to other chagnes that have gone in. fyi
Correct, I did check "Create desktop shortcut" Worked for me without any errors, created shortcut. Thanks!
Thanks We have a PR with a fix that will be included in the recovery build.
All with all options checked: VSCodeUserSetup-x64- error VSCodeUserSetup-x64- run as admin "you should use system" popup no error VSCodeSystemSetup-x64- no error VSCodeUserSetup-x64-1.48.1- no error
Verification steps: Uninstall VS Code Download user setup In setup choose the option to create a desktop icon Complete setup wizard Setup should complete successfully, and a desktop icon should be created

Discussion:
[Icons] Name: "{group}{#NameLong}"; Filename: "{app}{#ExeBasename}.exe"; AppUserModelID: "{#AppUserId}" <del> Name: "{commondesktop}{#NameLong}"; Filename: "{app}{#ExeBasename}.exe"; Tasks: desktopicon; AppUserModelID: "{#AppUserId}" </del> <ins> Name: "{autodesktop}{#NameLong}"; Filename: "{app}{#ExeBasename}.exe"; Tasks: desktopicon; AppUserModelID: "{#AppUserId}" </ins> Name: "{userappdata}MicrosoftInternet ExplorerQuick Launch{#NameLong}"; Filename: "{app}{#ExeBasename}.exe"; Tasks: quicklaunchicon; AppUserModelID: "{#AppUserId}" [Run]