InstallAware Update Script 2.0

Post specialized setup scripts you have created here.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

InstallAware Update Script 2.0

Postby MichaelNesmith » Thu Jul 13, 2006 7:24 am

Attached is version 2.0 of the InstallAware Update Script.

R&D have worked very hard on incorporating the latest user suggestions and feature requests into this script.

New Features:
* Update checks may now be run directly without prior update configuration. In this case, a "notify me before downloading" option is assumed.
* Once an update has been scheduled, installing a new version of the product will continue the same update on the same schedule, without needing to re-schedule the update.

Bug Fixes:
* Dual configuration dialogs were occasionally shown while running updates under Windows 9X. Fixed.
* If updates were available but all were disqualified by the internal logic of the update script, this caused problems. Fixed.
* Updates were not scheduled under the domain when a user logged on under a domain. Fixed.

Requirements:
* Define a compiler variable called #TITLE# in your setup project, matching the value of $TITLE$. Note: The upcoming release of InstallAware will do this automatically for you.
* When upgrading older update clients, use this code in your setup script:

Code: Select all

 Set Variable NEEDSUPGRADEBACKUP to $NEEDSUPGRADE$
 Set Variable NEEDSUPGRADE to FALSE
 Include Script: updates
 Set Variable NEEDSUPGRADE to $NEEDSUPGRADEBACKUP$

in place of the old code. This lets the new update mechanism (2.0) correctly take ownership of the older (1.0) update mechanism.

Please let us have your feedback so we can refine the update script further, in time for the InstallAware update due very soon.

File Attached:

updates.mia
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Edhy
Posts: 125
Joined: Sun Jul 31, 2005 4:09 pm
Location: New York, USA

Postby Edhy » Thu Jul 13, 2006 4:58 pm

Hi Michael,

Today I tested this new script and it is working as advertised.

I was able to check for updates without having to setup an schedule.

I tested the /updatesetup and indeed the domain name was added correctly.

Thanks for listening!
Edhy Rijo
Progytech (Computer Consultants)

Tinus
Posts: 204
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Postby Tinus » Fri Jul 14, 2006 3:41 am

Sorry, but I run into a new problem.

The shortcuts created in windows\\installer only work if setup is not localised.

To verify this: create a new win 32 project. Set #TITLE# to My Win32 Setup.
Build and install. Shortcuts are created as My Win32 Setup update...

Now export for translation and read back English and German. Build again.
On my German Windows XP I get shortcuts with #TITLE# update now.
Martin Rothschink
InstallAware MVP

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware

Tinus
Posts: 204
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Postby Tinus » Fri Jul 14, 2006 3:46 am

Please let us have your feedback so we can refine the update script further, in time for the InstallAware update due very soon.

and I like to have an interactive option usefull if called from a shortcut by the user.

This option should:
- not show any ballon messages (no hidden windows)
- give user feedback if no updates are available
Martin Rothschink
InstallAware MVP

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware

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

Postby MichaelNesmith » Fri Jul 14, 2006 6:34 am

Martin

When you are localizing, directly localize the compiler variable - don't leave it as a compiler variable.

The interactive option you describe is interesting, but its not planned for the base feature set at this time.

Feel free to customize the script and post it here for others to share.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Sample Scripts”

Who is online

Users browsing this forum: No registered users and 1 guest