--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -147,9 +147,7 @@ - If Not objFSO.FileExists(strLinkPath) Then - Set oUrlLink = WshShell.CreateShortcut(strLinkPath) - oUrlLink.TargetPath = "{umc_link}" - oUrlLink.Save - set objFile = objFSO.OpenTextFile(strLinkPath, 8, True) - objFile.WriteLine("IconFile=\\{hostname}.{domainname}\netlogon\user\univention-management-console.ico") - objFile.WriteLine("IconIndex=0") - objFile.Close - End If --- + Set oUrlLink = WshShell.CreateShortcut(strLinkPath) + oUrlLink.TargetPath = "{umc_link}" + oUrlLink.Save + set objFile = objFSO.OpenTextFile(strLinkPath, 8, True) + objFile.WriteLine("IconFile=\\{hostname}.{domainname}\netlogon\user\univention-management-console.ico") + objFile.WriteLine("IconIndex=0") + objFile.Close @@ -162,9 +160,7 @@ - If Not objFSO.FileExists(strLinkPath) Then - Set oUrlLink = WshShell.CreateShortcut(strLinkPath) - oUrlLink.TargetPath = "{portal_link}" - oUrlLink.Save - set objFile = objFSO.OpenTextFile(strLinkPath, 8, True) - Objfile.WriteLine("IconFile=\\{hostname}.{domainname}\netlogon\user\univention-portal.ico") - objFile.WriteLine("IconIndex=0") - objFile.Close - End If --- + Set oUrlLink = WshShell.CreateShortcut(strLinkPath) + oUrlLink.TargetPath = "{portal_link}" + oUrlLink.Save + set objFile = objFSO.OpenTextFile(strLinkPath, 8, True) + Objfile.WriteLine("IconFile=\\{hostname}.{domainname}\netlogon\user\univention-portal.ico") + objFile.WriteLine("IconIndex=0") + objFile.Close