Re: [WiX-users] Changes in DTF projects don't trigger a rebuild of the MSI

2008-10-14 Thread John Hall
 I have a VS 2008 solution with a DTF project and a WiX
 project which uses my DTF custom action DLL.  I have manually
 set the project dependencies such that the DTF project builds
 before the WiX project.

 Theoretically, a change in the custom action code in the DTF
 project should trigger a rebuild of the MSI.  However, I'm
 observing that this does not happen.  I find I have to clean
 the solution and do a full rebuild anytime I change my DTF
 custom action.

 Perhaps this is by design but it does not seem like the way
 it should work.  Can anyone comment?

Brian,

I've had this with my C++ CA DLL - I ended up modifying wix.targets in 
C:\Program Files\MSBuild\Microsoft\WiX\v3.0 and adding my own variable 
$(MyExtraLinkBinaries) to the Inputs list of the Link target:

  Target
Name=Link
Inputs=@(CompileObjOutput);
@(EmbeddedResource);
@(WixObject);
@(WixLibrary);
@(WixExtension);
$(MSBuildAllProjects);
$(MyExtraLinkBinaries)!--  this is extra  --
... /

I then added the output of my CA DLL to that variable in my .wixproj file:

  PropertyGroup

MyExtraLinkBinaries$(MyExtraLinkBinaries);..\CustomActions\$(Configuration)\CustomActions.dll/MyExtraLinkBinaries
  /PropertyGroup

Regards,
John

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Changes in DTF projects don't trigger a rebuild of the MSI

2008-10-13 Thread Brian Rogers
I have a VS 2008 solution with a DTF project and a WiX project which uses my 
DTF custom action DLL.  I have manually set the project dependencies such that 
the DTF project builds before the WiX project.

Theoretically, a change in the custom action code in the DTF project should 
trigger a rebuild of the MSI.  However, I'm observing that this does not 
happen.  I find I have to clean the solution and do a full rebuild anytime I 
change my DTF custom action.

Perhaps this is by design but it does not seem like the way it should work.  
Can anyone comment?

##
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^;@@@\\])@..
{)/];)^{;$,+=(++$,);$_.=$,;`$_`;



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Changes in DTF projects don't trigger a rebuild of the MSI

2008-10-13 Thread Bob Arnson
Brian Rogers wrote:
 Theoretically, a change in the custom action code in the DTF project should 
 trigger a rebuild of the MSI.  However, I'm observing that this does not 
 happen.  I find I have to clean the solution and do a full rebuild anytime I 
 change my DTF custom action.

 Perhaps this is by design but it does not seem like the way it should work. 
  Can anyone comment?
   

Content in the .msi doesn't automatically become a dependency. DTF 
targets aren't wired into WiX targets to hook up output, as far as I can 
see.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users