Windows installer and Path changes, fixing various issues:
[blender.git] / build_files / scons / tools / btools.py
index fe6b092598cd50ef34607b03af3ac5788cf6d4b6..accdde0d2cf0171f83c808a975e9e0fa364544e2 100644 (file)
@@ -615,10 +615,7 @@ def NSIS_Installer(target=None, source=None, env=None):
         else:
             if len(df)>0:
                 dp_tmp = dp[l:]
-                if dp_tmp.find('python\\lib') > -1:
-                    datafiles += "\n" +r'SetOutPath $INSTDIR'+dp[l:]+"\n\n"
-                else:
-                    datafiles += "\n"+r'SetOutPath $BLENDERHOME'+dp[l:]+"\n\n"
+                datafiles += "\n" +r'SetOutPath $INSTDIR'+dp[l:]+"\n\n"
 
                 for f in df:
                     outfile = os.path.join(dp,f)