\r
;--------------------------------\r
\r
+!define FLUIDBOOKNAME "$name"\r
+\r
; The name of the installer\r
-Name "$name"\r
+Name "${FLUIDBOOKNAME}"\r
\r
; The file to write\r
OutFile "$output"\r
\r
; The default installation directory\r
-InstallDir $DESKTOP\$fname\r
+InstallDir $PROGRAMFILES\$fname\r
\r
; Request application privileges for Windows Vista\r
RequestExecutionLevel user\r
; Put file there\r
File /r "$fdir\*"\r
\r
+ ; Create shortcut\r
+ CreateShortCut "$SMPROGRAMS\${FLUIDBOOKNAME}.lnk" "$INSTDIR\$fname.exe" "" "$INSTDIR\data\fluidbook.ico"\r
+ CreateShortCut "$DESKTOP\${FLUIDBOOKNAME}.lnk" "$INSTDIR\$fname.exe" "" "$INSTDIR\data\fluidbook.ico"\r
+ \r
ExecShell "" "$INSTDIR\$fname.exe"\r
\r
SectionEnd ; end the section\r
$nsi = str_replace('$lang', utf8_decode($lang->nsis), $nsi);\r
$nsi = str_replace('$nsisdir', '/usr/local/nsis/nsis-2.46/share/nsis', $nsi);\r
$nsi = str_replace('$output', $this->getPathBase('exe'), $nsi);\r
- $favicon = WS_COMPILE_ASSETS . '/fluidbook.ico';\r
- if ($this->theme->parametres->favicon != '') {\r
- $favicon = $this->vdir . '/data/fluidbook.ico';\r
+ $favicon = $this->vdir . '/data/fluidbook.ico';\r
+ if ($this->theme->parametres->favicon == '') {\r
+ copy(WS_COMPILE_ASSETS . '/fluidbook.ico',$favicon);\r
}\r
$nsi = str_replace('$favicon', $favicon, $nsi);\r
\r
<?xml version="1.0" encoding="utf-8"?>\r
-<project>\r
+<project version="2">\r
<!-- Output SWF options -->\r
<output>\r
- <movie disabled="False" />\r
+ <movie outputType="Application" />\r
<movie input="" />\r
<movie path="..\composer.swf" />\r
<movie fps="45" />\r
<movie width="1400" />\r
<movie height="900" />\r
<movie version="10" />\r
+ <movie minorVersion="0" />\r
+ <movie platform="Flash Player" />\r
<movie background="#FFFFFF" />\r
</output>\r
<!-- Other classes to be compiled into your SWF -->\r
<option locale="" />\r
<option loadConfig="" />\r
<option optimize="True" />\r
+ <option omitTraces="True" />\r
<option showActionScriptWarnings="True" />\r
<option showBindingWarnings="True" />\r
<option showInvalidCSS="True" />\r
<option staticLinkRSL="True" />\r
<option additional="" />\r
<option compilerConstants="" />\r
- <option customSDK="" />\r
+ <option minorVersion="" />\r
</build>\r
<!-- SWC Include Libraries -->\r
<includeLibraries>\r
<option showHiddenPaths="False" />\r
<option testMovie="Default" />\r
</options>\r
+ <!-- Plugin storage -->\r
+ <storage />\r
</project>
\ No newline at end of file