This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Problem with removing all files during uninstalling application.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 17, 2011
05:51 AM
Problem with removing all files during uninstalling application.
Hello.
I have problem with installator which doesn't uninstall all files in some cases. I will try to explain my situation.
Every year I maked a release of the application so I change Product Code and Upgrade Code on each year in my Install Shield project. (This is normal MSI project). In completly celan machine when I install my application and than remove it everything is good (all files are removed).
Because I produce every year new release so I can install the same application in defferent versions on my computer (application installs files in destination which depends on application version). If I make such situation and try to uninstall for example the latest version sometimes a lot of files are not removed. I don't know what is the reason of that. Maybe I have to change component code in every component on each release of application? (but this is quite tricky because I have really great number of components, so it will be difficult to change every component code manualy).
Can you help me with that?
Thanks in advance.
I have problem with installator which doesn't uninstall all files in some cases. I will try to explain my situation.
Every year I maked a release of the application so I change Product Code and Upgrade Code on each year in my Install Shield project. (This is normal MSI project). In completly celan machine when I install my application and than remove it everything is good (all files are removed).
Because I produce every year new release so I can install the same application in defferent versions on my computer (application installs files in destination which depends on application version). If I make such situation and try to uninstall for example the latest version sometimes a lot of files are not removed. I don't know what is the reason of that. Maybe I have to change component code in every component on each release of application? (but this is quite tricky because I have really great number of components, so it will be difficult to change every component code manualy).
Can you help me with that?
Thanks in advance.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 11, 2011
10:41 AM
You want to do what it's known as a Major Upgrade.
You mencioned that you changed Product Code and Upgrade Code, but you must follow this rule:
1. New MSI = New Build = New Package Code (don't forget to generate it, if you copy/paste and change the MSI.
2. New Product Code
3. SAME Upgrade Code! (If not, how Windows installer knows whats the old version?) This is the link between diferent versions.
If you change Upgrade Code, then you must specifically choose it in InstallShield Upgrade Path, but it's easier to maintain it unchanged.
4. Increment version (1.0.0.0.0000 can be changed to 1.0.0.1.0000 - don't forget that last four digits are ingored by Windows Installer but can be used in InstallShield)
Forgive my poor english and hope this help you. Good Luck
You mencioned that you changed Product Code and Upgrade Code, but you must follow this rule:
1. New MSI = New Build = New Package Code (don't forget to generate it, if you copy/paste and change the MSI.
2. New Product Code
3. SAME Upgrade Code! (If not, how Windows installer knows whats the old version?) This is the link between diferent versions.
If you change Upgrade Code, then you must specifically choose it in InstallShield Upgrade Path, but it's easier to maintain it unchanged.
4. Increment version (1.0.0.0.0000 can be changed to 1.0.0.1.0000 - don't forget that last four digits are ingored by Windows Installer but can be used in InstallShield)
Forgive my poor english and hope this help you. Good Luck