Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Progress bar issue with major upgrade


2 replies to this topic

vishalv

vishalv
  • Full Members
  • 39 posts

Posted 29 May 2006 - 10:58

Hi,
When I am doing a major upgrade, the progress bar goes for a toss once the reinstallation of the new product starts, i.e during the uninstallation of the older product the progress bar increments properly. However when the installation of the new product starts the progress bar starts from 0 and suddenly icrements to 100% even though the files are still being installed.

I tried using the following code but still the same result.
Enable(STATUS);
StatusUpdate(OFF,0);

Is the code appropriate or is there something else that needs to be done?

Any help or insight to this problem will be helpful.

Regards,
VishalV



vishalv

vishalv
  • Full Members
  • 39 posts

Posted 30 May 2006 - 10:24

Hi,
I have one more observation to add to this progress bar issue.

I have added the follwoing code to control the progress bar status.

Enable(STATUS);
SetStatusWindow(x,""); x-> is the ticks %age.


Also I added the OnMoving() function to control the progress bar while the file transfer is occuring.
I have the follwing code within OnMoving()

function OnMoving()
begin
Enable(STATUS);
end;



Due to this the the uninstall, Modify & Repair UIs have gone for a toss. Here I get only a progress bar and no UI.I do get the Maintenance window but I do not get the UI when the installer searches for the installed application.
This ocured only after I added the code to control the Progress bar.

How do I retain the code to control the progress bar and also show the UI too?
This is kind of an urgent requirement and I am stuck.
Any help is highly appreciated.

Thanks and Regards,
ShettyV


vishalv

vishalv
  • Full Members
  • 39 posts

Posted 31 May 2006 - 04:52

Hi,

I figured out the reason for the UI not being displayed during the Maintenance mode. I had commented out the line of code in OnMaintUIBefore() enable(STATUSEX) which is used to display the UI.

But I still have the progress bar issue.

Regards,
VishalV