I have 10 bitmaps that I would like to cycle among FileInstall and my
custom action that follows FileInstall.

My execute sequence looks like this:

      <InstallFiles Sequence="4000" />
      ....
      <Custom Action="AfterInstallFilesImmediate" After="InstallFiles"
/Custom>
      <Custom Action="AfterInstallFilesDeferred"
After="AfterInstallFilesImmediate" /Custom>

Bitmaps are split between these two actions like in this example:

      <BillboardAction Id="InstallFiles">
        <Billboard Id="FirstBillboard" Feature="InstallAll">
          <Control Id="Bitmap" .... />
        </Billboard>
        <Billboard Id="SecondBillboard" Feature="InstallAll">
          <Control Id="Bitmap" .... />
        </Billboard>      

         ... 3 more bitmaps
      </BillboardAction>


      <BillboardAction Id="AfterInstallFilesDeferred">
      ... similar to above with 5 more bitmaps
      </BillboardAction>

Ticks are reserved in immediate custom action using:

        ::WcaProgressMessage(totalticks, TRUE); 

and ticks are consumed in deferred action using many statements
scattered through the code, like this

        ::WcaProgressMessage(pieceoftotal, FALSE);  // tick the progress
bar

All in all, I am doing what available documentation says I should be
doing:

The problems:
1) (apparently) depending on how many total ticks were reserved for
custom action, standard action InstallFiles displays 2,3 or all 5
billboard bitmaps. How to monitor, debug, understand, change,  ... this
behavior?
2) billboard bitmaps never change during the execution of deferred
custom action. Again, how to understand and debug this behavior?

Thanks for any input!

As an interesting aside, microsoft.public.platformsdk.msi group shows
similar billboard-related questions posted in 2001, then 2003 and the
last one in 2005. I cannot see any answers that sheds light on this
billboard mystery so now, after 3 years, it is probably a good time to
ask the question about the billboard programming again. 




  

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to