[RESOLVED] URL Packet
Published: November 5, 2019 - 1:35 PM
WAPT 1.7.4 - CentOS Server - OS Machine Admin under Windows Server 2016.
Good morning, gentlemen
I want to create a package that creates a website shortcut on the desktop and adds a specific icon. Currently, I have this:
Problem: it doesn't accept the icon.
Do you have a solution?
Sincerely
Good morning, gentlemen
I want to create a package that creates a website shortcut on the desktop and adds a specific icon. Currently, I have this:
Code: Select all
from setuphelpers import *
uninstallkey = []
destdir = makepath(programfiles32,'ELI')
def install():
print('installing test-eli')
mkdirs(destdir)
filecopyto('icone.ico',makepath(programfiles32,'ELI'))
create_desktop_shortcut('ELI', target = "http://*******, wDir="C:\Program Files (x86)\ELI", icon="C:\Program Files (x86)\EVA\icone.ico")
def uninstall():
print('Removing ELI')
remove_desktop_shortcut('ELI')
remove_tree(destdir)
Do you have a solution?
Sincerely