Build Patch fails: \"Compile Error: Too many END statements\"

Got a problem you cannot solve? Try here.
Bob Lawblaw
Posts: 5
Joined: Wed Jul 19, 2006 4:51 pm

Build Patch fails: \"Compile Error: Too many END statements\"

Postby Bob Lawblaw » Thu Sep 07, 2006 2:56 pm

Background:
InstallAware version 6
Project Type: Web Install
Compression: Max
Password Protection: YES

We're going into beta and wish to provide patch-based updates. Each installer is given a random password as part of the automated build process.

Now when I go to the Patch UI page, I add the .exe of a previous build. Note that all web components for that build are also available in the same directory. I then click "Build Patch" and get the following error messagebox:

---------------------------
Compile Error
---------------------------
Too many END statements
---------------------------
OK
---------------------------

Note that the current project compiles, as did the previous versions as evidenced by their existence.

Thoughts:
- Is the fact that different passwords are used between builds an issue? The "Build Patch" process seems to think it does not need the password to the previous installer. If the password is required and there is no place to provide it, this is a problem.

- The complete source paths to installed files repeatedly causes us hardship. Is this an issue again? (i.e. if I try to make a patch from version A to B, each built with different root paths?)

This is for a high-profile company's commercial software release.
Thank you for your prompt help. If it's easier, I can be reached by phone - let me know to whom I should PM my phone number.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Thu Sep 07, 2006 5:56 pm

Hi Bob,

Please review your MSIcode script, paying close attention to the compiler variables. Compiler variables are used when building patches, and they automatically omit a portion of your script. Adjusting the Compiler Variable If commands and the content they wrap should fix this problem for you.

If you would like InstallAware Consulting Services to give you a hand with fixing your project, please drop us an email at our sales address.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 48 guests