X4 & Win 10 Pin to Taskbar not working?

Got a problem you cannot solve? Try here.
QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

X4 & Win 10 Pin to Taskbar not working?

Postby QooScho » Mon Jul 04, 2016 2:41 am

Hello,
I have switched from IA17 to X4 to provide also Windows 10.
In my MSI code I had a section where you can pin a icon to the taskbar. This works fine in Win 7.

Code: Select all

     Create Shortcut $SHORTCUTFOLDER$\My Client to $PROGDIR$\Myclient.exe
     if Variable DESKTOPICON Equals TRUE
       Create Shortcut $DESKTOPDIR$\My Client to $PROGDIR$\Myclient.exe, Pin to Start Menu, Pin to Taskbar, Pin to Start Screen
     end


In the Create Shortcut Dialog there are 3 checkboxes activated:
- Start Menu /windows XP through 7)
- Taskbar (win 7 and higher)
- StartScreen/menu (Windows8/10 and higher)

But anyway, there is no Icon on the taskbar in Win 10. There is a Icon on the desktop and in the Win 10 Start but not in the taskbar.

Any idea?

thanks a lot
best regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: X4 & Win 10 Pin to Taskbar not working?

Postby FrancescoT » Mon Jul 04, 2016 12:18 pm

Dear Hans,

I don't see any problem with pinning to taskbar via Create Shortcurt command.
I just used the "Shortcuts sample" and modified script line 221 as below.
http://www.installaware.com/forums/viewtopic.php?f=2&t=6772#p25655

Code: Select all

~InstallAware Clipboard Data~
~Create Shortcut~
~{4F36AECF-E401-4337-A184-C93D2CE30190}~
~$TARGETDIR$\TestApp.exe|FALSE~
~TestApp~
~$SHORTCUTFOLDER$|FALSE~
~~
~~
~|TRUE~
~|FALSE~
~|~
~0|7~


You may post a very simple project that replicates the issue.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 147 guests