[PXCDD-commit] SF.net SVN: pxcdd: [391] trunk/client/win/pxcdd.nsi
Status: Alpha
Brought to you by:
tangentsoft
From: <ric...@us...> - 2006-07-12 04:19:49
|
Revision: 391 Author: ricknroll Date: 2006-07-11 21:19:46 -0700 (Tue, 11 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=391&view=rev Log Message: ----------- only verify C4D path if the C4D plugin option is checked Modified Paths: -------------- trunk/client/win/pxcdd.nsi Modified: trunk/client/win/pxcdd.nsi =================================================================== --- trunk/client/win/pxcdd.nsi 2006-07-12 04:01:10 UTC (rev 390) +++ trunk/client/win/pxcdd.nsi 2006-07-12 04:19:46 UTC (rev 391) @@ -19,6 +19,8 @@ !insertmacro Locate !insertmacro GetParent +!include "Sections.nsh" + ;-------------------------------- !macro BIMAGE IMAGE @@ -137,9 +139,13 @@ Function CheckInstallDir - ${GetParent} $INSTDIR $R0 - ${Locate} "$INSTDIR" "/L=F /M=CINEMA?4D.exe" "AddPluginPath" - ${Locate} "$R0" "/L=F /M=CINEMA?4D.exe" "AddPluginPath" - ; MessageBox MB_OKCANCEL "Ready to install:$\n$INSTDIR" + !insertmacro SectionFlagIsSet ${sectC4D} ${SF_SELECTED} checkC4Dpath skip + checkC4Dpath: + ${GetParent} $INSTDIR $R0 + ${Locate} "$INSTDIR" "/L=F /M=CINEMA?4D.exe" "AddPluginPath" + ${Locate} "$R0" "/L=F /M=CINEMA?4D.exe" "AddPluginPath" + ; MessageBox MB_OKCANCEL "Ready to install:$\n$INSTDIR" + skip: + FunctionEnd \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |