Results 1 to 2 of 2

Thread: [RESOLVED] Inno Setup Script Sample

  1. #1

    Thread Starter
    Hyperactive Member Quiver318's Avatar
    Join Date
    Sep 2007
    Posts
    260

    Resolved [RESOLVED] Inno Setup Script Sample

    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

  2. #2

    Thread Starter
    Hyperactive Member Quiver318's Avatar
    Join Date
    Sep 2007
    Posts
    260

    Re: [RESOLVED] Inno Setup Script Sample

    Thank you, but never mind. I found the problem.

    The code works correctly as it is appears in the article. I added my own AppID so I did not need to use the ExpandConstant. Sadly, the article is confusing in this regard, and so kept tryng to use it. Compouding the problem is that it is really hard to troubleshoot Pascal Script in Inno Setup (at least for me), so I could not find the real problem, which was my own spelling.

    In the script my AppID begins {{A22, but the key that it was referencing in the registry began with a single brace, like this {A22.

    That is all it was.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width