The application is currently installed in C:\Program Files\<Application Name>
We changed the installer to install it into %LOCALAPPDATA%\<Application Name> instead.
Since sys.installationDir is excluded from the loaded response file:
I expected that the old directory would be deleted and the new one created. However, the application (update) is still installed into the previous directory. Why is that?
Go to "Installer->Update options" and deselect the "Detect previous installation" check box.
Related
I need to change some configuration information to use SpringToolSuite4. But when I downloaded SpringToolSuite4 4.1.2 and unziped, there isn't SpringToolSuite4.ini file. So I created one, but SpringToolSuite4 didn't reference to SpringToolSuite4.ini file when starting.
I solved the problem with these steps:
Open the commad terminal;
go to the location where you put the jar file;
Run "java -jar [****.jar]";
PS: Make sure you have java runtime installed in you machine and you have the correct environment settings.
Hope this could help you.
I guess this is an admin rights problem:
I have downloaded the self extracting .jar file:
spring-tool-suite-4-4.8.1.RELEASE-e4.17.0-win32.win32.x86_64.self-extracting.jar
I saved it in c:\Program Files (needs admin rights).
Double-clicked it (not as admin) -> Same error (cannot find the SpringToolSuite4.ini file).
I have started TotalCommander (you may use a differnt explorer) with admin rights -> Problem fixed.
Open jar with winrar. Open the "contents.zip". Move to "sts-4.8.0.RELEASE" folder in documents. After, we run the program.
jar:spring-tool-suite-4-4.8.0.RELEASE-e4.17.0-win32.win32.x86_64.self-extracting
You can solve the problem like this.
When I downloaded it for the second time. I also got this error(SpringToolSuite4.ini). That's how I passed. instead of downloading it again. Downloading it again didn't work.
right click on the sts icon inside the extracted sts-bundle package and select show content.
Can someone confirm about the default installation directory for the install4j.
It seems like its Program file in windows as context.getVariable("sys.installationDir").toString() always returns Program File/myInstallerName. So just wanted to know where it is being set in the installer wizard and from where it is getting myInstallerName.
Thanks
The default installation directory is defined on the "Installer options" step of the media wizard. By default, it is set to ${compiler:sys.shortName}.
We’re using install4j to create installers for our Java application, PDF Studio.
We’re currently trying to submit our application to the Apple store and for this, need a pkg file. We’ve created a pkg file from the Application folder that is created after running the dmg installer created by install4j and are working on removing one by one all the warnings and errors reported by the Apple store.
One issue we are having is that symlinks are not allowed by the Apple store and the JRE contains a symlink for a file called libjli.dylib.
When we try to remove the symlink or replace it with the actual file, the i4j launcher for our application is broken.
When we remove the file from the install folder:
rm /Applications/PDF\ Studio\ 2018.app/Contents/PlugIns/jre.bundle/Contents/MacOS/libjli.dylib
We get an error message on launch saying "Java SE 8" couldn't be loaded because it's executable couldn't be located."
If we try to copy the file to the symlink location:
cp /Applications/PDF\ Studio\ 2018.app/Contents/PlugIns/jre.bundle/Contents/Home/jre/lib/jli/libjli.dylib /Applications/PDF\ Studio\ 2018.app/Contents/PlugIns/jre.bundle/Contents/MacOS
Then the launcher fails with no error message dialog.
If we run with install4j log enabled:
INSTALL4J_LOG=yes /Applications/PDF\ Studio\ 2018.app/Contents/MacOS/JavaApplicationStub
Then it will print "Error: could not find libjava.dylib."
Has anyone tried to do this and made it work?
It seems like the launcher is looking under /MacOS/libjli.dylib. We think it is the JavaApplicationStub executable file that decides where to look which is created by install4j.
Is there is a way to set where the launcher looks for the jre.bundle executable libjli.dylib?
You can extract the DMG and edit the Info.plist file so that it contains
<key>CFBundleExecutable</key>
<string>../Home/jre/lib/jli/libjli.dylib</string>
We will check if we can do this in general.
Many thanks in advance, I am using advanced installer 12.1, the scenario is we have already installed application with some custom location feature and is extends the default application location, this installation creates some folders to store temporary files like "Temporary" folder, this folder is used by the application on every minute basis and hence there are some files in this folder, now issue is when i run a new build or try to install the new version of the application, i again select the another custom location, before finishing the installation the installer deleting all the folders installed with older version but not deleting the folders which contains files created by the application e.g the temporary directory above is deleted if it is empty but when it is non-empty it is not removed.
Solution i tried:
1) I used file Removal tool to remove the file, but i think it point the current location and not pointing the older application path.
2) A custom VB script, but again the same issue as #1
3) I tried uninstall cleanup wizard, result #1
Please guide me how i can delete that folder, any help would be appreciated.
Thanks
I am having a few issues configuring JIRA (Mac OSX 10.6.8), specifically setting my JIRA home directory. I ran the JIRA configuration tool, and defined my path. Upon running JIRA on my localhost, I get the message: No jira.home is configured. Through my terminal, I went in to edit my jira-application.properties files, and it says jira.home = /Applications/MAMP/jira/htdocs. At this point, I am not sure what I am doing wrong, as it seems jira.home is defined. Any help? Thanks.
Have a look at Setting your JIRA Home Directory and make sure you are pointing to the Jira home folder:
Edit the jira-application.properties file and set the value of the 'jira.home'
property to the desired location for your JIRA Home Directory. If you are specifying
this location's path on Windows, use double back-slashes ("\") between subdirectories.
For example, X:\\path\\to\\JIRA\\Home
To find where Jira home is located, have a look at JIRA Installation Directory page, the folder should contain the logs,jss and plugins folders.
So, if for example the Jira is installed at /var/atlassian/application-data/jira , the
jira-application.properties should have the following line:
jira.home = /var/atlassian/application-data/jira
Please note - Jira home directory is referring to a data directory and not the installation directory
Installing Jira on MacOS:
https://confluence.atlassian.com/display/JIRA042/Installing+JIRA+Standalone+on+Mac+OS
NOTE: Setting your Home (aka data) directory to /Applications/MAMP/jira/htdocs means that your Jira installation is located in your MAMP web root... Are you sure that's where Jira is installed? Typically, on a Mac, the home directory is located here:
/Applications/Jira/HOME