SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Nov 2000
    Location
    Newport News, VA U.S.
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to go about automating Install/Uninstall

    I'm trying to automate the install/uninstall process of the product I'm testing. I captured many dialog boxes and they all had referenced the parent as InstallShieldWizard. However, I do not know what I would need to do to capture this class, InstallShieldWizard.

    It seems like there are some people who has automated the install/uninstall process. I read over the posts regarding this topic, but without fully understanding it.

    Could you help me with this?

    ------------------

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to go about automating Install/Uninstall

    There are different versions of InstallShield. We are using the "MultiPlatform" release.

    One of the challenges you run into with Java versions of InstallShield and InstallAnywhere is that automating with it requires that the classpath be established with the Segue jar file in that classpath prior to kicking off the install. The install, however, establishes its classpath at runtime, thus overriding the classpath in place when the install was kicked off. Once that happens, you no longer have the required Segue jar file in the classpath, and none of your declarations will be recognized.

    To get around this, you have to get to a JDK level of 1.2 or greater. Take the SilkTest_Java#.jar file and place it in your [drive]:\[JDKDir]\jre\lib\ext folder. Regardless of what the classpath says, the Java.exe will look here for any jar files to include in its classpath.

    Really need more detail on your question, so I don't know if this helps or not.

    [This message has been edited by DJGray (edited 04-17-2001).]

  3. #3
    Member
    Join Date
    Nov 2000
    Location
    Newport News, VA U.S.
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to go about automating Install/Uninstall

    Thank you for your reply, but I'm using InstallShield for Windows version and not Java version. My application is a stand-alone application for Windows, not a web-based one...

    Here is what one of the dialog box looks like:

    <Code><pre>
    [-] window DialogBox ConfirmFileDeletion
    [ ] tag "Confirm File Deletion"
    [ ] parent InstallShieldWizard
    [+] PushButton OK
    [+] multitag "OK"
    [ ] "$1"
    [-] PushButton Cancel
    [+] multitag "Cancel"
    [ ] "$2"
    [-] StaticText DoYouWantToDelete
    [-] tag "Do you want to delete the file?"

    </pre></CODE>

    I don't know what I need to do to capture "parent InstallShieldWizard"

    ------------------

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to go about automating Install/Uninstall

    Young-Mee:

    I have often run into situations where I can't see the "parent".

    Fortunately, specifying the "parent" is usually optional.

    Some things to try:

    1. Comment out the "parent" line and see if the DialogBox is recognized.

    If this doesn't work:
    2. Leave the "parent" commented out and change the tag from "Confirm File Deletion"
    to "~ActiveApp/[DialogBox]Confirm File Deletion".

    3. You might also need to change the base class.
    Change "window DialogBox ConfirmFileDeletion"
    to "window MainWin ConfirmFileDeletion".

    There are other things to try, but I think this will do it for you.

    Good Luck
    Rob


    [This message has been edited by RobKapteyn (edited 04-17-2001).]
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

  5. #5
    Member
    Join Date
    Nov 2000
    Location
    Newport News, VA U.S.
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to go about automating Install/Uninstall

    Rob,

    Your suggestion worked!
    Thank you for your help!

    Young-Mee

    ------------------

  6. #6
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to go about automating Install/Uninstall

    Something related.

    Recently I updated my video card driver and it was using the driver update throught windows driver update but automated.

    The bug was if the message saying "file copied is older than the existing" the automation stops.

    Just handle all the possible messages or you might crew your system.

    The easiest way would be using Desktop.TypeKeys() for anything that is not properly detected. It will access any active window.

    ------------------

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:30 PM.

Copyright BetaSoft Inc.