Page 1 of 1

[SOLVED] How to create shortcuts in "Quick Access"?

Published: September 3, 2019 - 9:05 AM
by nixxax
Good morning,

How can I create a package that adds a list of shortcuts inside "quick access"?

I would like to send the network addresses of surrounding workstations to it for sharing. For example:
  • Quick access
    • \\192.168.31.1
    • \\192.168.31.2
    • \\192.168.31.3
    • etc.
    Thank you for your feedback.

Re: Creating shortcuts in "quick access"?

Published: October 21, 2019 - 11:33
by Christophe0110
Hi nixxax,

You can use the run_powershell command to execute a powershell command in the session_setup:

Code: Select all

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []


def install():

    print('Rien à faire en install')

def session_setup():

    run_powershell(r'(new-object -com shell.application).Namespace("\\192.168.31.1").Self.InvokeVerb("pintohome")')
A+

Re: Creating shortcuts in "quick access"?

Published: October 22, 2019 - 8:58 AM
by dcardon
Hello Nixxax,
nixxax wrote: September 3, 2019 - 9:05 AM Good morning,

How can I create a package that adds a list of shortcuts inside "quick access"?

I would like to send the network addresses of surrounding workstations to it for sharing. For example:
  • Quick access
    • \\192.168.31.1
    • \\192.168.31.2
    • \\192.168.31.3
    • etc.
While not directly related to your problem, I would add that it's preferable to use DNS names instead of IP addresses; otherwise, the workstations will use NTLM authentication instead of strong Kerberos authentication :-)

Denis