to change bitmap of an installer
banner.bmp, it needs to be bmp file format of 500x70 size.


cscript UpdateBanner.js CloudWindowsClient_x64_5.11.1404.30978.msi banner.bmp


How it works. 

MSI installer is a database that can be modified using SQL statements.

In the Binary Table, there is a DefaultBannerBmp entry, we can update the file stream to the new banner.

In the Control Table, we will then set all the bitmap to the DefaultBannerBmp. 

Since the MSI file is changed, you will need to sign the MSI after. 

if the .js file type association is not with script file, you may need to run this command before running the cscript transform.
assoc .js=JSFILE
