UPDATE_CONFIGURED. Stored where?

Got a problem you cannot solve? Try here.
Fig
Posts: 22
Joined: Tue Aug 15, 2006 12:27 pm

UPDATE_CONFIGURED. Stored where?

Postby Fig » Tue Sep 25, 2007 8:16 am

I built an IA6.6 project using the Update 2.0 script for my app (lets call it MyInstaller.exe). Some user's, when re-installing my application are getting an error:

Runtime error in setup script:
Line 280: Attempting to get value of undefined variable UPDATE_CONFIGURED.

I need to be able to delete this stored variable on the user's computer so that they can install my application. Where would this persistent variable be stored on their computer?
myahe.dat?
MyInstaller.dat (if there is such a file)?
Registry (if so, where?)?

I've read the forum posts on myahe.dat but they appear to relate to the installation of IA itself. I've searched my own computer and read the help files. I'm still stuck.


... Fig

(p.s. since I released the product I have upgraded to IA7).
... Fig

Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Postby Alex_Ronquillo » Tue Sep 25, 2007 11:35 am

The values for persistent variables are stored in both MyInstaller.dat and MyInstaller.exe which are located at the uninstall folder. However, I am not sure what would happen if you remove them. For sure, if you modify the exe file, it will crash, but cannot tell about the .dat file.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Fig
Posts: 22
Joined: Tue Aug 15, 2006 12:27 pm

Postby Fig » Tue Sep 25, 2007 3:39 pm

Thanks!

So, to fix this I should be able to just remove the uninstall folder? That should remove the MyInstaller.dat *and* MyInstaller.exe files (assuming the project is named 'MyInstaller').

It appears these folders were not removed during the uninstall on *some* of my user's computers.

Does the the uninstall folder have a CSIDL of CSIDL_COMMONAPPDATA ?

On XP C::\\Document and Settings\\All Users\\Application Data\\<install_guid>

On Vista C:\\Program Data\\<install_guid>
... Fig

Fig
Posts: 22
Joined: Tue Aug 15, 2006 12:27 pm

Postby Fig » Wed Sep 26, 2007 4:44 pm

Deleting the uninstall folder did not work. I tested using my development computer. Subsequent installation attempts still resulted in

"Line xxx, unable to find variable UPDATE_CONFIGURED"

After cancelling the error there was an empty product guid folder (C:\\Documents and Settings\\All Users\\Application Data\\<guid>) as if the installer was trying to find the "MyInstaller.dat" file there, but could not.

I also did a test by copying the IA "myahe.dat" file into the above folder but renaming it "MyInstaller.dat". Afterwards when I ran my install it offerred the uninstall choices. This worked and I was able to then reinstall my app.

This doesn't help me with client computers, though. What needs to be cleaned up on a target computer to prevent the unable to define UPDATE_CONFIGURED message?
... Fig


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 87 guests