diff --git a/assets/Product.wxs b/assets/Product.wxs index 69b77e1a044..b88fd5da8b1 100644 --- a/assets/Product.wxs +++ b/assets/Product.wxs @@ -43,6 +43,18 @@ + + + shortcutPath = Session.Property("ShortcutPath") + Set fso = CreateObject("Scripting.FileSystemObject") + if (fso.FileExists(shortcutPath)) Then + Set wshShell = CreateObject("WSCript.Shell") + Set shortcut = wshShell.CreateShortcut(shortcutPath) + + shortcut.workingdirectory = "%HOMEDRIVE%%HOMEPATH%" + shortcut.save + End If +