Indigo Rose Software
  #1  
Old 08-09-2007
makka makka is offline
Forum Member
 
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
Reply With Quote
  #2  
Old 08-09-2007
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
makka,

I am not sure of what your specific question is. Can you clarify?
Reply With Quote
  #3  
Old 08-09-2007
makka makka is offline
Forum Member
 
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 ?
Reply With Quote
  #4  
Old 08-09-2007
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot remove some files cdundee MSI Factory 2.0 Discussion 11 08-02-2007 04:32 PM
Create new or open existing file pbweb AutoPlay Media Studio 6.0 1 02-14-2006 12:18 AM
packages and products Egghead Setup Factory 6.0 1 03-03-2003 01:21 PM
HOWTO: Remove Unwanted Screens from a Setup Support Setup Factory 6.0 Knowledge Base 0 10-11-2002 02:32 PM
How do you remove a nested folder? Toby123 Setup Factory 6.0 2 07-31-2002 07:42 PM


All times are GMT -6. The time now is 02:49 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software