I want to build an installer as Jira by install4j but they have some custom actions in the installer. I am wondering that is there a method to decode installer or reserve an installer made by install4j to install4j project file? So I can refer those to make my own.
Thank you.
No this is not possible. The installer is a binary artifact and while it does have a config file in .install4j/i4jparams.config it does not contain all required information for reversing it.
Related
When I install my Java application on Windows using Install4J 9.0.5, I'll find a .install4j\user directory inside my installation directory. It contains several jar files and some other files used by the installer.
Do I still need this directory when the installation is finished? Maybe for uninstalling? And is there a built-in way for Install4J to delete this directory if it is not needed anymore?
The .install4j directory contains the runtime for the generated launchers and for installer applications like the uninstaller.
You can only delete it if you only have external installers, no installer applications and if you do not use the install4j API from your code.
We are writing an installer where few custom programs are written to update selective components.
Requirement is to keep few components downloadable which could be updated later by custom programs. Along with that an initial version of components should be delivered with installer file.
If we pack components with installer then dat files are not available to download neither updater knows the update URL.
Any suggestions how this could be achieved?
You mark single components as downloadable on the
Files->Installation Components->Options
tab.
In the media wizard, on the "Data files" step, you have to choose the "Downloadable" option and provide the download URL.
A custom installer application can install a downloadable component with a "Download and install component" action.
How to author nuget packages required for a .net application in a Wix Setup? At present, we have 100 projects, each using different sets of nuget packages. And, we are manually adding a component for each assembly required for the application. This is very cumbersome, because each time we update a nuget package, we must update the .wxs file too.
Is there a standard way to automate this process of including nuget packages in wix setup? Or is there a workaround ?
There's a way to do this, you can call the wix harvester (heat) on your project's target directory and it will include everything in there. That command can also take an XSLT filter which ignores certain files if needed. You can call this command as a pre-build event in your setup project, or as a post-build in your actual project.
Here is a guide that shows the details: http://ahordijk.wordpress.com/2013/03/26/automatically-add-references-and-content-to-the-wix-installer/
I am using install4j for my project and i have couple of dll's which needs to be registered with regasm.exe (.net) any help would be much appreciated in this regards.
install4j will not automatically register installed DLL files.
You can use "Run executable or batch file" actions to invoke regasm.exe with the correct parameters in order to register your DLLs.
I'm new to install4j.
So I hope this question is easy to answer and not obvios.
I involved to an Java-development-project.
We decided to use install4j to create a nice installer for our customers.
Now i've got an install4j license and testing to create an installer.
I Use the install4j Launcher Wizard to make a .exe file out of my .jar file.
Now the Problem: If I remove the .jar file from the installer, the .exe file doesn't work anymore.
So the question: Is it possible to deploy with install4j an .exe file without the .jar file ?
WebStart is not an option in this project.
The .exe is just a launcher to start the JVM. Your Java code is not compiled into native code by install4j. If you want to protect your code, you have to use an obfuscator, for example yguard.
I think install4j can package the Jar inside the executable, as shown in this blog post:
http://blog.ej-technologies.com/2010/12/my-first-try-with-install4j-tutorial.html