What version of ejabberd are you using?
-- 16.02What operating system (version) are you using?
-- windows 10 64 bitHow did you install ejabberd (source, package, distribution)?
-- distributionWhat did not work as expected? Are there error messages in the log? What
was the unexpected behavior? What was the expected result?
Unpacking C:\Program Files\ejabberd-16.02\bin\libiconv-2.dll
Creating Desktop Shortcut for Start ejabberd
Creating Desktop Shortcut for Stop ejabberd
Executing final installation script
Error executing post installation script
C:\Program Files\ejabberd-16.02\bin\postinstall.cmd
\Program ended with an error exit code
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%
Creating uninstaller 100%
Uninstaller icon changed
Installation completed
Log finished 03/18/2016 at 01:17:21
Do you have msvcrt100.dll on your system ?
It was reported on https://github.com/processone/ejabberd/issues/960 that on some windows instance it need to be installed separately.
Yes I have it in my system.

problem is due to wrong location of %AppData%
some data are copied in user's appdata, other in admin appdata.
it seems windows 10 does not behave the same way as older windows server on that regards. this needs investigations
installer works fine as long as ejabberd is run as administrator
closing this now.
post-installation is now more tolerant and will not trigger install error.
support to run ejabberd as standard user will be covered by #666
i m also facing this same issue post installation failed in windows 7 32 bit ejabberd version 15.09 help me out to fix that issue
You should try with ejabberd 16.09.
i m tried ejabberd 16.09 same error occur please help me
I tried installing ejabberd 16.09 i get the same error. I am using windows 10 - 64bit
I tried installing 16.09, 16.12 and 17.01 and get the same error. I am using windows 10 64 bit too.
I have the same problem win 10 64 bit
I have the same error with ejabberd 17.12 on windows 10
still get the error. ran as admin, C: drive... error running post install....
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
i m tried ejabberd 16.09 same error occur please help me