Community Forums
Page 1 of 4 123 ... LastLast
Results 1 to 5 of 18

Thread: Error while checking for instances

  1. #1
    Join Date
    Jan 2009
    Location
    India
    Posts
    13

    Error while checking for instances

    Hi,

    I have recently started working on Installanywhere 2010.
    We are trying to migrate our Installshield installer to Installanywhere.
    I was looking at the implicit options available for upgrade with Installanywhere. I found that instance management has been added to the Installanywhere which takes care of the upgrade.
    I made a sample project with version 8.5.0.0 and then created a higher version build 8.5.1.0.
    In the advances settings, I have enabled the maintenance mode support and checked all its available options.
    I have enabled Instance Management and limited it to a single instance.
    I have selected to identify instance using location and subrevision.

    I installed 8.5.0.0.
    When I run the installer for 8.5.1.0 it presents me with an option of modifying the existing instance and Installanywhere is able to find the correct instance. But one I go to next step it gives an error saying
    An error occured while trying to manage the selected instance.
    I ran the installer in debug mode and found the following error messages.

    Code:
    ChooseBundledVMs: Unable to locate the VMPack Directory
    ZGUtil.getInputStream(): unable to load resource:
        uninstaller.properties
    java.io.FileNotFoundException: uninstaller.properties (The system cannot find th
    e file specified)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileInputStream.<init>(Unknown Source)
            at ZeroGd.b(DashoA10*..)
            at ZeroGd.l(DashoA10*..)
            at com.zerog.ia.installer.LifeCycleManager.x(DashoA10*..)
            at com.zerog.ia.installer.LifeCycleManager.m(DashoA10*..)
            at com.zerog.ia.installer.LifeCycleManager.l(DashoA10*..)
            at com.zerog.ia.installer.LifeCycleManager.j(DashoA10*..)
            at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
            at com.zerog.ia.installer.Main.main(DashoA10*..)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at com.zerog.lax.LAX.launch(DashoA10*..)
            at com.zerog.lax.LAX.main(DashoA10*..)
    
    =======================================================
    
    Error while checking for instances
    
    An error occurred while trying to manage the selected instance
    
    =======================================================
    Can anybody explaing why this error is coming and how can I correct this?
    I do not find this file on the system and why is the Installanywhere looking for a file?
    Under the Install tab for the Uninstall $PRODUCT_NAME$ section I see there is an option to edit Uninstaller properties. Is it this same file? Do I need to configure it differently?

  2. #2
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    103
    Hi richakamal,

    The error message clearly says that the instance management even though it detected the instances could not manage the instance.

    Looks like the uninstaller folder was tampered with for the previous instance and hence the Instance Management was not able to manage it.

    The file uninstaller.properties which the Instance Management/Uninstaller for IA uses for initializing the Maintenance Mode / Uninstall mode depending on the execution mode, it is in....

    Is there any chance that the version 8.5.0.0 was installed by installshield and you are trying to manage this instance through an installed generated by installanywhere.... i think not... but i thought i should clarify...

    Thanks,
    Jiju
    Jiju Jacob
    Engineering Manager, InstallAnywhere
    Flexera Software

  3. #3
    Join Date
    Jan 2009
    Location
    India
    Posts
    13
    Hi Jiju,

    I ran the two installers back to back on a fresh machine. Both of them are IA installers and I am not using any Installshield installer.
    I did not change any data from the previous installation.
    I am not even presented with the maintenance option(add, remove, repair, uninstall) screen, then why is the installer looking for uninstaller.properties. Should it be present somewhere? Where should I look for it?
    One thing to note is that I am using a trial version of Installanywhere 2010 with a license server.
    Can that be a problem?

    Regards,
    Richa.

  4. #4
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    103
    That is strange...

    Would it be possible for you to share the project and would you also be kind enough to let me know your platform on which you are trying this issue?

    Can you also please check if you have applied the public hotfix a for InstallAnywhere 2010 that was released. Can you please let us know if you face similar issues after applying this patch.

    Thanks,
    Jiju Jacob
    Engineering Manager, InstallAnywhere
    Flexera Software

  5. #5
    Join Date
    Jan 2009
    Location
    India
    Posts
    13
    This installer is for Windows platform.
    I was using IA 2009 previousy for evaluation, and then I shifted to IA 2010 for instance management. So the project has been migrated from IA 2009 to IA 2010. For testing, both the installers were built using IA 2010.
    I am attaching the project file with this thread.
    I applied the IA patch, but still the issue exists.

    Thank you.
    Attached Files Attached Files

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •