packaging and running a third party installer with my install4j installer - install4j

Sorry for asking a question so similar to the last install4j question, but I have a similar problem. I need to package third party installers with my install4j installer that need to run before my application is installed. I'm currently unable to host the other packages, so the only option I see is to package them with my installer. Is there a way to do this?

Add the third-party installers on "Installer->Custom Code & Resources"
Add "Run executable" actions in your installer and reference the third-party installers with ${installer:sys.resourceDir}/executable.exe

Related

Update existing Installation

I am trying to create an installer which will work as an installer in normal cases and if application is already installed it will update the existing installation.
I created an add-on installer with the new files. It works fine when executed independently.
To integrate it with the original installer, i merged this add-on installer with main installer .Then i checked if the app is already installed and added the "Add link to.." add-on installer.
But this installs all the files of the "Add on " as well as the main installer. Is this expected? As i am not even executing "Install Files" action of main installer. It installs the unnecessary files of original installer.
Is there any way to just execute the "Install files" action of only "Add-On" installer?
I am trying to create an installer which will work as an installer in normal cases and if
application is already installed it will update the existing installation.
Do not use an "Add-on installer" for that purpose. This is exactly what the regular installer does.

Does install4j need a jre on the clients system?

I don't want to be dependent on that java is installed on the system or not
Our product already ships internally with a vm so the user doesn't have to install any java or need to have any java installed.
But this i also want for my installer of our product, there should be no need to have java there on the system to install the product, is this possible with Launch4J?
Because it is always tricky when reading the docs, you can bundle a jre, but what does that mean? Does the installer use that itself?
Yes, a JRE is necessary to run the installer, but you can bundle a JRE with install4j, so no "global installation" of a JRE is requried.

Unable to install the Rule Designer on Eclipse for Business Rules service on Bluemix?

I followed steps given at stackoverflow and bluemix.
I am facing below issue while installing the Rule Designer plug-in for Eclipse, to work with the Business Rules service on Bluemix:
Cannot complete the install because one or more required items could
not be found.
Software being installed: IBM Decision Server Designer Base
8.7.0.1-20150313_1905 (com.ibm.rules.studio.base.feature.feature.group
8.7.0.1-20150313_1905) Missing requirement: IBM Decision Server Designer Base 8.7.0.1-20150313_1905
(com.ibm.rules.studio.base.feature.feature.group
8.7.0.1-20150313_1905) requires 'org.eclipse.draw2d.feature.group [3.8.0,3.9.0)' but it could not be found
Any help!!
#panther, please ensure that the directory where Eclipse Juno 4.2.2 is installed has write permissions. I have seen this error before when Eclipse was installed in the "Program Files" directory in Windows and it did not have write permissions. Try installing Eclipse at root level (e.g. C:) and follow the steps in the documentation again.
Do not forget to chose the right Eclipse version, fitting with the number of bits of your Java version! (I had 64 but it seemed to be 32, with all same errors as mentioned!)

Install Eclipse without any Features

The standard/class edition of eclipse still includes JDT, CVS, GIT and various other features.
Is there a way to install it with only 'resource' management/project tools.
Essentially a version of eclipse built without any language or environment in mind.
A lot like an operating system without any programs installed other than what it needs to run itself and provide the means to install programs entirely at the user's discretion.
Post Answer:
http://download.eclipse.org/eclipse/downloads/drops4/R-4.3-201306052000/
The eclipse-platform section contains no-frills, just raw eclipse.
try this link (http://www.eclipse.org/downloads/moreinfo/custom.php) It should contain what is called a Eclipse Platform Runtime Binaries which is the most minimalist package available.
Same answer I wrote in: Eclipse without plugins for windows
You can download it from here: http://download.eclipse.org/eclipse/downloads/index.html. There you can find 'clean' builds of Eclipse, which do not ship with common development tools.
You still can uninstall the plugins you don't want this way :
Menu > Help > About eclipse SDK > Installation details
Install software tab
Select the plugin you don't want
Uninstall button
Goto https://download.eclipse.org/eclipse/downloads/
Choose a release
e.g. "Latest Release : 4.10" --> https://download.eclipse.org/eclipse/downloads/drops4/R-4.10-201812060815/
On this new page choose "Platform Runtime Binary"
It contains the Eclipse Rich Client Platform base bundles and do not contain source or programmer documentation.

Prevent Eclipse plugin installation on Windows XP/7

I am in the process of upgrading our development environment at work. One of the features is to get our developers using Eclipse as their IDE. However for security reasons we do not want our developers to be able to install plugins in Eclipse.
Is there a way to install Eclipse such that a regular user will need to obtain admin privileges to install a plugin?
Regrettably I am only familiar with *nix type permissions, and I would have thought windows would be somewhat similar. I believe I have installed Eclipse under C:\Program Files\eclipse with just read/execute permissions, but when a regular user comes along and tries to install a plugin it appears that Eclipse installs it under the user's directory. Is there a way to prevent that?
Basically after the initial installation of Eclipse the developer should NOT be able to install plugins. What's the best way to do this?
Ultimately this will need to work on a WinXP system. But for my home computer I test on a Win7 machine. Hopefully the procedure for the two platforms are the same, but when it comes to MS who knows.
There is no obvious way to prevent plug-in installation on eclipse. Even the eclipse installed under C:\Program Files\ on windows 7, eclipse also allows installing the plug-ins into the user's home directory for each user. It's designed for share install that has same behavior on linux as well.
I'm not sure what's kind of security concerns to make such a decision, one possible way is removing the org.eclipse.equinox.p2.ui.* plug-ins from your eclipse to disable the ui entry of eclipse's install menu.
FYI: the full description of the behaviour you are seeing is described in multi-user installs [1]. If you check out that and the Runtime options available as a link from that page, maybe you can set the osgi.configuration.area system property to something read-only as well.
[1] http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/multi_user_installs.html