Dec 20, 2010
03:10 PM
I’m looking for some guidance on how to get one uninstaller working for multiple dynamic merge modules. I’m using IA2010 SP1 with hotfix A (build 3792). I’ve been able to create the single Uninstaller, however it only partially uninstalls. I suspect I’m missing something basic? Sorry for the long post, but hopefully I’ve covered everything pertinent. I have a dozen or so existing IA installers that I’ve re-built as merge modules and dynamically imported as components in a “suite” Installer. The components are associated to features and the features to Install Sets. With maintenance mode enabled or not, I can install successfully and create a single uninstaller. The problem is that the uninstaller seems to only partially uninstall; I suspect only the pre-uninstall logic of the last installed merge module is executed, followed by the uninstall step of the “suite”. For this post, I’ve reproduced the issue with a very scaled down Windows installer based on the “Office Suite” example from the User Manual; if anyone can suggest a solution? The IA user guide, indicated that there were 4 guidelines to achieving a single installer: (1) Every product must have the same Product ID. (2) Each separate product should then be “demoted” to a feature of the master product. (3) The uninstallers for these separate projects must also share the same uninstaller name and uninstaller location. (4) Every product that installs features will register its features with the uninstaller. I believe I’ve followed guidelines 1 through 3, although I’m a little unclear on the 4th on how to “register a feature with an uninstaller”. Looking at the product registry file (.com.zerog.registry.xml) the product/feature parenting tags seem to be created with out me adding any specific IA actions. The registry however does look incorrect or at least different than what I would expect, in that the last merge module in the installer is listed as the “product”. (registry file attached) Example Installer: • “OfficeSuiteExample” dynamically importing “SpreadsheetApplication” and “WordProcessorApplication” • All 3 installers definitions have the same product id. • All have the same default install dir: “$DESKTOP$\IA_Example\InstallDir” • Each Installs a text file to test bare minimal install functionality. • All have the Uninstaller name and location: “$USER_INSTALL_DIR$\Uninstall\ChangeInstallation” • Installation appears successful • Uninstall appears to executes (1) “WordProcessor Application” pre-uninstall actions and (2) uninstall OfficeSuite file. What is missing from the execution are: o Spreadsheet and Office Suite Pre-Uninstall not executed o Spreadsheet and WordProcessor files not Uninstall Install config looks like this: In Screen capture on the install, I’ve kept the basic template of each installer to be able to see the progression of the Install steps. Directory after Installation contains the expected 3 text files and single uninstaller. In screen capture of Uninstall, I’ve included the feature list variable which looks reasonable. The Window title, panel title and info text all indictate the "WordProcessor Application". Directory after Uninstall, leaves these files behind. SpreadsheetExampleFile.txt WordProcessorExampleFile.txt Uninstall logs only created for WordProcessor, and nothing particularly note worthy in log. I can make the iap_xml files available if anyone wants. Thanks in advance for any help you may be able to provide.
... View more
Labels
- Labels:
-
InstallAnywhere 2010
Dec 13, 2010
11:10 AM
Perhaps this is IOA-000057943 resolved in hotfix 'A' ? See following URL for patch information: http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q211178&sliceId=1&docTypeID=DT_HOTFIX_1_1&dialogID=100379600&stateId=0%200%20100381054
... View more
Latest posts by andreo
Subject | Views | Posted |
---|---|---|
5666 | Dec 20, 2010 03:10 PM | |
822 | Dec 13, 2010 11:10 AM |
Activity Feed
- Posted Single Uninstaller for multiple dynamic merge modules on InstallAnywhere Forum. Dec 20, 2010 03:10 PM
- Posted Re: Upgrading from 2010 to 2010 SP1 causes build error with respect to merge modules on InstallAnywhere Forum. Dec 13, 2010 11:10 AM