Skip to content

Commit

Permalink
Try to fix Windows installer. Re #1037.
Browse files Browse the repository at this point in the history
It's a real pain that it doesn't use CPack like the others.
  • Loading branch information
RussellTaylor committed Dec 31, 2011
1 parent 01b8677 commit 147436f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Code/Mantid/Installers/WinInstaller/generateWxs.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,8 @@ def createPropertiesFile(filename):
addFileV('qtiplotrc', 'qtirc.py', 'qtiplotrc.py', CODEDIR + '/Mantid/MantidPlot/qtiplotrc.py', MantidDlls)
addFileV('qtiplotutil', 'qtiUtil.py', 'qtiUtil.py', CODEDIR + '/Mantid/MantidPlot/qtiUtil.py', MantidDlls)
addFileV('mantidplotrc', 'mtdrc.py', 'mantidplotrc.py', CODEDIR + '/Mantid/MantidPlot/mantidplotrc.py', MantidDlls)
addFileV('mantidplot', 'mtdplot.py', 'mantidplot.py', CODEDIR + '/Mantid/MantidPlot/mantidplot.py', MantidDlls)
#addFileV('mantidplot', 'mtdplot.py', 'mantidplot.py', CODEDIR + '/Mantid/MantidPlot/mantidplot.py', MantidDlls)
mantidplot = addCompList('mtdpltmod',CODEDIR + '/Mantid/MantidPlot/mantidplot','mantidplot',binDir)[0]

# Remove files that may have been created
files_to_remove = ['qtiplotrc.pyc','qtiUtil.pyc','mantidplotrc.pyc','mantidplot.pyc','MantidFramework.pyc','MantidHeader.pyc',\
Expand Down Expand Up @@ -752,6 +753,7 @@ def createPropertiesFile(filename):
addCRefs(pythonDLLs, MantidExec)
addCRefs(pythonLib,MantidExec)
addCRefs(pythonScripts,MantidExec)
addCRefs(mantidplot,MantidExec)
addCRef('Plugins',MantidExec)
addCRef('UserAlgorithms',MantidExec)
addCRef('Documents',MantidExec)
Expand Down

0 comments on commit 147436f

Please sign in to comment.