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: Update does not install files or restart services
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
‎Aug 27, 2010
02:09 PM
Update does not install files or restart services
I have an MSI project that installs a .Net application. Every time I make a change to the app, I rebuild, version the files and rebuild the install. When it runs it either installs to a clean system or updates the current installation. In the case of an over install, services are stopped, files copied, then services restarted.
The production build did not correctly include 2 dlls. These dlls are automatically added during the .net dependency scan so all works fine. I have added Oracle support to my application but I do not want to install the required .net dlls. So I need to remove the depency scans. This also requires me to add the 2 dlls previously mentioned. I create a component for each dll. Now when I run an overinstall, no files are installed and my services are not stopped or re-started. I would expect this behaviour if I removed a component but not in the case of adding a component. What can I do to resolve this issue without running a major upgrade?
The production build did not correctly include 2 dlls. These dlls are automatically added during the .net dependency scan so all works fine. I have added Oracle support to my application but I do not want to install the required .net dlls. So I need to remove the depency scans. This also requires me to add the 2 dlls previously mentioned. I create a component for each dll. Now when I run an overinstall, no files are installed and my services are not stopped or re-started. I would expect this behaviour if I removed a component but not in the case of adding a component. What can I do to resolve this issue without running a major upgrade?
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 27, 2010
04:14 PM
You should be able to add components through a minor upgrade, are your new components set as keyfiles?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 27, 2010
04:32 PM
I did not set the file as the 'key file'. So no key file for the component.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 27, 2010
04:46 PM
You may need to set the file as a keyfile to force Windows Installer to evaluate the component state on a minor upgrade and thus have it installed. Is there a particular reason why these two new dlls are not set as keyfiles?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 04, 2010
07:12 PM
I have set the DLLs as key files. Same problem no difference. It seems that it is impossible to add a DLL if it already exists in the target directory.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 05, 2010
01:23 PM
I re-compiled the DLL and gave it a new name. Still the same problem. It seems I can not add any component without the installer failing. I am pretty sure in the past I have added DLLs to existing projects without issue. Maybe they were added using the dependency scanner. In my case this is not an option becuase I have to explicitly leave a dependent DLL out.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 05, 2010
01:24 PM
Doesn't a minor upgrade require the previous installation to uninstall?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 05, 2010
01:31 PM
So all I need to do is add a minor upgrade? If I run a build every night with a new build number do I only need to point to the previous build one time? What happens when I remove old builds from my build machine? What does 'NoObjectSetupPath' mean?
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)