From d5cb7e0f68c4757d1f99fb9cf8acf2368340bb1d Mon Sep 17 00:00:00 2001 From: Chris Duck Date: Sat, 3 Feb 2018 16:58:22 -0600 Subject: [PATCH] Fix shortcut script when installed with UAC on --- assets/Product.wxs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/Product.wxs b/assets/Product.wxs index b88fd5da8b1..042bf30423c 100644 --- a/assets/Product.wxs +++ b/assets/Product.wxs @@ -43,9 +43,9 @@ - - - shortcutPath = Session.Property("ShortcutPath") + + + shortcutPath = Session.Property("CustomActionData") Set fso = CreateObject("Scripting.FileSystemObject") if (fso.FileExists(shortcutPath)) Then Set wshShell = CreateObject("WSCript.Shell") @@ -198,8 +198,8 @@ - - + + NOT Installed OR NOT REMOVE OR UPGRADINGPRODUCTCODE