install4j - How to use classes like RegistryRoot correctly in custom actions? -


I have to implement a custom action to find the Windows registry for the installed version of the dotnet framework. So I thought of expanding ReadRegistryValueAction to integrate my personal search algorithm. But the custom action will not be found on IDE. Therefore I increase the action from AbstractInstallAction and include the Registry root class to configure the action inside the IDE in the same way, as provided by the install4j framework With Registry functions done CheckDotNetInstallationActionAbstractInstallAction {Private Registry registry Root; Public registry root getRegistryRoot () {registry return registry; } Public Zero SetRistrictToot (Registry root registry) {this.registryRoot = registryRoot; } @ Override Public Boolean Install (Installer Project Instinct Contact) throws UserConnected Expressions {// Custom Search Returns False; }}

But instead of getting a dropdown list, there is only one blank field, I expect a dropdown list in the same way as there are now two questions in the current registry operation:

  1. Can existing actions / screens / forms be extended and can be used and configured in IDE or is it AbstractInstallAction ?
  2. How can I use classes like RegistryRat for my custom components as they are used in the works given by the install4j structure? Specifically the way to configure these components inside the IDE.

You must add the Bininfo class and set a calculator mapper. View source file

Search for sample / custom code / sampleActionAbInfo.no./

in your install4j install4j installation and call setEnumerationMappers


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -