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: Uncontrolled silent installation on Windows?
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
Dec 10, 2013
07:15 AM
Uncontrolled silent installation on Windows?
Hi,
when running installer (with AI2013 but it was the case with 2012 at least) in silent mode on Windows, the command immediately returns unlike on Unix where the command only returns when the installation is finished.
Is there a way to workaround this bug?
Thanks,
Xavier.
when running installer (with AI2013 but it was the case with 2012 at least) in silent mode on Windows, the command immediately returns unlike on Unix where the command only returns when the installation is finished.
Is there a way to workaround this bug?
Thanks,
Xavier.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 11, 2013
04:34 AM
For me silent installation always worked on Windows platform as well. Have you logging enabled? Checking the installation log might be helpful in debugging the issue.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 12, 2013
12:45 AM
pv7721 wrote:
For me silent installation always worked on Windows platform as well. Have you logging enabled? Checking the installation log might be helpful in debugging the issue.
Hi Vlad,
it works but not the same way as on Unix. On Unix when launching silent mode, the command doesn't return immediately by starting in the background a process. It only returns when the installation finishes that is what you would expect. So it's possible to retrieve the exit code and work with it. On Windows, it returns immediately and start a process in the background. How to get rid of this behavior that is not coherent between Unix and Windows?
Thanks,
Xavier.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 12, 2013
01:08 AM
Hi,
It’s windows behaviour, that when you run a GUI Application from command prompt it will launch the process and directly give back the control to the console. In order to achieve what you are looking for do the following configuration.
1. Open the project file in IDE
2. Navigate to Build > Build Installers > Build Targets > Windows(applicable for both win32 and win64 installers) and expand the Windows platform
3. Under the JVM Search Settings there are two radio buttons “Graphical Launcher” and “Console Launcher”
4. Select the “Console Launcher” radio button.
5. Build the installer
Now run the installer from command prompt(windows).
Let me know whether this helps what you are looking for.
Regards,
Utsab Karmakar
It’s windows behaviour, that when you run a GUI Application from command prompt it will launch the process and directly give back the control to the console. In order to achieve what you are looking for do the following configuration.
1. Open the project file in IDE
2. Navigate to Build > Build Installers > Build Targets > Windows(applicable for both win32 and win64 installers) and expand the Windows platform
3. Under the JVM Search Settings there are two radio buttons “Graphical Launcher” and “Console Launcher”
4. Select the “Console Launcher” radio button.
5. Build the installer
Now run the installer from command prompt(windows).
Let me know whether this helps what you are looking for.
Regards,
Utsab Karmakar
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 13, 2013
06:38 AM
UtsabKarmakar wrote:
Hi,
It’s windows behaviour, that when you run a GUI Application from command prompt it will launch the process and directly give back the control to the console. In order to achieve what you are looking for do the following configuration.
1. Open the project file in IDE
2. Navigate to Build > Build Installers > Build Targets > Windows(applicable for both win32 and win64 installers) and expand the Windows platform
3. Under the JVM Search Settings there are two radio buttons “Graphical Launcher” and “Console Launcher”
4. Select the “Console Launcher” radio button.
5. Build the installer
Now run the installer from command prompt(windows).
Let me know whether this helps what you are looking for.
Regards,
Utsab Karmakar
Hi,
this is the solution. 🙂
Actually, I've found it documented since IA 2012 in the User Guide in chapter Console Installers as a note:
"If the installer is built with a console launcher and is launched from the command prompt, the prompt will wait
until the launched process is complete before opening a new prompt."
It works even when using ANT task with this parameter: OverrideAllPlatformSettings="true"
Is there an option in the ANT task to set it even if not set in the iap_xml?
The EDI is not used for building in my project and all the build targets have been completely removed.
Thanks,
Xavier.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 13, 2013
10:07 AM
Hi,
If your issue is only retrieving installer return code in testing silent mode, you can simply call your executable from inside a batch file ... that way, the script will only exits after the installer exits.
Regards
Jerome
If your issue is only retrieving installer return code in testing silent mode, you can simply call your executable from inside a batch file ... that way, the script will only exits after the installer exits.
Regards
Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 16, 2013
02:06 AM
jerome_IA wrote:
Hi,
If your issue is only retrieving installer return code in testing silent mode, you can simply call your executable from inside a batch file ... that way, the script will only exits after the installer exits.
Regards
Jerome
Hi,
This also works.
Thanks,
Xavier.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)