Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Posts
    30

    Using session variables in Uninstall settings

    Hi there,

    ok, I realize that this is insane, inappropriate, and contrary to the nature of the universe, but then so am I.

    On the Uninstall Settings screen, I filled the three values:

    Uninstall File Folder
    Configuration Filename
    Executable Path and Filename

    with session variables. I do this so that I can change the settings based on user interaction. It suddenly occurs to me that I might have to change %ProductName%. I want the Add/Remove Programs entry to vary also.

    My question is: At what point do those field values become concrete. Can I change them in a Before Install action and have the changes reflected when the uninstall is created. I guess it comes down to When is the uninstall created?

    Does anyone have any thoughts?

    Thanks in advance.

    CecilTSS

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    Hi ceciltss,

    Yes, you should be able to massage those values during the install. Basically the uninstall is created during the "Installing Files" stage, so if you were to use the SessionVar.Set action to set the values of those variables at some point before the files are actually installed (such as Before Installing), it should be OK.

    Also, just to make you aware of them, Setup Factory contains a group of actions called UninstallData.XXX. These are meant to be used at some point after the files have been installed and uninstall created. So if need be, you could also manipulate the uninstall there. That being said, it would not affect any Add/Remove Program information updates because those are simply registry entries versus the uninstall config file.

    Hope that helps.
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

  3. #3
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    (As a last resort, you could also edit the registry entries directly.)
    --[[ Indigo Rose Software Developer ]]

Similar Threads

  1. Uninstall Data – Questions and Bugs (?)
    By csd214 in forum Setup Factory 7.0
    Replies: 5
    Last Post: 06-21-2005, 11:05 AM
  2. session variables in action strings
    By tkilshaw in forum Setup Factory 7.0
    Replies: 3
    Last Post: 04-21-2005, 12:58 PM
  3. HOWTO: Include Uninstall Support
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-26-2002, 02:33 PM

Posting Permissions

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