diff --git a/setup/win32/setup.nsi b/setup/win32/setup.nsi index c7dd3e78bf3..c153bdf810f 100644 --- a/setup/win32/setup.nsi +++ b/setup/win32/setup.nsi @@ -307,7 +307,6 @@ Section $(TITLE_IOT) IOT nsExec::ExecToStack '"$INSTDIR\python\python.exe" "$INSTDIR\server\odoo-bin" genproxytoken' pop $0 pop $ProxyTokenPwd - Call RestartOdooService SectionEnd @@ -363,6 +362,7 @@ Section $(TITLE_Ghostscript) SectionGhostscript ExecWait '"$TEMP\$ghostscript_exe_filename" \ /S \ /D=$INSTDIR\Ghostscript' + Call RestartOdooService SectionEnd Section -Post