This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Help with creating Linux products and patches
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Sep 13, 2012
02:46 AM
Help with creating Linux products and patches
Product: InstallAnywhere
Version: 2011 Enterprise
Operating System: Windows 7 64 bit
Java Version: SunJRE170_03Linux32 (VM)
Database:
Short Description of the problem:
To create a Linux patch with rollback option during uninstallation.
Detail Problem:
The requirement is to create Linux product installer and patches (includes support for Ubuntu OS as well).
The current understanding of IA is that, patches are created as an upgrade installation and on uninstallation of patches the whole product will be uninstalled.
Following are the requirements in Linux/Ubuntu environment,
1. Create a patch for Linux installer (created using IA) which will deploy files and perform custom actions and on uninstallation of the patch should revert the deployed files (meaning replace original file from installer) and patch related custom action.
2. Create a patch which verifies if previous patch is installed or not and then apply the current patch.
3. How to set the setting while creating a patch such that if a previous patch exists then do not install the current patch.
4. Create packages such that few file will be deployed only when the OS is Ubuntu 32/64 bit.
Also I tried to create patches using the following How To link, but I am not able to install the patch since the $USER_INSTALL_DIR$ returns null. My assumption is that the “Set InstallAnywhere Variable – Single Variable” sets $USER_INSTALL_DIR$ to null.
“http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q112993”.
Version: 2011 Enterprise
Operating System: Windows 7 64 bit
Java Version: SunJRE170_03Linux32 (VM)
Database:
Short Description of the problem:
To create a Linux patch with rollback option during uninstallation.
Detail Problem:
The requirement is to create Linux product installer and patches (includes support for Ubuntu OS as well).
The current understanding of IA is that, patches are created as an upgrade installation and on uninstallation of patches the whole product will be uninstalled.
Following are the requirements in Linux/Ubuntu environment,
1. Create a patch for Linux installer (created using IA) which will deploy files and perform custom actions and on uninstallation of the patch should revert the deployed files (meaning replace original file from installer) and patch related custom action.
2. Create a patch which verifies if previous patch is installed or not and then apply the current patch.
3. How to set the setting while creating a patch such that if a previous patch exists then do not install the current patch.
4. Create packages such that few file will be deployed only when the OS is Ubuntu 32/64 bit.
Also I tried to create patches using the following How To link, but I am not able to install the patch since the $USER_INSTALL_DIR$ returns null. My assumption is that the “Set InstallAnywhere Variable – Single Variable” sets $USER_INSTALL_DIR$ to null.
“http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q112993”.
(3) Replies
Sep 18, 2012
02:08 AM
Find my answers for your questions as below.
1) Unfortunately the example link that you are referring to does not support the rollback feature that you are looking for. One work around i can think of is... in the patch post uninstaller, you may silently install the original installer.
(Be careful becoz you many loose existing data)
2. The example shows you how to achieve this.
3. Again the example shows you how to achieve this.
4. In the patch installer while copying the files just put a rule for checking the OS type.
(Also I tried to create patches using the following How To link, but I am not able to install the patch since the $USER_INSTALL_DIR$ returns null. My assumption is that the “Set InstallAnywhere Variable – Single Variable” sets $USER_INSTALL_DIR$ to null.
“http://kb.flexerasoftware.com/selfse...nalID=Q112993”.)
You are not supplying the correct component UID.
You may check the /var/.com.zerog.registry.xml file on the system where your original product is installed to find out the correct UID of the component.
1) Unfortunately the example link that you are referring to does not support the rollback feature that you are looking for. One work around i can think of is... in the patch post uninstaller, you may silently install the original installer.
(Be careful becoz you many loose existing data)
2. The example shows you how to achieve this.
3. Again the example shows you how to achieve this.
4. In the patch installer while copying the files just put a rule for checking the OS type.
(Also I tried to create patches using the following How To link, but I am not able to install the patch since the $USER_INSTALL_DIR$ returns null. My assumption is that the “Set InstallAnywhere Variable – Single Variable” sets $USER_INSTALL_DIR$ to null.
“http://kb.flexerasoftware.com/selfse...nalID=Q112993”.)
You are not supplying the correct component UID.
You may check the /var/.com.zerog.registry.xml file on the system where your original product is installed to find out the correct UID of the component.
Nov 15, 2012
07:30 AM
Masudkhan wrote:
Find my answers for your questions as below.
4. In the patch installer while copying the files just put a rule for checking the OS type.
(Also I tried to create patches using the following How To link, but I am not able to install the patch since the $USER_INSTALL_DIR$ returns null. My assumption is that the “Set InstallAnywhere Variable – Single Variable” sets $USER_INSTALL_DIR$ to null.
“http://kb.flexerasoftware.com/selfse...nalID=Q112993”.)
You are not supplying the correct component UID.
You may check the /var/.com.zerog.registry.xml file on the system where your original product is installed to find out the correct UID of the component.
Hi,
I checked the 4) issue, in the file /var/.com.zerog.registry.xml file I can see that I have given the right component id. It returns the count and version value correctly in "Find Component Registry" action, just that location is returned as NULL even though the entry is there in /var/.com.zerog.registry.xml.
And I am using IA 2012 EE.
Nov 15, 2012
07:32 AM
Masudkhan wrote:
Find my answers for your questions as below.
4. In the patch installer while copying the files just put a rule for checking the OS type.
(Also I tried to create patches using the following How To link, but I am not able to install the patch since the $USER_INSTALL_DIR$ returns null. My assumption is that the “Set InstallAnywhere Variable – Single Variable” sets $USER_INSTALL_DIR$ to null.
“http://kb.flexerasoftware.com/selfse...nalID=Q112993”.)
You are not supplying the correct component UID.
You may check the /var/.com.zerog.registry.xml file on the system where your original product is installed to find out the correct UID of the component.
i checked the file /var/.com.zerog.registry.xml location entries are there for the mentioned component UID, it returns corrent count and version for $REG_COMPONENT_COUNT$ and $REG_COMPONENT_VERSIONS$ respectively. However the $REG_COMPONENT_LOCATIONS$ always returns NULL even though the location entry is available in /var/.com.zerog.registry.xml