Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Install Shield
Message
De
22/01/2002 13:17:54
 
 
À
22/01/2002 12:38:51
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Titre:
Divers
Thread ID:
00608505
Message ID:
00608532
Vues:
16
Hi Jim,

Unfortuantely the version of Installshield Express which ships
with VFP does not readily let you upgrade an application. The upgrade feature on the UI is disabled. Only retail version of Express has Upgrade Creation
Support. Furthermore, patches cannot be created in the retail version.

You can still prepare a Major Upgrade with Express by changing the
Package Code and Product Code of your application. Leave the
UPGRADE code the same. The upgrade code is used to identify a
string of related products.

Ideally you will want to edit the Upgrade table of your MSI database.
If Express does not contain a direct table editor you can use the
editor that comes with Visual Studio.

Create a line as follows in the upgrade table.

In the new row make sure the Upgradecode column is the same as the
upgrade code for you old apps. Set the VersionMax and VersionMin
columns to the minimum and maximum version that should be upgraded.
Set Attributes to 1025 and ActionProperty to OLDPRODUCTS

In the properties table make sure SecureCustomProperties contains
OLDPRODUCTS.

You have now told Windows Installer to UNINSTALL your old application. Your product will automatically be uninstalled during the Windows Installer execute sequence. Your upgrade will then be installed.

If you are willing to change how MSIExec is invoked, you can skip changing the upgrade table. You're old application will not be uninstalled however.

In this instance you can invoke the Windows Installer with
msiexec /i packagename.msi REINSTALL=all REINSTALLMODE=vomus

You are telling the installer to Reinstall your product and the "v" signals the installer to use the new package you have instead of the package cached on the
users system. Without the "v" parameter you will get an error message!!!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform