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: error : Failed to load ISWIBuild: -2147221164
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 05, 2010
10:25 AM
error : Failed to load ISWIBuild: -2147221164
This is probably a problem with MSBuild but just in case...
We've installed IS2010 (standalone) on a build machine side by side with IS2008. We're using Team foundation so in our TFSBuild.proj we call the MSBuild tasks for each project. Each is called using the full namespace to avoid ambiguity. The first project, whether its 2010 or 2008 goes through without a hitch, as soon as the second task kicks in we get "error : Failed to load ISWIBuild: -2147221164". Anybody can tell me why? I can only assume that the dll is already loaded by msbuild and not released (which sound pretty familiar), if so is there a solution to this problem other than calling the Exec task on msbuild for each setup (which works by the way)?
...
InstallShieldPath="$(InstallShield2010Path)"
Project="$(SolutionRoot)\Main\Installation\Y.ism"
ProductConfiguration="Client"
ReleaseConfiguration="Release"
ProductVersion="$(InstallShieldProductVersion)">
...
InstallShieldPath="$(InstallShieldPath2008)"
Project="$(SolutionRoot)\Main\Installation\X.ism"
ProductConfiguration="Client"
ReleaseConfiguration="Client"
ReleaseFlags="Client"
MergeModulePath="$(InstallShieldMergeModulePath)"
ProductVersion="$(InstallShieldProductVersion)">
We've installed IS2010 (standalone) on a build machine side by side with IS2008. We're using Team foundation so in our TFSBuild.proj we call the MSBuild tasks for each project. Each is called using the full namespace to avoid ambiguity. The first project, whether its 2010 or 2008 goes through without a hitch, as soon as the second task kicks in we get "error : Failed to load ISWIBuild: -2147221164". Anybody can tell me why? I can only assume that the dll is already loaded by msbuild and not released (which sound pretty familiar), if so is there a solution to this problem other than calling the Exec task on msbuild for each setup (which works by the way)?
...
InstallShieldPath="$(InstallShield2010Path)"
Project="$(SolutionRoot)\Main\Installation\Y.ism"
ProductConfiguration="Client"
ReleaseConfiguration="Release"
ProductVersion="$(InstallShieldProductVersion)">
...
InstallShieldPath="$(InstallShieldPath2008)"
Project="$(SolutionRoot)\Main\Installation\X.ism"
ProductConfiguration="Client"
ReleaseConfiguration="Client"
ReleaseFlags="Client"
MergeModulePath="$(InstallShieldMergeModulePath)"
ProductVersion="$(InstallShieldProductVersion)">
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 06, 2010
03:19 PM
Are you saying that you have a solution that builds both an IS2010 and an IS2008 project? I would not be surprised if these build engines cannot be loaded into the same process; this is not part of the side-by-side use we support. So I'd go with the workaround you've found of using MSBuild via the Exec task. Aside from not being as clean, are there any problems you've found with that route?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 06, 2010
03:51 PM
Yes, both tasks in different targets same msbuild project. Its not clean but it does work, thanks for the quick reply.