Problems with update script

For all your non-technical questions.
greyhound
Posts: 2
Joined: Mon Feb 19, 2007 12:55 pm
Location: UK
Contact:

Problems with update script

Postby greyhound » Mon Feb 19, 2007 1:08 pm

Am current evaluating IA with a view to it replacing IS11 with particular emphasis on it handing application updates.

Not sure if this is my lack of understanding or not but there seems to be a number of issues with the default update script that is added to a project.

1. The UPDATE_DOWNLOAD and UPDATE_AUTO variables seem to be initially undefined when running the update, have had to define these myself to get it going.

2. The details of what has been applied in an update is written out to the installedupdates.dat file in the $EXEDIR$ folder. This appears to be a temporary folder and is different each time the setup is run in update mode, thus the details of previously installed updates is not available when next run.

Would appreciate comments.

Generally product looks good albeit somewhat quirky, found it difficult in some places to understand the help. Could really do with more examples.

Regards
Graeme

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

Postby MichaelNesmith » Tue Feb 20, 2007 4:50 am

1. These variables are defined by the update scheduling process, which is part of the update script. If you haphazardly deleted the part of the script that runs the update scheduler, you may have broken the logic. Note that if you don't want a scheduler, this forum does contain a pre-built update script capable of running directly.

2. Did you actually test this behavior at runtime? Because then you would have seen that this $EXEDIR$ is where the installer is cached locally on your machine after a successful install. Or, again this might be caused by your script modifications, if you did test at runtime and the test failed.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

greyhound
Posts: 2
Joined: Mon Feb 19, 2007 12:55 pm
Location: UK
Contact:

Postby greyhound » Tue Feb 20, 2007 5:48 am

re: 1 - can you let me know where on the forum I can find that update script?

Rgds


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 42 guests