Line XX: Attempting to get value of undefined variable...
Posted: Sun Dec 24, 2006 12:54 pm
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.
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.