activex - Ways to reduce the size of a Bacic MSI Installer using Installshield -
i made basic msi installer [using installshield 2012 spring professional ] install activex control , added component , enabled "extract com info on installation" option key file .
i have hard coded destination path , disabled license , company info ,destination path selection dialogs . in releases under seup.exe have enabled compression mszip .
the size of activex dll 200 kb , size of setup.exe file generated 1.5 mb , there can reduce size further ?
you'd have @ msi in orca see bloat coming from. might able simplify graphics used dialogs or might find c++ infrastructure custom actions inserted installshield don't need. (right click show custom actions)
i created basic msi using is2012 taking default settings (including mszip) , 613kb. added arbitrary ocx syswow64 folder ( selected based on size: ahtmlle2.ocx 218kb), extracted com data , rebuilt. msi 845kb using mszip , 809kb using lzx.
i looked @ binary table , saw setallusers.dll , isselfreg.dll. don't need either of took them out. got me down 438kb.
finally looked @ stock bitmaps used in dialogs. ( newbinary1 , newbinary5 in case. ) banner (nb1) 4kb. dialog (nb5) 16kb. not bloated. still turned them blank white jpg's , rebuilt. got me 424kb. there other things chase ( icons dialogs ) decided try wix.
i created wix msi using same jpgs , size 392kb. smaller, not in meaningful way. used cross check msi reasonably pure.
Comments
Post a Comment