I have a problem with the progressbar in my installation. I have one big component and 6-7 smaller ones. Installshield appears to install the smaller ones first and when it is time for the big one the progress bar is already at 98%. This is of course incorrect since the big component is ten times bigger than the other ones together.
Code Sample |
ComponentSelectItem ( MEDIA , "Specific English UK" , FALSE ); ComponentSelectItem ( MEDIA , "Specific English US" , FALSE ); bIsAmerican = FALSE; if ( SELECTED_LANGUAGE == 0x0009) then ChangeDirectory(SRCDIR); nResult = UseDLL(SRCDIR ^ "MY.DLL"); if (nResult >= 0) then isAmerican(bIsAmerican); nResult = UnUseDLL(SRCDIR ^ "MY.DLL"); else MessageBox("Couldn't load MY.DLL.", WARNING); endif; if ( bIsAmerican ) then ComponentSelectItem ( MEDIA , "Specific English US" , TRUE ); else ComponentSelectItem ( MEDIA , "Specific English UK" , TRUE ); endif; endif; ComponentMoveData("", nResult, 0); // set up default status SetStatusWindow( 0, "" ); Enable( STATUSEX ); StatusUpdate( ON, 100 ); |
This is what I do before filetransfer. It's the only place where I mess with components..see anything bad?
Thanks in advance,
Jonas