cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nil_Developer
Level 3

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.
Labels (1)
0 Kudos
(1) Reply
Nil_Developer
Level 3

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..
0 Kudos