Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Warning 1910. Could not remove shortcut

My pleasure guys. From what I know the problem appeared only for per-machine installed packages so permissions should not be a problem.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Igor Markovic
Posts: 17
Joined: Wed Jan 04, 2012 1:44 pm

Re: Warning 1910. Could not remove shortcut

Removing the readonly flag from the file also solved it on my machine. Is it possible that this issue gets solved in a future release (if it is allowed by the security permissions) as it will also affect alot of others I guess?

Thanks for figuring this out!!

Regards,
Igor
Josemr
Posts: 1
Joined: Thu Feb 14, 2013 10:14 am

Re: Warning 1910. Could not remove shortcut

Hi there, I just signed to share my knowledge about this issue, I was researching about this issue long time ago because I'm a PC Tech/Electronic, and I was facing this issues in my clients computers randomly(specially desktops with nvidia GPUs), at first I was thinking it was related to a Microsoft issues or bugs, but I was incorrect, it's appears that some applications or programs add/edit information in the public desktop.ini then the program just lock(mark as read only) the file to prevent any further modifications, I used two different computers to investigate this issue, one laptop and one desktop PC, both computers with the same operating system (Fresh install Win7x64 SP1 up to date), and the desktop PC unfortunately ended with the issue after an nVidia driver install, now I will show you how the nVidia Driver was the culprit.

The following information is to show how the desktop.ini was modified in one of the two computers in the test, both with a fresh Windows install.

=======================================================
Fresh Desktop PC setup with drivers, plus nVidia drivers package
=======================================================
Desktop.ini (Marked Read Only)

Code: Select all

[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21799

[LocalizedFileNames]
Enable 3D Vision Discover.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2001
Disable 3D Vision Discover.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2002
Enable 3D Vision.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2004
Disable 3D Vision.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2005
Enable Windowed Mode.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2009
Disable Windowed Mode.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2010
Enable Stereoscopic Desktop.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2011
Disable Stereoscopic Desktop.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2012
3D Vision Photo Viewer.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2003
NVIDIA Stereoscopic 3D Video Player.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2006
3D Vision preview pack 1.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2008
Set up 3D Vision.lnk=@%ProgramFiles(x86)%\NVIDIA Corporation\3D Vision\nvstlink.exe,-2013
=======================================================
Fresh Laptop setup with drivers, plus Intel Display drivers
=======================================================
Desktop.ini (Non Read Only)

Code: Select all

[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21799
Just removing the Read Only flag solved the Warning 1910 issue like the previous statement.
P.D: I'm really sorry for my English, and I hope this can help.
Regards!
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Warning 1910. Could not remove shortcut

Hi,
Is it possible that this issue gets solved in a future release (if it is allowed by the security permissions) as it will also affect a lot of others I guess?
The custom action I developed can be used by you to fix this. Since the flag for desktop.ini is set by another application we cannot say for sure if Microsoft or other software vendors are to blame.

As Josemr says below, one example of software vendors/distributors that cause this are the guys at nVidia. I mentioned this problem in my posts on this thread, but Josemr added more details to make it clear to us what they were doing.

However, there have been other users that were not using nVidia software and still reported the problem, so I suspect there must be other programs that alter desktop.ini too.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NBBob
Posts: 5
Joined: Tue Nov 20, 2012 5:00 am

Re: Warning 1910. Could not remove shortcut

Hi Bogdan,

I can confirm that I believe the trouble started with nvidea update last year and I do have those nvidea settings in desktop.ini.

I was just wondering why the (un)installer needs to have non-readonly access to shared desktop.ini to remove shared desktop shortcuts? Any idea how that works?

Thanks
Bob
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Warning 1910. Could not remove shortcut

Hi Bob,

I would guess, can't say for sure, that Windows Installer modifies this file, for example if the shortcut that gets removed was customized by the user after it got installed.

I made a new test, created a package that installs a desktop shortcut and run it, during the uninstall and install I can see that msiexec.exe constantly accesses the "desktop.ini". Then I removed the shortcut from the package and cleared the log from Process Monitor, followed by a new install and uninstall process. I could not find any trace of msiexec.exe accessing desktop.ini anymore.

I didn't had too much time to search docs about the reasons why Windows Installer access this file, but while I searched I could not find anything. Most likely our friends from Microsoft didn't publish anything official about this, considering that the attributes of this file must be untouched.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
applejax33
Posts: 10
Joined: Wed Jul 24, 2013 7:24 pm

Re: Warning 1910. Could not remove shortcut

Update: We have seen this issue when a user has 2 dektop.ini files.

Return to “Common Problems”