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

setProgressPercentage()

Hello,

The problem: our IA project calls 8 sub-installers (which are themselves IA installers) during the install step. During the install, the progress bar jumps to about 95% after uninstaller was installed and then goes about running the 8 sub-installers. The sub-installers take substantially longer to run than the first "95%" of the installation.

Requirement: to have progress bar move more gradually.

Attempt: I've tried a simple text custom code to test setProgressPercentage() method. Here's a snippet.

public void install (InstallerProxy ip) throws InstallException {
try {
ip.setProgressPercentage (50); // also tried 0.5
Thread.sleep (10000);
} catch (InterruptedException e) {}
}


But the progress bar stays at 95% as before. setProgressPercentage() seems to have no effect.

Could someone confirm this or may be suggest a solution?

Thank you in advance,
Alex
Labels (1)
0 Kudos
(1) Reply
sybinstall
Level 3

Is this a known issue? I couldn't find anything on Google :S
0 Kudos