package to copy a DLL
Published: November 13, 2017 - 2:39 PM
Hello,
I think I've missed something, but when I try to create a package to copy a DLL, I get the following error message:
NameError: name 'makepath is not defined'.
Can you help me fix my error? Here is my code:
def install():
print('installing vjf-msvcr71_64bit')
source_filename = 'msvcr71.dll'
dest_filename = makepath(windows,'syswow64',source_filename)
filecopyto(source_filename,dest_filename)
run(r'"regsvr32.exe /s msvcr71.dll"')
Thank you in advance for your help.
I think I've missed something, but when I try to create a package to copy a DLL, I get the following error message:
NameError: name 'makepath is not defined'.
Can you help me fix my error? Here is my code:
def install():
print('installing vjf-msvcr71_64bit')
source_filename = 'msvcr71.dll'
dest_filename = makepath(windows,'syswow64',source_filename)
filecopyto(source_filename,dest_filename)
run(r'"regsvr32.exe /s msvcr71.dll"')
Thank you in advance for your help.