Re: [WiX-users] Question about register .net COM object

2010-06-12 Thread Elfe Xu
Yeah, the heat.exe works fine! thanks! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Question-about-register-net-COM-object-tp5172220p5173310.html Sent from the wix-users mailing list archive at Nabble.com. ---

Re: [WiX-users] How to integrate into TFS if the wix project has managed CA written with DTF?

2010-06-12 Thread Elfe Xu
Thanks Blair. I checked the wix.ca.targets. Seems when using this in our TFS build environment, I need to do a little change of the path values, because the wix on build machine is not installed, but by copying files into the public folder. @Rob: yes, the articles in wix document are very clear a

[WiX-users] Is Burn Ready For Primetime? - Re: Detect and Repair when WIX MSI, MST and cab in self extracting EXE

2010-06-12 Thread greenaj
I should have had this in my previous message. Where is the Burn documentation? It is not in the Wix 3.5 package, at least I can't find it after doing an Administrative install if Wix3.5.msi (DON"T FORGET TO SET TARGETDIR HERE). Is Burn ready for primetime? My client is currently on the st

Re: [WiX-users] Detect and Repair when WIX MSI, MST and cab in self extracting EXE

2010-06-12 Thread greenaj
Thanks, I will need to learn about Burn, I see the name of of the utility alot. I now need to learn what it actuall dows. I am however using Wix 3.0 and will need to see if Burn is a 3.5 utility. Regards, Aris Rob Mensching wrote: > Yeah, don't do that. In Burn we do a lot of work to m

Re: [WiX-users] How to integrate into TFS if the wix project has managed CA written with DTF?

2010-06-12 Thread Blair
The "magic inside" is the following line at the bottom of the csproj file (AFTER the line that imports the Microsoft.CSharp.targets file): That line requires the following properties and items be set in your csproj file: CustomAction.config must be included as a Content item in an item group. W

Re: [WiX-users] How to integrate into TFS if the wix project has managed CA written with DTF?

2010-06-12 Thread Rob Mensching
There is documentation in the WiX.chm about a lot of this. Did you read it? If so, is there a way we can improve it? On Fri, Jun 11, 2010 at 10:55 PM, Elfe Xu wrote: > Hi all, > > I've learnt that to make a wix project work with TFS, I need to edit the > .wixproj file, and also the TFSBuild proj

Re: [WiX-users] Detect and Repair when WIX MSI, MST and cab in self extracting EXE

2010-06-12 Thread Rob Mensching
Yeah, don't do that. In Burn we do a lot of work to make sure the MSI is cached in a consistent location so that repair, patching, etc. all work correctly. On Sat, Jun 12, 2010 at 8:48 AM, wrote: > I created an MSI package, MST (transfor), and .cab file using WIX 3.0. I > bundle all three up in

Re: [WiX-users] Question about register .net COM object

2010-06-12 Thread Rob Mensching
SelfReg is bad. Use heat.exe to capture the registration in .wxs form. On Sat, Jun 12, 2010 at 10:58 AM, Elfe Xu wrote: > Hi, > > I'm trying a CA > Execute="immediate" /> > and found it can only success if I make the CA run after InstallFinalized. > Otherwise, it will fail. > > I think the righ

Re: [WiX-users] Question about register .net COM object

2010-06-12 Thread greenaj
I saw regasm in the CustomAction element, so I am assuming that this is a .NET assembly exposing COM objects. Use the /reg option to create a .reg file containing all of the registry settings. Then you can manually enter these values into the Wix projects. Wix has some tools that can autom

[WiX-users] Question about register .net COM object

2010-06-12 Thread Elfe Xu
Hi, I'm trying a CA and found it can only success if I make the CA run after InstallFinalized. Otherwise, it will fail. I think the right way is to use Class element, but I just cannot make the result the same as I execute regasm.exe. Here is my trying:

[WiX-users] Detect and Repair when WIX MSI, MST and cab in self extracting EXE

2010-06-12 Thread greenaj
I created an MSI package, MST (transfor), and .cab file using WIX 3.0. I bundle all three up in a NullSoft self extracting exe that when called by a bootstrapper, extracts the files to a directory on disk and calls the msi using msiexec and setting the TRANSFORMS property to the .MST file. Que

Re: [WiX-users] Candle is ignoring preprocessor arguments

2010-06-12 Thread Bob Arnson
On 6/8/2010 6:22 PM, Adam Langley wrote: > C:\Program Files\Windows Installer XML v3\bin\candle.exe > -d"Tasks=D:\TFSBuild\Temp\Product\Installers_v1.0_Trunk\Sources\Tasks\" > Put quotes around the entire -d argument. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] WiX 3.0 error with .net 4

2010-06-12 Thread Bob Arnson
On 6/9/2010 9:04 PM, John Ketchpaw wrote: > Using this config file, > WiX v3.5 contains an updated .config file for SfxCA. -- sig://boB http://joyofsetup.com/ -- ThinkGeek and WIRED's GeekDad team up for the Ultima

Re: [WiX-users] Am I doing something wrong, or is this a bug?

2010-06-12 Thread Bob Arnson
On 6/8/2010 12:20 PM, bpackard wrote: > embedded, the other may not be. When the Package is set to Compressed="yes" > the external file cannot be found - the msi expects it to be in the > SourceRoot, even though it is supposed to be in a subordinate folder. That's how MSI works with loose files in

Re: [WiX-users] Odd ProcessComponents behavior in an upgrade

2010-06-12 Thread Bob Arnson
On 6/11/2010 4:05 PM, Alan Sinclair wrote: > Unavoidably in AppV2.MSI Myfile.inf has moved to a new component, CompB, > with new GUID. > That violates component rules, so all bets are off. http://msdn.microsoft.com/en-us/library/aa367849%28VS.85%29.aspx -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Can we control registration of Components from a COM DLL

2010-06-12 Thread Bob Arnson
On 6/8/2010 1:47 AM, vijay chander wrote: > Here i'm trying to attain functionality through COM DLL which would be > similar to installation using the following command: > "msiexec /i sampleInstaller.msi PROPNAME=1 /qb" > http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/ -- sig: