Examples/ExperienceUI/Basic.nsi
changeset 17 26f838554c9e
parent 13 2ae1abe546fd
--- a/Examples/ExperienceUI/Basic.nsi	Mon Aug 03 22:17:31 2009 -0400
+++ b/Examples/ExperienceUI/Basic.nsi	Mon Sep 07 20:33:58 2009 -0400
@@ -7,7 +7,12 @@
 ;--------------------------------
 ;Include ExperienceUI
 
-  !include "XPUI.nsh"
+  !ifdef XPUI_SYSDIR
+    !include "${XPUI_SYSDIR}\XPUI.nsh"
+  !else
+    ; just hope NSIS has XPUI.nsh installed
+    !include "XPUI.nsh"
+  !endif
 
 ;--------------------------------
 ;General
@@ -88,4 +93,4 @@
 
   DeleteRegKey /ifempty HKCU "Software\ExperienceUI Test"
 
-SectionEnd
\ No newline at end of file
+SectionEnd