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
- :
- Re: Progress Bar not Moving
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
‎Mar 04, 2010
05:51 PM
Progress Bar not Moving
This is an Installscript project.
I've created a new installer which installs about 400 megs of files. When the installer runs, the first block of the progress bar is drawn, but it never updates. Once the files complete copying, the installer just moves to the next screen.
What am I doing wrong here? I am not executing any CopyFile or XCopyFile commands manually.
I've created a new installer which installs about 400 megs of files. When the installer runs, the first block of the progress bar is drawn, but it never updates. Once the files complete copying, the installer just moves to the next screen.
What am I doing wrong here? I am not executing any CopyFile or XCopyFile commands manually.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2010
02:43 AM
SetStatusWindow(0, "");
Enable(STATUSEX);
StatusUpdate(ON, 100);
Enable(STATUSEX);
StatusUpdate(ON, 100);
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2010
12:06 PM
I am calling SetStatus just before FeatureMoveData. It just seems like FeatureMoveData doesn't cause the progress bar to be updated at all:
MessageBox("Here", SEVERE);
SetStatusWindow( 2, "");
Enable (STATUSEX);
StatusUpdate( ON, 100 );
// Move Data
nResult = FeatureTransferData( MEDIA );
MessageBox("Here 2", SEVERE);
My understanding is that the first SetStatusWindow should set the status bar to 2%, and by the StatusUpdate says that when FeatureTransferData is complete, the bar should be at 100%. However, when my second message box pops up (or when there are no message boxes at all), the progress bar is still at 2.
-Brett
MessageBox("Here", SEVERE);
SetStatusWindow( 2, "");
Enable (STATUSEX);
StatusUpdate( ON, 100 );
// Move Data
nResult = FeatureTransferData( MEDIA );
MessageBox("Here 2", SEVERE);
My understanding is that the first SetStatusWindow should set the status bar to 2%, and by the StatusUpdate says that when FeatureTransferData is complete, the bar should be at 100%. However, when my second message box pops up (or when there are no message boxes at all), the progress bar is still at 2.
-Brett
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2010
12:09 PM
One more note - the progress bar works just fine on the previous code snippit I posted during an uninstall. Not sure if that helps make my problem any more obvious.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2010
12:10 PM
I am calling SetStatus just before FeatureMoveData. It just seems like FeatureMoveData doesn't cause the progress bar to be updated at all:
My understanding is that the first SetStatusWindow should set the status bar to 2%, and by the StatusUpdate says that when FeatureTransferData is complete, the bar should be at 100%. However, when my second message box pops up (or when there are no message boxes at all), the progress bar is still at 2.
MessageBox("Here", SEVERE);
SetStatusWindow( 2, "");
Enable (STATUSEX);
StatusUpdate( ON, 100 );
// Move Data
nResult = FeatureTransferData( MEDIA );
MessageBox("Here 2", SEVERE);
My understanding is that the first SetStatusWindow should set the status bar to 2%, and by the StatusUpdate says that when FeatureTransferData is complete, the bar should be at 100%. However, when my second message box pops up (or when there are no message boxes at all), the progress bar is still at 2.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)