-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: IZPACK-1.0
-
Component/s: IzPack (multi-OS packages)
Installer must:
- move nuxeo.conf outside %INSTALL_DIR% to somewhere it can be modified (Desktop user for instance, or a better place...)
- configure registry keys for nuxeo.conf
- configure nuxeo.conf for data, log and pid directories
From Setup.nsi:
- Give full access to group "Builtin Users"
AccessControl::GrantOnFile "$INSTDIR" "(BU)" "FullAccess"
SetOutPath "$APPDATA\$(^Name)\conf"
FileWrite $2 "nuxeo.data.dir=$APPDATA\$(^Name)\data$\r$\n"
FileWrite $2 "nuxeo.log.dir=$APPDATA\$(^Name)\logs$\r$\n"
FileWrite $2 "nuxeo.tmp.dir=$APPDATA\$(^Name)\tmp$\r$\n"
FileWrite $2 "nuxeo.wizard.done=false$\r$\n"
AccessControl::GrantOnFile "$APPDATA\$(^Name)" "(BU)" "FullAccess"
WriteRegStr HKLM "${REGKEY}" ConfigFile "$APPDATA\$(^Name)\conf\nuxeo.conf"