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
- :
- MSI package does not install all 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
‎Jan 10, 2013
01:11 AM
MSI package does not install all files
Hi Community,
we changed our Installer Package from WISE Installer to InstallShield 2012.
The WISE Install Package does not add an entry in "Programs and Features", but InstallShield does.
When the user installs an IS MSI and there was already a WISE installation the IS MSI only installs the executable. Note: The files existed in this environment. The files were older than the files in the MSI package. When the user updates to a newer version of the product, the files are updated correctly. When there was no installation of WISE before, the MSI package installs the files correct too.
Project type: Basic MSI Project
What is the problem? Can anybody help?
Thanks in advance
we changed our Installer Package from WISE Installer to InstallShield 2012.
The WISE Install Package does not add an entry in "Programs and Features", but InstallShield does.
When the user installs an IS MSI and there was already a WISE installation the IS MSI only installs the executable. Note: The files existed in this environment. The files were older than the files in the MSI package. When the user updates to a newer version of the product, the files are updated correctly. When there was no installation of WISE before, the MSI package installs the files correct too.
Project type: Basic MSI Project
What is the problem? Can anybody help?
Thanks in advance
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 11, 2013
08:00 AM
I would write a verbose MSI Log of the installation and look at the entries around MigrateFeatureStates and InstallValidate. Normally you will get there a hint why a component is installed or not. It can also be that the setting Shared = True of the InstallShield components is making trrouble.
Barbara
Barbara
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 17, 2013
09:35 AM
Add RemoveFile table entries for each of the files in question, set their InstallMode=1 (on install), link them to a new component that only runs when a Wise Install is detected. You will have to work out a way to detect that - run a System Search entry for a Wise specific file or registry entry and set a flag.
Here's a registry entry that I once used to get the directory folder of the previous Wise Install, the resulting variable can be used as a flag I believe, but I had to later parse this to remove "remove.exe" from the path to use it how I wanted to:
"UninstallString" at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
You will also have to add a RemoveRegistry entry for the above or it will fire for every future upgrade.
Here's a registry entry that I once used to get the directory folder of the previous Wise Install, the resulting variable can be used as a flag I believe, but I had to later parse this to remove "remove.exe" from the path to use it how I wanted to:
"UninstallString" at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
You will also have to add a RemoveRegistry entry for the above or it will fire for every future upgrade.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)