How do I change .install4j directory to other directory - install4j

I use install4j to package my Java program.
But I find there is a .install4j directory in my installer directory .
I don't want my customer to know that I use install4j to package the programme.
How do I change this directory to another name,such as .john directory .

As of 5.1.6, it is not possible to change the name of this runtime directory.

Related

How to get current folder basename in vscode tasks and launch file?

I wanna make a C++ program that will all of its code into the an executable file with the current folder name. And this is because I wanna make a project like thing. And the project name is the current folder name and that's why I want the executable to be named with the current folder. But ${fileDirname} variable prints the whole path instead of the basename of the folder. Of course, I can use make file to build them, but the lauch file requires the executable file name, and I can't put the folder name there. And I don't want to change this launch.json for every project. Please help me!!

error in root\workspace\.metadata\.log

I try to run eclipse, but I can not.
The software creates an error in the root\workspace\.metadata\.log folder. But I did not understand anything.
Here is the log file:
Log File
Also, I did not find a file named ".snap" at the address given. I deleted the workspace folder. I even deleted the software and installed it again. But none of them worked.
In the workspace folder there is a folder with the name ".metadata". and in this folder there is a file with the name ".log".
So the actual path will be:
"/root/workspace/.metadata/.log"
In Linux you might need to use ls -la to see the folder ".metadata" and the file ".log".
Check also the file eclipse.ini in the root folder of the Eclipse installation. In this file you could specify the -vm parameter and point it to the JVM dll or "so" files directly.
For example:
-vm
D:\talend\jre1.8.0_91\bin\server\jvm.dll

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...

Is it possible to rename a folder in Nuget

I'm creating a nuget package to install some ascx files into a solution. The folder i want the ascx files to be stored in will be different depending on the project. IE folder name will be the same as the project name.
Is it possible to have a pop up to capture text so I can rename the folder in the content section of a nuget package during install. Is it then possible to add this folder name to the namespace of the files within the folder?
I know its possible to add $rootnamespace$ with a .pp extension to replace the key with the correct root namespace, but can you append to this too?
You ought to look into the options for Automatically Running PowerShell Scripts During Package Installation and Removal.

Install4j create user data directory

Install4j has the system variable sys.docsdir that will create a data directory in the proper place. But I can not find an action to add to the installation that will create an empty directory. What is the action? If I need to create custom script, a sample would be awesome.
The installer variable sys.docsdir contains the path to the user-specific "Documents" folder on Windows, it does not create a directory.
To install files into a subfolder of the sys.docsdir directory, add a new root under Files->Define distribution tree with the name ${installer:sys.docsdir}/myfolder and add the files below that folder.
To install to a folder that is resolved at runtime, the name of the installation root can contain your own installer variable, like ${installer:myDataDir}. In that case, you have to define that variable (for example with a "Set a variable" action) before the "Install files" action runs.
You may find your answer here, in the following link:
http://blog.ej-technologies.com/2010/12/more-installation-options-with.html
Hope it helps you.