a couple more new issues with pdeploy

This commit is contained in:
David Rose 2012-10-09 17:08:43 +00:00
parent b9ba7b1b2e
commit 850a301352

View File

@ -590,6 +590,7 @@ class Installer:
if package.platform:
xpackage.SetAttribute('platform', package.platform)
assert package.platform == platform
xpackage.SetAttribute('per_platform', '1')
if package.packageVersion:
xpackage.SetAttribute('version', version)
xpackage.SetAttribute('filename', package.packageName + "/" + package.packageVersion + "/" + package.descFileBasename)
@ -1161,6 +1162,7 @@ class Installer:
print >>nsi, ' SetOutPath "$INSTDIR\\%s"' % outdir
curdir = outdir
print >>nsi, ' File "%s"' % (basefile.toOsSpecific())
print >>nsi, ' SetOutPath "$INSTDIR"'
print >>nsi, ' WriteUninstaller "$INSTDIR\\Uninstall.exe"'
print >>nsi, ' ; Start menu items'
print >>nsi, ' !insertmacro MUI_STARTMENU_WRITE_BEGIN Application'