From 928838886e266bd63eac86d5dc4f6718ea5f5cf5 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 11 Mar 2011 09:49:04 +0000 Subject: [PATCH] support relative path to license file --- direct/src/p3d/DeploymentTools.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/direct/src/p3d/DeploymentTools.py b/direct/src/p3d/DeploymentTools.py index aed0b791d7..b5695c1118 100644 --- a/direct/src/p3d/DeploymentTools.py +++ b/direct/src/p3d/DeploymentTools.py @@ -883,7 +883,9 @@ class Installer: nsi.write('Var StartMenuFolder\n') nsi.write('!insertmacro MUI_PAGE_WELCOME\n') if not self.licensefile.empty(): - nsi.write('!insertmacro MUI_PAGE_LICENSE "%s"\n' % self.licensefile.toOsSpecific()) + abs = Filename(self.licensefile) + abs.makeAbsolute() + nsi.write('!insertmacro MUI_PAGE_LICENSE "%s"\n' % abs.toOsSpecific()) nsi.write('!insertmacro MUI_PAGE_DIRECTORY\n') nsi.write('!insertmacro MUI_PAGE_STARTMENU Application $StartMenuFolder\n') nsi.write('!insertmacro MUI_PAGE_INSTFILES\n')