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: Problems installing new component during uopgrade
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
‎Dec 18, 2008
09:06 AM
Problems installing new component during uopgrade
Hi
I am trying to add a new component to an existing feature during upgrade.
The upgrade seems to complete without errors, but no files are installed.
According to the documentation it should be possible both for minor upgrade and small updates if the version of windows installer is greater that 2.0. I am using version 3.
The installation performs OK on a major upgrade.
My project is MSI :confused: Installscript
I also tried installing a new component in a new feature with same negative result!
I am trying to add a new component to an existing feature during upgrade.
The upgrade seems to complete without errors, but no files are installed.
According to the documentation it should be possible both for minor upgrade and small updates if the version of windows installer is greater that 2.0. I am using version 3.
The installation performs OK on a major upgrade.
My project is MSI :confused: Installscript
I also tried installing a new component in a new feature with same negative result!
(11) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2008
11:59 AM
As a sanity check, assuming you've defined a minor upgrade item in the Upgrades view, does InstallShield's upgrade validation flag anything about the new component?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 19, 2008
01:08 AM
I am not sure that I do understand the messages below. Does it say that my component will not be installed??? If this is the case, I can't see how it should be possible to install a new component in an upgrade as described in the documentation.
********************************************************
Val0003: This setup will perform a SMALL upgrade of the referenced previous setup c:\docume~1\packman\locals~1\temp\2\8fbc\- the marketing toolbox.msi
Val0010: The data in component '_85DCE2EA6D620434E61439F072E48968' differs from the previous setup. However, this component will not reinstall in an upgrade scenario. Therefore, the changes will not be applied to the target system during the upgrade. Table: 'CreateFolder' Record: '_A282D006F369400194792FE3B3366443;_85DCE2EA6D620434E61439F072E48968' c:\docume~1\packman\locals~1\temp\2\8fbc\- the marketing toolbox.msi
ISDEV : warning Val0015: The CreateFolder table contains new content. Therefore, if you are packaging this upgrade as a patch, you will not be able to make it an uninstallable patch. c:\docume~1\packman\locals~1\temp\2\8fbc\- the marketing toolbox.msi
Setup.exe created
********************************************************
Val0003: This setup will perform a SMALL upgrade of the referenced previous setup c:\docume~1\packman\locals~1\temp\2\8fbc\- the marketing toolbox.msi
Val0010: The data in component '_85DCE2EA6D620434E61439F072E48968' differs from the previous setup. However, this component will not reinstall in an upgrade scenario. Therefore, the changes will not be applied to the target system during the upgrade. Table: 'CreateFolder' Record: '_A282D006F369400194792FE3B3366443;_85DCE2EA6D620434E61439F072E48968' c:\docume~1\packman\locals~1\temp\2\8fbc\- the marketing toolbox.msi
ISDEV : warning Val0015: The CreateFolder table contains new content. Therefore, if you are packaging this upgrade as a patch, you will not be able to make it an uninstallable patch. c:\docume~1\packman\locals~1\temp\2\8fbc\- the marketing toolbox.msi
Setup.exe created
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 19, 2008
05:39 AM
By the way
I would like to be able to add files and folders from one upgrade to another. That the reason for using dynamic linking.
If it is not possible to use dynamic linking, I would like to zip the files into one zipfile, and the doing a unzip during the installation.
Do you know if this is possible using installshield. I am running MSI installscript.
Order is there another solution I am not aware of?
I would like to be able to add files and folders from one upgrade to another. That the reason for using dynamic linking.
If it is not possible to use dynamic linking, I would like to zip the files into one zipfile, and the doing a unzip during the installation.
Do you know if this is possible using installshield. I am running MSI installscript.
Order is there another solution I am not aware of?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 19, 2008
08:01 AM
Please see the help topic "Val0010" for background and remedial information about that warning. (And a double-check: presumably you're using the Patch Optimization setting near the end of the Release Wizard, since you're using dynamic file linking?)
(Regarding the Val0003 message, you might consider changing the project's Product Version property.)
(Regarding the Val0003 message, you might consider changing the project's Product Version property.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 19, 2008
08:07 AM
I found that VAL0010 occurs due to the dynamically linking.
Thats the reason why I ask for a way to unzip files during installation. In this way I might be able to avoid changing the installation eanch time a new folder occurs in the program.
Thats the reason why I ask for a way to unzip files during installation. In this way I might be able to avoid changing the installation eanch time a new folder occurs in the program.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 19, 2008
05:46 PM
Minor upgrades do support adding components, but removing components is another story. Are you using the Patch Optimization setting near the end of the Release Wizard, since you're using dynamic file linking? Does creating an MSI log file at run time give any more information?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 22, 2008
12:53 PM
Despite the name, the Patch Optimization setting is useful for minor upgrades in general, and not just patches; it ensures keys in the File, Component, and Media tables match up between builds, especially for dynamic file links.
Under InstallShield's Tools menu is a log-file analyzer, which can highlight feature states, component states, and file-action details from a log file generated during an upgrade...
Under InstallShield's Tools menu is a log-file analyzer, which can highlight feature states, component states, and file-action details from a log file generated during an upgrade...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 23, 2008
05:48 AM
Regarding the Patch optimization, which packages should I use as previous package??
I am not running patch installaition as I would be able to upgrade from all versions of eg. 1.1, 1.2 1.3 1.4 1.5 1.t to e.g 1.7 without doing all the installations!
I am not running patch installaition as I would be able to upgrade from all versions of eg. 1.1, 1.2 1.3 1.4 1.5 1.t to e.g 1.7 without doing all the installations!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 23, 2008
02:45 PM
Assuming you've used the Patch Optimization setting for each new release, and that each intermediate release has added but not removed components, I expect you'll want each new release to point to the most recent previous release. 1.1 would point to 1.0, 1.2 would point to 1.1, and so on.
There's no built-in functionality for working with .zip files, so you'd presumably need to create a custom action for that.
There's no built-in functionality for working with .zip files, so you'd presumably need to create a custom action for that.