Product documentation
Abstract
You can use the -showUpdateFromVersion option to show the package version that can be updated by using the specified repository.
Content
For IBM Installation Manager and IBM Packaging Utility version 1.6, the -showUpdateFromVersion option is a technology preview.
Information about the -showUpdateFromVersion option
-showUpdateFromVersion
You can create a repository that contains only the files that are required to update to a later version by using the -updateFromVersion option. For information on this option, see http://www-01.ibm.com/support/docview.wss?uid=swg27023960.
You use the -showUpdateFromVersion to verify that the repository contains the files required to update the package from a specific version.
For example, you have a repository that contains an update for Product A. The update version is 1.0.3.2. The update from version is 1.0.3. Version 1.0.3 of Product A must be installed before you update the product to version 1.0.3.2 by using the specified repository.
If the repository is not created with the -updateFromVersion option, then the repository is a full repository and you see the value 0.0.0.
Use with the commands:
imcl listAvailablePackagespucl listAvailablePackages
List the packages and the update from versions by using the
-showUpdateFrom
Version
option
1. Install Installation Manager version 1.6, see http://www-01.ibm.com/support/docview.wss?uid=swg24032641.
2. Open a command-line utility.
3. Open the
tools directory:
Tools directory locations in the installed version of Installation Manager
| Administrator | Nonadministrator | Group | |
|---|---|---|---|
| Windows 2000 and Windows XP Professional | C:\Program Files (x86)\IBM\Installation Manager\eclipse\tools | C:\Documents and Settings\user\IBM\Installation Manager\eclipse\tools | Not available |
| Windows Vista, Windows 2008, and Windows 7 | C:\Program Files\IBM\Installation Manager\eclipse\tools | C:\Users\user\IBM\Installation Manager\eclipse\tools | Not available |
| Linux and UNIX | /opt/IBM/InstallationManager/eclipse/tools / | user_home_directory/IBM/InstallationManager/eclipse/tools / | user_home_directory/IBM/InstallationManager_Group/eclipse/tools |
4. Run the
listAvailablePackages command:
imcl listAvailablePackages -repositories source_repository -showUpdateFromVersion
Commands examples by platform:
Windows:
imcl.exe listAvailablePackages -repositories
http://server/repository/package -showUpdateFromVersion
Linux, UNIX, IBM i, and z/OS:
./imcl listAvailablePackages -repositories
http://server/repository/package -showUpdateFromVersion
Example:
The http://server/repository/package repository contains the offering:
com.ibm.example1.offering_1.0.3.20120508_1234. This offering is the update for version
1.0.1.20110112_1041
You run the command:
imcl listAvailablePackages -repositories http://server/repository/package -showUpdateFromVersion
You receive the result:
com.ibm.example1.offering_1.0.3.20120508_1234 : 1.0.1.20110112_1041
For information about the
imcl and
pucl commands and options, see the
IBM Installation Manager Information Center.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.