I've been doing some test builds in order to try to get a handle on the patches/update/upgrades thing, and I am running into the same error over and over....
I make a web compressed EXE with one PDF file in it. It downloads and installs fine. Using the same project, I add another PDF file, change the version to 1.1, add a patch reference to 1.0, and build that web EXE. It also works fine. It downloads, uninstalls version 1.0, and installs 1.1.
If I build the patch, then download and run it....the second PDF does not get added, nothing is updated, and worst of all, I can no longer uninstall 1.0. I get a message:
"Line 22: Attempting to get value of undefined variable UPDATE_CONFIGURED"
Using the 1.0 setup, I can run the /updatesetup /iact, and setup the task. After I do that, I try to run the /update /iact. I get the Line 22 error again, and the same uninstall problem. Sometimes also I get the "Line 314 Attempting to bla bla UPDATE_DOWNLOAD". I can get past the uninstall thing by installing the full 1.1 (above).
I have read "Patching", "Patch Source Resolution", "Versions", "Web Updates" and "Update Packs". I have also scoured the forums for the last 2 weekends. I am using Studio 6.1.
Line XX: Attempting to get value of undefined variable...
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
These variables are persistent, so their values are saved when setup quits, and re-loaded automatically. If you unchecked their "persist" option, or removed some Set Variable declarations in your update script, that would explain it.
If it doesn't work out of the box, then just create an empty project that illustrates the problem. Just a project that does nothing except schedule an update should help illustrate the first bug. So if you can create that, send it to us (the project sources), and we'll find out if this is an issue in InstallAware 6.1.
If it doesn't work out of the box, then just create an empty project that illustrates the problem. Just a project that does nothing except schedule an update should help illustrate the first bug. So if you can create that, send it to us (the project sources), and we'll find out if this is an issue in InstallAware 6.1.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Thanks for the fast reply Michael.
I will check the persist option, although I don't recall messing with it. Nor have I tampered with the scripts themselves, since I don't really have anything special to accomplish. I will create the empty project though, and see what happens.
I may skip this for today though, as I have a large amount of wrapping paper to destroy and a big ol' beer can chicken to eat
Merry Christmas to you.
I will check the persist option, although I don't recall messing with it. Nor have I tampered with the scripts themselves, since I don't really have anything special to accomplish. I will create the empty project though, and see what happens.
I may skip this for today though, as I have a large amount of wrapping paper to destroy and a big ol' beer can chicken to eat

Who is online
Users browsing this forum: No registered users and 200 guests