|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
makka,
I am not sure of what your specific question is. Can you clarify? |
|
#3
|
|||
|
|||
|
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
|
||||
|
||||
|
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. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
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.








Linear Mode

