Moderator: coordinators


Radiance wrote:i'm still figuring out how to add the detection of the blender installation directory,
or allow some alternative input during installation.
anyone (dougal2?) have any experience doing this in NSIS ?
Page directory "" "" verifyLux
DirText "Please choose the directory where you have installed Lux Renderer:" "Lux Renderer Location" "" "Location of Lux Renderer:"
Function verifyLux
IfFileExists $INSTDIR\luxrender.exe I1Good
MessageBox MB_OK|MB_ICONEXCLAMATION "Lux executable not found. I will still install, but some exporter options may not work."
; Abort
I1Good:
IfFileExists $INSTDIR\luxconsole.exe I2Good
MessageBox MB_OK|MB_ICONEXCLAMATION "Lux console executable not found. I will still install, but some exporter options may not work."
; Abort
I2Good:
FunctionEnd

Users browsing this forum: No registered users and 1 guest