Topaz Filer: if you use e-mail for business, we can save you money and decrease your risk.
File dependency problem in installation project
Messages   Related Types
This message was discovered on microsoft.public.vsnet.enterprise.tools.


Tom
Hi,

I've got the same problem as this:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right&th=f7352968831db53c&seekm=5I86k%24t%24CHA.1640%40cpmsftngxa06.phx.gbl#link1

Basically, I've got a large solution with a few setup projects and at
some point recently they all seem to have gone bad. I get the
following error, among others:

Unable to update the dependencies of the project. The dependencies
for the object 'dotnetfxredist_x86.msm' cannot be determined.

I've tried Refresh Dependencies, and I get the following error:
Exception Occurred.

Here's my environment:
Visual Studio 7.1.3088
Framework 1.1.4322

Has anyone figured out a solution to this?

Thanks, and have a good day.
Reply to this message...
Vote that this is a GOOD answer...
 
Auto-following on Twitter
Ubuntu and XP on one “desktop”
 
    
Tom
GOOD ANSWER
Have some additional info:

If I go ahead and delete the outputs from the File System Editor
window, then re-add them, I can build the setup. This is easier than
re-creating the entire setup project, but I'm still hoping to find a
fix for this.

Also, is there any logging that might give me more information than
"Exception Occurred." when I try to refresh dependencies? It's not
writing anything to the event viewer.

Thanks,
Tom
Reply to this message...
Vote that this is a GOOD answer... (3 votes from other users already)
 
 
    
Tom
And a bit more:

I did a diff between the setup project files that worked and those
that didn't, and the only significant difference I can see is that the
broken project files had double entries in the MergeModule section.
Here's an example of a broken one:

=========================================================
"MergeModule"
{
"{35A69C6E-5BA4-440D-803D-762B59A45393}:_ED92953B0BDC4D88B98BDF822FC7E0BE"
{
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:TRUE"
"SourcePath" = "8:dotnetfxredist_x86.msm"
"Properties"
{
}
"LanguageId" = "3:1033"
"Exclude" = "11:TRUE"
"Folder" = "8:"
"Feature" = "8:"
"IsolateTo" = "8:"
}
"{35A69C6E-5BA4-440D-803D-762B59A45393}:_FA5D32956734448686E73172FB34B044"
{
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:TRUE"
"SourcePath" = "8:dotnetfxredist_x86.msm"
"Properties"
{
}
"LanguageId" = "3:1033"
"Exclude" = "11:TRUE"
"Folder" = "8:"
"Feature" = "8:"
"IsolateTo" = "8:"
}
}
=============================================

The only way I've been able to get it working again at this point is
to do the following:

1. Go into File System Editor and delete the Primary Output from the
project(s).
2. Open the .vdproj file in a text editor. You will notice one entry
in the MergeModule section for every merge module that was detected
already. Delete them all, leaving

"MergeModule"
{
    }

Save and close that file.
3. Reload the file in Visual Studio, and re-add the Primary Output and
whatever else you need from your solution.

This is a pain, but easier than starting over, especially when you are
using VSS and other people already have the project.

If anyone else runs into this problem, hopefully this will help.

Thanks, and have a good day.
Tom
Reply to this message...
Vote that this is a GOOD answer...
 
 
    
Shawn Smiley
Thanks for the info Tom. I've been fighting this same issue on a regular basis. I have found one additional piece of information that may be helpful in tracking down the cause of this problem:

The issue seems to be related to checking the file out of VSS. I have a setup project that compiles fine when you get the latest version. But as soon as you do a check-out on the project (without changing anything) the compile fails with the same error you saw. Undo-ing the check out and it all compiles again (at least for the first 2-3 times you try it). I'm not sure why checking the project file out from VSS would cause this problem though. I've checked the file out 10 times (to update version numbers as we go through QA builds) prior to this with no problems.

Thanks,
Shawn.
--------------------------------
From: Shawn Smiley
Reply to this message...
Vote that this is a GOOD answer...
 
Outlook interop - stopping user properties appearing on Outlook message print
Seriously, why is “cut and paste” majorly newsworthy???
 
    
Sean Flook
Thanks Tom and Shawn for the info. I have a bit more information to add. In my case I also found some of the dependencies appearing in the File section after I had removed the primary outputs from the project. I had to remove these before I could get the project to compile.

Hope this helps in the search for the cause of this problem.

Thanks
Sean.

--------------------------------
From: Sean Flook
Reply to this message...
Vote that this is a GOOD answer...
 
Email Archiving and Email Filing - what’s the difference?
Web-based task/todo list management
 
 




Ad
BootFX
Reliable and powerful .NET application framework.
Recession Busting Bespoke Software
Get through the recession by investing in bespoke software to decrease costs and create commercial opportunities.
Other DN247 Network Sites
.NET 247
SQL Server Wins
Old Skool Developer
 
Copyright © AMX Software Ltd 2008-2009. Portions copyright © Matthew Baxter-Reynolds 2001-2009. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - .NET 247 is a member of the DN247 Network - 4.0.30129.1734