win64 into PROGRAMFILES64

This commit is contained in:
David Rose 2012-09-17 16:11:33 +00:00
parent c4154ab908
commit 4563c1e68e

View File

@ -1084,7 +1084,10 @@ class Installer:
# Some global info
print >>nsi, 'Name "%s"' % self.fullname
print >>nsi, 'OutFile "%s"' % output.toOsSpecific()
print >>nsi, 'InstallDir "$PROGRAMFILES\\%s"' % self.fullname
if platform == 'win64':
print >>nsi, 'InstallDir "$PROGRAMFILES64\\%s"' % self.fullname
else:
print >>nsi, 'InstallDir "$PROGRAMFILES\\%s"' % self.fullname
print >>nsi, 'SetCompress auto'
print >>nsi, 'SetCompressor lzma'
print >>nsi, 'ShowInstDetails nevershow'