Information générale
Catégorie:
Installation et configuration
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement