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
- :
- InstallShield
- :
- InstallShield Forum
- :
- Machine not Rebooted in case of linux
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Nov 14, 2008
06:50 AM
Machine not Rebooted in case of linux
Hi,
I am using Installshield Multiplatform 11.5. I have created installaer using ISMP.
After end of installation it asked for reboot. If we select yes then machine reboot automaticcaly in case of windows but it failed in case of linux.
By default Installadhield API reboot the system if we select yes button.
Is there any bug in Installshield Multiplatform 11.5 for linux ? or we have write jave code for linux.
Thanks ain advance.
I am using Installshield Multiplatform 11.5. I have created installaer using ISMP.
After end of installation it asked for reboot. If we select yes then machine reboot automaticcaly in case of windows but it failed in case of linux.
By default Installadhield API reboot the system if we select yes button.
Is there any bug in Installshield Multiplatform 11.5 for linux ? or we have write jave code for linux.
Thanks ain advance.
(1) Reply
Nov 17, 2008
12:42 AM
we need to add below code in public void queryExitReboot(ISDialogQueryContext context)
try
{
if(rebootSelected)
{
if(System.getProperty("os.name").toString().equals("Linux"))
Runtime.getRuntime().exec("reboot");
}
}
catch (IOException e)
{
e.printStackTrace();
}
Thanks
Nilesh..
try
{
if(rebootSelected)
{
if(System.getProperty("os.name").toString().equals("Linux"))
Runtime.getRuntime().exec("reboot");
}
}
catch (IOException e)
{
e.printStackTrace();
}
Thanks
Nilesh..