diff --git a/Application/Shared/IsWiXAutomationInterface/IsWiXShortCuts.cs b/Application/Shared/IsWiXAutomationInterface/IsWiXShortCuts.cs index da3c8c8..29001ab 100644 --- a/Application/Shared/IsWiXAutomationInterface/IsWiXShortCuts.cs +++ b/Application/Shared/IsWiXAutomationInterface/IsWiXShortCuts.cs @@ -62,7 +62,7 @@ public IsWiXShortCut Create(string name, string directory, string subDirectory, { XElement shortcutElement = new XElement(ns + "Shortcut"); string scID = "sc" + Guid.NewGuid().ToString().ToUpper().Replace("-", string.Empty); - shortcutElement.SetAttributeValue("Id", "sc" + IsWiXHelpers.GetMd5Hash(directory + name)); + shortcutElement.SetAttributeValue("Id", "sc" + IsWiXHelpers.GetMd5Hash(Path.Combine(directory, subDirectory,name))); shortcutElement.SetAttributeValue("Name", name); shortcutElement.SetAttributeValue("Directory", directory); if (!string.IsNullOrEmpty(subDirectory))