Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2007
    Posts
    2

    Upagrades: Remove existing products

    Hi everybody,
    I'm newbie of WIX & SUFWIN.

    I'm looking to create and upgrades strategy using SUFWIN. I decided that for then moment I will create a full package as major upgrade for each new release changing the product code.

    The setup.msi is created using a build server so the version number is passed to candle.exe as variable and is used in many places:
    to create install folder path (C:\Program Files\MyApp\2.1.1 )
    to create desktop shortcut (MyApp 2.1.1 )
    to create program menu shortcut (MyApp -> MyApp 2.1.1 )
    to create entry in Add/Remove program list (MyApp 2.1.1)

    Now on every update I need to delete old install folder , delete
    old desktop shortcut, delete program menu shortcut and update entry in Add/Remove program list.

    I also use the folder
    C:\Documents and Settings\All Users\Application Data\MyApp\database
    to contain shared version database file so I need to install this file only on the first install and not remove it during upgrades or uninstallation

  2. #2
    Join Date
    Jan 2000
    Posts
    2,002
    makka,

    I am not sure of what your specific question is. Can you clarify?

  3. #3
    Join Date
    Aug 2007
    Posts
    2
    Ok. I'll try to explain.

    Now I have a setup for version 2.1.1 that creates:
    install folder path (C:\Program Files\MyApp\2.1.1 )
    desktop shortcut (MyApp 2.1.1 )
    program menu shortcut (MyApp -> MyApp 2.1.1 )
    entry in Add/Remove program list (MyApp 2.1.1)

    Tomorrow I'll release version 2.1.2.
    I need to delete
    install folder path (C:\Program Files\MyApp\2.1.1 )
    desktop shortcut (MyApp 2.1.1 )
    program menu shortcut (MyApp -> MyApp 2.1.1 )
    entry in Add/Remove program list (MyApp 2.1.1)

    and create
    install folder path (C:\Program Files\MyApp\2.1.2 )
    desktop shortcut (MyApp 2.1.2 )
    program menu shortcut (MyApp -> MyApp 2.1.2 )
    entry in Add/Remove program list (MyApp 2.1.2)

    I need to keep the content of folder
    C:\Documents and Settings\All Users\Application Data\MyApp\database

    How can I do this ?

  4. #4
    Join Date
    Jan 2000
    Posts
    2,002
    You will have to treat each version as a major upgrade. You do this by changing the product code for each version and then adding upgrade codes for each old version. See the Product tab topic in the help file for more details about Major Upgrades.

    As far as making a file not be uninstalled, double-click the file and then select the Component tab. Next, click the Edit Component button. On the General tab, check the "Permanent" option.

Similar Threads

  1. I cannot remove some files
    By cdundee in forum MSI Factory 2.0 Discussion
    Replies: 11
    Last Post: 08-02-2007, 03:32 PM
  2. Create new or open existing file
    By pbweb in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 02-13-2006, 11:18 PM
  3. packages and products
    By Egghead in forum Setup Factory 6.0
    Replies: 1
    Last Post: 03-03-2003, 12:21 PM
  4. HOWTO: Remove Unwanted Screens from a Setup
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-11-2002, 01:32 PM
  5. How do you remove a nested folder?
    By Toby123 in forum Setup Factory 6.0
    Replies: 2
    Last Post: 07-31-2002, 06:42 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