Neo4j 2.0.0-RC1 unable to install as windows service - database

I used to install Neo4j 2.0.0-M05 as windows service, this worked great. With 2.0.0-RC1 it doesn't any more.
Intro
With 2.0.0-RC1 I can download an installer. Seems that this installer does not have an option to install Neo4j as service. Also it doesn't let you set some directories (I like everything in C:\apache\neo4j); some stuff is being stored in my user directory. And it doesn't remember the location of the database. So that leaves the zip as only real alternative, though the zip file comes in only one version while the installer comes in 32bits and 64bits??
Anyway now trying with the zip package I have to run a .bat file just as before (i'm used to this). But when i try install, i get:
C:\apache\neo4j\bin>Neo4jInstaller.bat install
"WARNING: this installer is deprecated and may not be the optimal way to install Neo4j on your system."
"Please see the Neo4j Manual for up to date information on installing Neo4j."
Press any key to continue
Two things are weird.
It's the only option to install neo4j as service, so how can it be deprecated?
Press any key to continue only response to the enter key.
Problem
Continuing on the the real problem:
Press any key to continue
[SC] CreateService SUCCESS
[SC] StartService FAILED 87:
The parameter is incorrect.
Workaround
I removed the .bat files from 2.0.0-RC1 and copied the 2.0.0-M05 bat files over to the new version. It seems to start the new version without a problem.

Thanks for the feedback. There are open github issues related to much of this, which we'll clean up before going to GA. Even then, your conclusion is correct, that for now installation as a service requires downloading the .zip distribution. We'll make that more clear in the download page.
Generally, installation as a windows service is something we're working to improve. I'd love to chat with you a bit about your particular deployment scenario. Please drop me a line at andreas#neotechnology.com.
Best,
Andreas

Related

silent install IBM data server client using response file, Anyone tried to install in D drive?

I am trying to install DB2 ibm data server client(version 11.1), silent install in my windows server. i am using response file for the installation. I gave the path in response file to install in D drive, but still it is installing in C drive only. the command i was using is: msiexec /i "MSI path" /q /l*v "log file path" RSP_FILE_PATH="response file path".
Check the following:
Installing Db2 products and features using a response
Some notes on MSI customization in general below.
And a link to the most commonly used library of packaging tips contributed by packagers:
https://www.itninja.com/software-library/company/ibm
Different Designs: The exact mechanism used to redirect a folder like that depends on the design of the application and the setup from the vendor, they often do something very non-standard so reverse engineering their solution fully or slightly is usually neccessary.
Itninja.com: Maybe have a look if you can find the software here in the itninja.com "software tips" section: https://www.itninja.com/software-library/company/ibm - this is a collection of comments people have made who have packaged and deployed the software in question - either unsuccessfully or successfully. I can't really tell what the exact product name is, please check.
Download: If you have a download link that is publicly accessible I can have a quick look at the MSI to determine how it is set up. Please be aware that it is much better to install an MSI directly via normal configuration mechanisms (setting public properties and / or creating a transform - sample here) than to run a setup.exe with response file (which sometimes is the only possibility depending on the overall deployment design).
How to make better use of MSI files
A couple of quick overviews:
How to parameterize msi file from electron builder
MSI Repackaging - free tool
And some further links for reference:
Change the value of a MSI property loaded from a DLL using a MSI transform
How to run an installation in /silent mode with adjusted settings

Installing applications Silent via batch file

My office has purchased 50 computers including Windows 8.1. I want to install supporting applications like office application, browser, 7-zip, pdf reader and others with silent installation. cause, installing applications into the computer as much as it, would take much time.
My script is :
7-zip.exe /S /norestart
If I run the script above, 7-zip.exe successfully installed but not for adobe_reader.exe
How to use the silent installation correctly?
In order to automate the installation of something like 7-zip.. go to your command prompt and run a command like the following:
Code:
\\Apps\dsp\7z458.exe /S
For more information, visit the following link... it'll hopefully give you an idea of how to automate application deployment using batch files.
Website:
http://windowsitpro.com/windows/use-batch-files-automate-application-installation
Note:
In future, please elaborate on your questions. It's rather annoying when someone posts a question with no substance.
Hope this helps,
Sohail

make a exe to be downloaded through website

We have a exe (executable) file link on our website which a user has to download.
BUt, in most of places exe downloading is blocked. IS there any other better way except sharing it as a zip file?
The corporate standard for deployment is the MSI file (Windows Installer - check the link for details on the major advantages).
I am not sure how a direct download of an MSI in the last versions of browsers will behave since every new browser version tends to add new problems, but if you deliver an MSI file you will at least provide a product better suited for corporate deployment (so far as you follow best MSI practice).

Issue Signing xap file in post build event on TFS Build

We have a silverlight(5) project, the source in TFS (2010) and Continuous Integration build has been setup and working fine. However, we are now at the stage where we are trying to release it to some users to get them using it and give feedback. I've set up the code so that it checks for updates and if there are any it downloads the latest xap file. However this requires the xap file to be signed. No problem when doing this from our dev machines, but when it comes to the automated build it fails, with the message
Xap packaging failed. Cannot locate the signing tool SignTool.exe.
I've tried numerous things to get the signtool to be recoginised and can't. However, we don't actually need this on the CI build, so I've then tried a second tack which is to make the postbuild event conditional on being run in VisualStudio. Followed various suggestions here on SO but can't gett them to work.
The post build event is
if "$(BuildingInsideVisualStudio)" == "true" (
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "$(SolutionDir)castle.pfx" "$(TargetDir)Castle.xap"
copy "$(TargetDir)Castle.xap" "$(SolutionDir)Castle.Web\ClientBin"
)
still no joy. Have tried multiple variations of this, but keep getting the same message from the automated build.
So can anyone help with either a) getting the signing tool to be recoginised on the build server or b) getting the automated build to skip the postbuild event?
Found the problem in the end...
I had been putting in place some features so the app would download and install the latest xap file. This requires it to be signed. As this wasn't working I followed some instructions on signing a xap file, not realising that one of the other developers here had put in place the code I described above in the post build event.
I had mistakenly thought that this was created as a result of me checking the 'Sign The Xap File' check box.
So first issue was that other developer had not shared his pfx file with us to add to our certificate stores.
Second, and main issue, was that we then had two attempts at signing going on. The one via the check box and the one via the post build event. I removed the check box and it worked fine.
The issue with the check box is that it expects the SignTool.exe to be in a particular location. On our development boxes with full VS it is where it is looking for it, but on the build server it wasn't. Think it may also have something to do with 64bit machines.
By using only the build event (once you have the correct certificates installed) you can specify explicitly the location that the signtool is going to be, and if necessary install the windows sdk to that location.
This is the top result in Google for this error so updating it with my steps to resolve.
The above didnt work for me but performing the steps below should fix it.
Install the Windows 8.1 SDK on the build server (Windows 2008 R2 for me)
Adding the Windows SDK BIN directory (that contains signtool.exe, on my server) to the Environment PATH variable - e.g. c:\program files (x86)\Windows Kits\8.1\bin - note: Do not add quotes around this
Restart all the Visual Studio Team Foundation services in services.msc after you add the file path to the PATH variable as it needs to reload these before building

