Hello,
I want to install and start MongoDb as service for my project. However I could not achieve to install MongoDb as service. Error log file is:
Action start 6:52:58: InstallMongoService.
CustomAction InstallMongoService returned actual error code 1 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (74:28) [06:52:58:933]: Note: 1: 1722 2: InstallMongoService 3: C:\Windows\Installer\MSID5B8.tmp 4: /RunAsAdmin /dir "C:\Program Files\MongoDB\Server\3.4\" cmd.exe /c "C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe" --config "C:\Program Files\MongoDB\Server\3.4\mongod-cfg.txt" --install
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action InstallMongoService, location: C:\Windows\Installer\MSID5B8.tmp, command: /RunAsAdmin /dir "C:\Program Files\MongoDB\Server\3.4\" cmd.exe /c "C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe" --config "C:\Program Files\MongoDB\Server\3.4\mongod-cfg.txt" --install
MSI (s) (74:28) [06:53:02:917]: Product: Red Eagle System Manager -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action InstallMongoService, location: C:\Windows\Installer\MSID5B8.tmp, command: /RunAsAdmin /dir "C:\Program Files\MongoDB\Server\3.4\" cmd.exe /c "C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe" --config "C:\Program Files\MongoDB\Server\3.4\mongod-cfg.txt" --install
My custom actions are attached. Could you help me to install MongoDb service?