Installer modifies desktop shortcut

If you think you've found a bug post it here.

Installer modifies desktop shortcut

Postby ger21 » Thu Nov 10, 2016 12:50 am

I have 3 UCCNC shortcuts on my desktop.
One is the default shortcut, and I have two others that use the /p switch to use custom profiles.
Every time I install a new version, one of these shortcuts gets the /p switch removed, and I have to add it back after installation.

Is there a way to check for this and not overwrite it?
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2730
Joined: Sat Sep 03, 2016 2:17 am

Re: Installer modifies desktop shortcut

Postby cncdrive » Thu Nov 10, 2016 9:56 am

When the UCCNC installs what shortcut files are overwritten on the desktop are the UCCNC.lnk and the UCCNCplasma.lnk.
If you rename the shortcuts to different names then they will be not overwritten by the installer.

I think we could probably easily check and not overwrite the files if they already exists, but my fear about this is that what if the user installs the UCCNC to a different folder and has shortcuts already on the desktop,
then the shortcuts will not be overwritten and will point to the wrong folder which will be a problem.

I currently don't know if we can check if the link points to the proper folder and overwrite only if not, I mean I currently don't know if that's possible and if yes then how, but will try to look after it as it could be a solution for your problem... however renaming the file should also resolve the issue.
cncdrive
Site Admin
 
Posts: 4985
Joined: Tue Aug 12, 2014 11:17 pm

Re: Installer modifies desktop shortcut

Postby ger21 » Thu Nov 10, 2016 11:45 am

OK, I'll just rename it then. Thanks.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2730
Joined: Sat Sep 03, 2016 2:17 am


Return to Report a bug

Who is online

Users browsing this forum: No registered users and 9 guests