transfring myob from one computer to other

i have MYOB installed on one computer and that system crush due to virus, i got all myob data and program files.
problem is i don't have installer for MYOB, i lost it.
i copy all the myob folder to c:\program files\myob
and try to run myob, its giving MYOB ERROR 9004
after i search on net i found that i need to create these registry entries which i did
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\MYOB Technology]
[HKEY_LOCAL_MACHINE\Software\MYOB Technology\AU]
[HKEY_LOCAL_MACHINE\Software\MYOB Technology\AU\MSC]
[HKEY_LOCAL_MACHINE\Software\MYOB Technology\AU\MSC\3.0]
"JavaHome"="C:\\Program Files\\MYOB\\Common\\JRE"
now program run and after getting user name & password it give error initialization error.
does any one have idea how to run myob on system without installing it.
Thanks
are you copying all folders, this error seems that you are missing some files/ folders.
check all the folders and files.
Make sure you also copy and paste over the MYOB file in your Program files, as well as the MYOBVersion as this is where the licence is!
The best answer will depend on which product and version you have installed and for the most accurate detail you're best reaching out to support directly.
For products like AccountRight Live you can easily re-install the software on the new computer. You can get fresh copies of the installers from the product downloads section of your my.myob.com login.
Individual company files (.myox for AccountRight Live) can be copied to the new computer and then opened (in much the same way you would install Microsoft Word and then open a Word .docx document) noting that each file is linked to the serial number.
And lastly on a note of personal advice: run a patched anti-virus on the new machine :)

Resources