I have written my installer pages with the custom UI needed. I dont understand where to put the actual installation part code. For eg: I want to extract some files and stamp them.
I have a installation progress bar status page. I am trying to perform all these operations while user is on this page.
Wrote a function as follows
Function MyInstallFun
;Extract something
;Execute msi file
;Execute bat file
FunctionEnd
I tried following approach
Page custom ProgressPage MyInstallFun
But this way the part is executed on after user clicks Next
Also, Tried Call MyInstallFun
from inside of Function ProgressPage
but the UI looks blank for a while until operations take place and then progress Page is displayed which is wrong.
Can someone please suggest how to install some heavy files using NSDialog custom page?
You are not really supposed to perform long operations on other pages. You could try running the operation in a background thread...