Could someone please post this script sample (provided below) as it should appear in the Code section of my Inno Script?

I get the idea that you should simply cut-and-past the functions as they appear listed in the article, and though I have tried to replace the {#emit SetupSetting("AppID")} with my AppID, as the article suggests; I am lost as to where I should make the call to ExpandConstant to make it work correctly.

http://www.vincenzo.net/isxkb/index.php?title=Upgrades

Thank you!

Quiver