Reputation: 61
I have issue with Installer generated with install4j. During the "Install files" action it throws error as below
I see these errors in log file:
[INFO] com.install4j.runtime.beans.actions.InstallFilesAction: Before install file: C:\Dir1\Dir2\jre\bin\file.dll; size: 24992 bytes; exists: false [INFO] fileTime: Mon Mar 28 13:11:06 IST 2016, mode: 644, overwriteMode: Always ask except for update, shared: false, uninstallMode: If created, delayIfNecessary: false [ERROR] com.install4j.runtime.beans.actions.InstallFilesAction: Install file not successful: C:\Dir1\Dir2\jre\bin\file.dll.dll [ERROR] com.install4j.runtime.beans.actions.InstallFilesAction: Execute action not successful
On debugging it looks like the installer is unable to create the installation location. The user as admin privileges.
In recent observation I found that the above error occurs only when I use a particular word(calling it "home") in the installation location, like c:\Home\dir2. If I choose any other path it installs fine. I do not understand the behaviour. Can anybody help me out with this.
Upvotes: 0
Views: 467
Reputation: 880
If I understand you correctly the installer can not create the installation directory, right? Do you using the "Installation location" action provided by the install4j framework? This action handles the creation of the directory automatically depend on the priviliges the user has. Otherwise you have to ensure the dircetory will be created before the "Install files" action will be running.
Upvotes: 0