Jis
Posts: 51
Joined: Thu Dec 12, 2013 6:02 am

Not able to pin shortcut to 'Start' tile list in Windows 8.1

Hi,
I am trying to create a shortcut in the 'Start' tile list of Windows 8.1 through advanced installer. I have added the shortcut to 'Start Menu' and 'Start Menu> Programs' under 'Files,Folders and Shortcut' tab. After installation of the setup, the shortcuts are created under the "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" and to the 'Apps' list of Win8.1. But the shortcut is not created to the 'Start' tile list. I tried to pin the shortcut using vbscript, but that also fails.

Here are some sample scripts I used:
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace("C:\ProgramData\Microsoft\Windows\Start Menu\Programs")
Set objFolderItem = objFolder.ParseName("Ammy's shorty.lnk")
objFolderItem.InvokeVerb("P&in to Start")

and also:
Set sa = CreateObject("Shell.Application")
Set objFolder = sa.NameSpace("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\")
'Set lnk = fldr.ParseName("Ammy's shorty.lnk")
Set objFolderItem = objFolder.ParseName("Ammy's shorty.lnk")
Set colVerbs = objFolderItem.Verbs
For Each objVerb in colVerbs
Wscript.Echo objVerb
If objVerb.Name = "Pin to Start" Then
objVerb.DoIt()
msgbox("Success")
end if
Next

and also:
Set sa = CreateObject("Shell.Application")
Set fldr = sa.NameSpace("C:\ProgramData\Microsoft\Windows\Start Menu\Programs")
Set lnk = fldr.ParseName("Ammy's shorty.lnk")
For Each verb In lnk.Verbs
If verb.Name = "Pin to Start" Then
verb.DoIt()
end if
Next
msgbox("Success")

Could anyone please help me out.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Not able to pin shortcut to 'Start' tile list in Windows

Hello and welcome to Advanced Installer forums,

Please take a look on our Program tile on Windows 8 main screen forum thread which debates a similar issue.

Please let us know if that helped otherwise give us more details.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jis
Posts: 51
Joined: Thu Dec 12, 2013 6:02 am

Re: Not able to pin shortcut to 'Start' tile list in Windows

Hi Dan,

Thanks for your reply.
I tried this link before. But it was not working.
Thanks, Jis.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Not able to pin shortcut to 'Start' tile list in Windows

Hello Jis,

Can you please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate? Also, please specify us the shortcut file which is not added to start screen.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jis
Posts: 51
Joined: Thu Dec 12, 2013 6:02 am

Re: Not able to pin shortcut to 'Start' tile list in Windows

Hi Daniel,

I am trying to send mail, but it is showing as invalid mail id. Hence I am attaching my sample aip here.
I am trying to copy the shortcut of team viewer, which is already installed in the system.

Hoping to get help from you.

Thanks in advance,
Jis
Attachments
Final shorty.aip
(11.11 KiB) Downloaded 544 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Not able to pin shortcut to 'Start' tile list in Windows

Hello Jis,

I've tested your pin to start screen custom action and, indeed, it works only on Windows 8 operating systems. Starting with with Windows 8.1 it seems the above custom actions cannot be used to programmatically pin tiles to Start Screen. Also, unfortunately we are not aware about any solution which can be used to programmatically pin tiles to Start Screen.

Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jis
Posts: 51
Joined: Thu Dec 12, 2013 6:02 am

Re: Not able to pin shortcut to 'Start' tile list in Windows

Hi Daniel,

Ok, Thanks for your support. But, if not programmatically, is there any other way (through the advanced installer) I can add a shortcut icon to the 'Start' list? I really need it to work :( . And one thing I would like to bring to your notice is, the pin to start action worked programmatically ONCE some time back. But then later I was not able to.

Thanks, Jis.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Not able to pin shortcut to 'Start' tile list in Windows

Hello Jis,

As my colleague Daniel mentioned, the functionality worked a while back but on Windows 8 only. We're currently unaware how to add a shortcut to the Start Menu on Windows 8.1 but I've added this on out TODO list to clarify. Our team will get a chance to investigate this sometime after the 6th of January when everybody is back in the office.

If you can find a programmatic or manual way(e.g. by creating a shortcut in a location on the hard drive, a registry entry, etc.) please let us know.
I've tried a couple of tricks myself but no luck so far:
- on first blush there's no related information about this on the Internet
- no obvious entry is added to the registry after changing the Start Menu
- adding shortcuts to the per-machine location will add tiles in the Apps list (the list appears after pressing the down arrow button in the Start Menu)

Code: Select all

C:\ProgramData\Microsoft\Windows\Start Menu\Programs
- adding shortcuts to the related per-user location doesn't show any modifications in the Start Menu either

Code: Select all

C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
Happy holidays !
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Not able to pin shortcut to 'Start' tile list in Windows

Hello,

We have further investigated this and starting with Windows 8.1 we didn't found any public API which can be used to pin a shortcut to Start Screen. It seems this is because Microsoft doesn't allow any programmatically customization of the Start Screen. The Windows 8.1 Start Screen can be only manually customized by the user.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jis
Posts: 51
Joined: Thu Dec 12, 2013 6:02 am

Re: Not able to pin shortcut to 'Start' tile list in Windows

Oh ok.
Thank you for your effort.

Thanks,
Jis.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Not able to pin shortcut to 'Start' tile list in Windows

You're welcome Jis.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”