PDA

View Full Version : InstallScript: Get current Status (Percentage)



danielh
06-24-2014, 09:08 AM
Hi at all,

i've got a FeatureEvent which needs long time to finish. There will no files be copied, so the status-bar of IS is standing at the same percentage. Now, I would like to use SetStatusWindow to update the status bar durring this step. Can I get the current percentage of IS, so I can do soething like follwing:



nCurrentStaus = GetCurrentStaus();


do
if(nCurrentStatus + 1 < 100 then
nCurrentStatus = nCurrentStatus +1 ;
endif;
SetStatusWindow(nCurrentStatus, "");
while();