WAPT 1.5.1.26
Windows Server 2008R2
Windows 10 Pro 64x developer
I think it's all in the title.
Here is the context of the problem:
development of a package for a very basic portable application.
Code: Select all
# -*- coding: utf-8 -*-
#
# Installation de l'aplli portable Graph85Emulator
#
from setuphelpers import *
uninstallkey = []
# environnement d'installation du paquet
targetdrive = 'c:'
targetdepot = 'applis'
targetsousdepot = 'math'
targetdos = 'graph85emulator'
exename = 'GRAPH85emulator.exe'
targetdir = makepath(targetdrive,targetdepot,targetsousdepot,targetdos)
def install():
#print(targetdir)
mkdirs(targetdir)
filecopyto(exename,targetdir)
create_desktop_shortcut('Graph85Emulator',target=makepath(targetdir,exename))
def uninstall() :
killalltasks(exename)
remove_desktop_shortcut(targetdos)
if isdir(targetdir):
remove_tree(targetdir)In this case, the uninstallation stops at killallstasks with the message ERROR: 5: Access denied
It's probably something really simple, but I'm going in circles.
Help someone?
THANKS
Sincerely
