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
- :
- Re: Upgrade removing the files.
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
‎May 22, 2012
04:21 PM
Upgrade removing the files.
Project Type: Basic MSI
Brief description: We are planning to support the Patches for our installers. So I have started modifying the project to support the patches. Now in the upgrade scenario it is removing some of our files.
Upgrade type: Install setup then remove unneeded files
The modifications done for our project are as below.
• Applied components best practices.
• Previously some components are having dynamic linking so removed them and made them static linking. Some components are with static linking but not having the key files so added key files for those components.
• I have not deleted any of the components so the components GUID’s are not changed.
From the Log what I found is initially it is installing the files and in the removal of older installation it is removing the files. As previously every component is not having a key file and now I made key file for every component I think it is removing the files.
Could any one please suggest how to overcome this problem and we don’t want to change our upgrade type.
Brief description: We are planning to support the Patches for our installers. So I have started modifying the project to support the patches. Now in the upgrade scenario it is removing some of our files.
Upgrade type: Install setup then remove unneeded files
The modifications done for our project are as below.
• Applied components best practices.
• Previously some components are having dynamic linking so removed them and made them static linking. Some components are with static linking but not having the key files so added key files for those components.
• I have not deleted any of the components so the components GUID’s are not changed.
From the Log what I found is initially it is installing the files and in the removal of older installation it is removing the files. As previously every component is not having a key file and now I made key file for every component I think it is removing the files.
Could any one please suggest how to overcome this problem and we don’t want to change our upgrade type.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 23, 2012
12:30 AM
I think this issue was already discussed in an old thread:
The location of RemoveExistingProducts might be the culprit.
You might have to move it before the CostInitialize action, but this might make some validations fail.
The location of RemoveExistingProducts might be the culprit.
You might have to move it before the CostInitialize action, but this might make some validations fail.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 23, 2012
09:38 AM
I have tired the moving the RemoveExistingProducts to CostInitialize.
For our product this is not working it is leading to BOD because we are handling the drivers installations. So i dont wan to remove the product before installing the upgrade.
Please let me know if there is any other way to handle this.
For our product this is not working it is leading to BOD because we are handling the drivers installations. So i dont wan to remove the product before installing the upgrade.
Please let me know if there is any other way to handle this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 23, 2012
01:07 PM
BOD? What does that acronym stand for?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 23, 2012
02:24 PM
BOD stands for Blue Screen Of Death or Blue Screen Error.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 24, 2012
12:19 AM
Funny that! Our setup does install some drivers, but the corresponding components are configured as "Permanent", so the set never deinstalls the drivers.
As for your BOD, you might want to fix the driver itself, otherwise the BOD will also occur if someone manually deinstalls the driver.
What do you reckon?
As for your BOD, you might want to fix the driver itself, otherwise the BOD will also occur if someone manually deinstalls the driver.
What do you reckon?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 24, 2012
08:23 AM
I recently joined in this company so I am trying to implement some best practices. As part of that my first step I am trying for Component best practices implementation.
Thank you for suggesting me for making it as permanent so here I would like to know some details like
If I make it as permanent whether it will be replaced if we want update with Patch/Major release?
Thank you for suggesting me for making it as permanent so here I would like to know some details like
If I make it as permanent whether it will be replaced if we want update with Patch/Major release?