This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Custom Code for Silent Installations
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 27, 2010
01:36 AM
Custom Code for Silent Installations
Hi,
How can I add a custom code for Silent Installation ?
For GUI installation we can use the action Execute Custom Code in the general tab, for console installation we can use the same in the Console tab, however we do not have any option for silent installation.
Is there a way we can have the a custom code executed for a console installation ?
Thanks
How can I add a custom code for Silent Installation ?
For GUI installation we can use the action Execute Custom Code in the general tab, for console installation we can use the same in the Console tab, however we do not have any option for silent installation.
Is there a way we can have the a custom code executed for a console installation ?
Thanks
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 27, 2010
04:34 AM
All custom code is executed in silent mode, unless it's a Custom Panel or Custom Console.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 23, 2011
01:53 PM
so how to deal with Custom Panel or Custom Console in Silent mode?
I have a custom panel and console, after creating the silent properties file, I found selections I made on custom panel and custom console are not recorded.
any solution?
I have a custom panel and console, after creating the silent properties file, I found selections I made on custom panel and custom console are not recorded.
any solution?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 24, 2011
04:15 AM
The only solution is to take care of the variables that are filled by Custom Panels by setting them in the installer.properties file.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 28, 2011
04:12 PM
no other solution? you said 'only'
is it a new feature IA would consider to add later?
is it a new feature IA would consider to add later?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 01, 2011
03:12 AM
I think that this works as designed: as Custom Panels / Consoles that would normally be displayed during interactive setup are not displayed and executed in the silent mode, the resulting variables must be filled somehow. I think in newer IA versions you have the Always Generate Response file, which would generate the installer.properties file.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2011
09:18 AM
it is a big problem for us now.
in our custom code, we have some custom java codes to check the user's license to determine what kind of modules the user has permission to install, it works perfect in non-silent mode, but in silent mode, the custom code is skipped, and the user now has no permission to install any module although he has a full license.
any solution for this situation?
in our custom code, we have some custom java codes to check the user's license to determine what kind of modules the user has permission to install, it works perfect in non-silent mode, but in silent mode, the custom code is skipped, and the user now has no permission to install any module although he has a full license.
any solution for this situation?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2011
04:45 AM
As I was saying before, if your Custom Code is a Custom Panel / Console, you would need to rewrite it outside of a the Panel / Console, so it won't be skipped in silent mode.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)