I hope I'm in the right section, if not please move my topic.
I need help with a simple deployment.
I created a package that copies an .ico file to the computer's Windows folder, then creates a desktop shortcut to a URL, associating the previously copied icon with it. On my server (Windows Server 2012 R2), everything works from PyScripter. But when I try to deploy my package on my test machine, I always get an error, and neither copying the icon nor creating the shortcut works.
Code: Select all
from setuphelpers import *
uninstallkey = []
def install():
filecopyto('chemindepartagedemonicone',makepath('C:','Windows'))
create_shortcut(makepath(common_desktop(),ur"lien.url"),target='http://monlienweb',icon=makepath('C:','Windows','monicone.ico'))
Does anyone have any ideas?
THANKS
