Change the location of the .install4j folder - install4j

In the files step, I created a root folder where I would install the distributed files, however the .install4j folder still gets generated inside C:\Program Files.I want to know, how I could change its location for example to the custom root folder I created.

The .install4j folder is always created in the installation directory. You cannot move it to a different installation root.

Related

Root file properties

I followed this help page to add folder to a features based product. In build.properties file I added:
root=iwrepo
'iwrepo' corresponds to a folder with sub-folders residing in a feature where the above mentioned properties file is. After the build, I get only folders under 'iwrepo' folder moved to Eclipse install directory (annogen,antlr, etc), not what I expected - 'iwrepo' folder with its sub-folders.
What am I doing wrong?
As per documentation
Similar to the "root" and "root." properties, except that instead of being copied into the root of the eclipse install, files and folders are instead copied into the given subfolder.
Instead of root=iwrepo, I need to use root.folder.iwrepo=iwrepo. This correctly subfolders folders under iwrepo.

making a folder visible in eclipse project

I am trying to load tomcat 7 into eclipse using this tutorial.
When I unzipped to the folder associated with the project, the tomcat folder was loaded as a subfolder. I therefore dragged all the folders into the root folder of the new tomcat7 eclipse project. The only folder which eclipse would not move is the bin folder. Eclipse instead gives me a dialog box with the following error message: "The element 'bin' exists in the selected destination. You can either skip the conflicting element, skip all conflicting elements, or cancel the whole operation."
The problem is that there is no bin folder present. Eclipse does not show a bin folder in the tomcat7 project within eclipse. And the windows explorer view of the file system also does not show any folder named bin within the tomcat7 folder in the directory hierarchy associated with the workspace.
I feel that I need the contents of the bin folder in the place where eclipse can see and work with them. Can anyone show me how to move the contents of the bin folder into the place where eclipse will see them? Now, the bin folder is stuck as a subfolder within the tomcat subfolder within the tomcat7 project.
As your default Java Output Folder for the project, it's hidden in the Package Explorer since everything that goes there was either compiled from or copied from a visible Source Folder. Use the Navigator View when working at this low a level instead.

Get the root folder of the installation drive in install4j

For specific needs I would like to install some files in the root directory of the installation, for example if the installation is under C:/Program Files, so I need to set some files in C:/.
There may be an easier way, but I would create a "run a script" action and parse ${installer:sys.installationDir} to get the root of that...

Eclipse - How to select source folder for new file?

I just downloaded Eclipse Juno release a couple of days ago. I started a new PHP project. When I create a new file, it makes me select the root folder of the project as the source... Is there any way that I could select sub-directories within the project's root folder as the file's source folder?
You have to create a new PHP project if you don't want the files you're creating in that folder. There is no such thing as sub-directories in Eclipse. It creates seperate directories and you just go to wherever you're storing the files and transfer them to your server by going into your htdocs and dragging the folder and placing the folder into the one on your server that you want it to be in. I hope this has helped you.

netbeans ftp configuration

I've set up my FTP connection for my project, but when it uploads the file, it adds a directory named after the project to the uploads (which means it isn't going to the right folder).
i.e.
initial directory set to '/httpdocs';
no upload directory specified.
I upload a file from my local folder:
project name/library/script.php
I want it to go here:
FTP/httpdocs/library/script.php
but it's going here:
FTP/httpdocs/PROJECTNAME/library/script.php
Can anyone help me get this configured correctly?
Then you are making your project in netbeans one folder too high. The project should be created with the main folder being the root folder, not the folder that holds the root folder (the one with the name of the folder).
So, you need to recreate your project with the correct folder being the root folder, and you should be all set.