Studio 10.1.6: How to realize automatically "Pin to taskbar" during installation?

Best practices, code snippets for common functionality, examples, and guidelines.
MUP
Posts: 21
Joined: Sat Aug 21, 2021 2:34 pm

Studio 10.1.6: How to realize automatically "Pin to taskbar" during installation?

Post by MUP » Mon Feb 28, 2022 2:47 pm

Using "Ranorex-10.1.6+git.0128aca3.msi" on Windows 10 Pro 64bit

Running ORCA and searched within the msi tables "Shortcut" and "Property" but nothing found that could be easily set to "true" to get the Pin.

How to realize automatically "Pin to taskbar" during a Powershell based silent installation with

msiexec.exe /i ....msi ... ADDLOCAL=ALL /qn /norestart /passive ?


Thanks.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Studio 10.1.6: How to realize automatically "Pin to taskbar" during installation?

Post by odklizec » Tue Mar 01, 2022 7:55 am

Hi,

I'm quite sure there is nothing like this directly in the setup package. It's somehow complicated even via code, but it should be possible but only with certain Windows releases and SDK:
https://docs.microsoft.com/en-us/window ... to-taskbar
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration