Jonno12345 / TileIconifier

Creates tiles for most Windows 8.1 and 10 start menu icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Widows Store Application Icon Fail

christiansass opened this issue · comments

OS: Windows 10
What I Was Doing: I was trying to make an icon for a Windows Store app ( OneCommander) by copying the path from the program location in the properties window
C:\Program Files\WindowsApps\44576milosp.OneCommander_3.44.0.0_neutral__p0rg76fmnrgsm\Rapidrive
Tried pasting that in the "Target Path"

TileIconifier Version: v3.1.1.2 - x64
OS Version: 10.0.19045.0 - x64
Administrator?: Yes

System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
at IWshRuntimeLibrary.IWshShell3.CreateShortcut(String PathLink)
at TileIconifier.Core.Utilities.ShortcutUtils.ResolveShortcut(String filePath) in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Utilities\ShortcutUtils.cs:line 77
at TileIconifier.Core.Shortcut.ShortcutItem.get_TargetInfo() in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Shortcut\ShortcutItem.cs:line 160
at TileIconifier.Core.Shortcut.ShortcutItem.get_TargetFolderPath() in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Shortcut\ShortcutItem.cs:line 181
at TileIconifier.Core.Shortcut.ShortcutItem.get_VisualElementManifestPath() in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Shortcut\ShortcutItem.cs:line 176
at TileIconifier.Core.Shortcut.ShortcutItem.get_IsIconified() in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Shortcut\ShortcutItem.cs:line 102
at TileIconifier.Core.Shortcut.ShortcutItem..ctor(FileInfo shortcutFileInfo) in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Shortcut\ShortcutItem.cs:line 53
at TileIconifier.Core.Custom.CustomShortcut..ctor(String shortcutName, String targetPath, String targetArguments, CustomShortcutType shortcutType, WindowType windowType, String shortcutRootFolder, String basicIconToUse, String workingFolder) in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Custom\CustomShortcut.cs:line 63
at TileIconifier.Core.Custom.Builder.BaseCustomShortcutBuilder.GenerateCustomShortcut(String shortcutName) in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Custom\Builder\BaseCustomShortcutBuilder.cs:line 51
at TileIconifier.Forms.Main.FrmMain.btnBuildCustomShortcut_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at TileIconifier.Program.Main()
2023-06-21 12_38_28-Window
2023-06-21 12_39_55-Window

I'm not sure you have the right path for One Commander. Try this: go to Task Manager and in the Processes column, locate One Commander and then right click. Select Open file location and then copy the path. This should give you the correct path to the app. Now in the Custom shortcut manager, open the other tab and paste the path you copied.

Make sure the path to your custom icon is less than 260 characters. You can copy the path and paste it into Notepad put the cursor at the end of the path and it will give you the character count at the bottom. (ln1, Col xx).

I no longer use this app as it has not been supported for years. I use Start11 from Stardock Software. It is way more flexible and allows custom icons for any tile on your Start menu.