public static void CreateShortcut(
     string shortcutPath,
     string shortcutIconPath,
     string targetApplication,
     string paramsString,
     string description,
     string package = "")
 {
     try
     {
         package      = package ?? string.Empty;
         shortcutPath = ShortcutHelper.FixFileName(shortcutPath, package);
         ShortcutHelper.DeleteFileIfExists(shortcutPath);
         ShortcutHelper.IShellLink shellLink = (ShortcutHelper.IShellLink) new ShortcutHelper.ShellLink();
         shellLink.SetDescription(description);
         shellLink.SetPath(targetApplication);
         shellLink.SetIconLocation(shortcutIconPath, 0);
         shellLink.SetArguments(paramsString);
         ((IPersistFile)shellLink).Save(shortcutPath, false);
     }
     catch (Exception ex)
     {
         Logger.Warning("Could not create shortcut for " + shortcutPath + " . " + ex.ToString());
     }
 }
 public static void DeleteStartMenuShortcut(string shortcutName)
 {
     ShortcutHelper.DeleteFileIfExists(Path.Combine(ShortcutHelper.CommonStartMenuPath, shortcutName));
 }
 public static void DeleteDesktopShortcut(string shortcutName)
 {
     ShortcutHelper.DeleteFileIfExists(Path.Combine(ShortcutHelper.sDesktopPath, shortcutName));
 }