@@ -13,7 +13,7 @@ setcompressor /SOLID lzma
13
13
; HM NIS Edit Wizard helper defines
14
14
!define PRODUCT_NAME " OCS Inventory NG Agent"
15
15
!define OLD_PRODUCT_NAME " OCS Inventory Agent"
16
- !define PRODUCT_VERSION " 2.10.0 .0"
16
+ !define PRODUCT_VERSION " 2.10.1 .0"
17
17
!define PRODUCT_PUBLISHER " OCS Inventory NG Team"
18
18
!define PRODUCT_WEB_SITE " http://www.ocsinventory-ng.org"
19
19
!define PRODUCT_DIR_REGKEY " Software\Microsoft\Windows\CurrentVersion\App Paths\OCSInventory.exe"
@@ -1595,14 +1595,14 @@ Section "!Working data folder" SEC01
1595
1595
; Set users and power users permission to read/execute/change
1596
1596
StrCpy $logBuffer " SetACL allowing Users / Power users read/write permissions on <$APPDATA\OCS Inventory NG\Agent>..."
1597
1597
Call Write_Log
1598
- nsExec::ExecToLog ' SetACL -on "$APPDATA\OCS Inventory NG\Agent" -ot file -actn ace -ace "n:S-1-5-18;p:full;s:y;m:set" -ace "n:S-1-5-32-544;p:full;s:y;m:set" -ace "n:S-1-5-32-547;p:read_ex,change;s:y;m:set" -actn setprot -op "dacl:p_nc;sacl:p_nc" -actn clear -clr "dacl,sacl" -actn rstchldrn -rst "dacl,sacl"'
1598
+ nsExec::ExecToLog ' $PLUGINSDIR\ SetACL.exe -on "$APPDATA\OCS Inventory NG\Agent" -ot file -actn ace -ace "n:S-1-5-18;p:full;s:y;m:set" -ace "n:S-1-5-32-544;p:full;s:y;m:set" -ace "n:S-1-5-32-547;p:read_ex,change;s:y;m:set" -actn setprot -op "dacl:p_nc;sacl:p_nc" -actn clear -clr "dacl,sacl" -actn rstchldrn -rst "dacl,sacl"'
1599
1599
Pop $0
1600
1600
StrCpy $logBuffer " Result: $0$\r$\n "
1601
1601
Call Write_Log
1602
1602
; Propagate inherited permissions to Download directory
1603
1603
StrCpy $logBuffer " SetACL propagating inherited permissions on <$APPDATA\OCS Inventory NG\Agent\Download>..."
1604
1604
Call Write_Log
1605
- nsExec::ExecToLog ' SetACL.exe -on "$APPDATA\OCS Inventory NG\Agent\Download" -ot file -actn setprot -op "dacl:np;sacl:np" -actn clear -clr "dacl,sacl" -actn rstchldrn -rst "dacl,sacl"'
1605
+ nsExec::ExecToLog ' $PLUGINSDIR\ SetACL.exe -on "$APPDATA\OCS Inventory NG\Agent\Download" -ot file -actn setprot -op "dacl:np;sacl:np" -actn clear -clr "dacl,sacl" -actn rstchldrn -rst "dacl,sacl"'
1606
1606
Pop $0
1607
1607
StrCpy $logBuffer " Result: $0$\r$\n "
1608
1608
Call Write_Log
0 commit comments