>> I had pondered making a patch myself, where heat would allow for a
reg script to be passed as a parameter.

WiX 3.5 already does that see the reg harvest type.

Neil

-----Original Message-----
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] 
Sent: 20 June 2011 23:07
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements


  If I had to guess, this component may rely on other components. I
swear I saw something along the lines of this with an ATL component.
When the registry redirection occurs inside of Heat, it makes the
registry look empty. As such, if your component required ATL it would
fail inside its regsvr32 procedure.

  I had pondered making a patch myself, where heat would allow for a reg
script to be passed as a parameter (basically reg script being another
heat fragment).  With that, you could create an ATL.reg using heat
against the ATL DLL, and then pass it as a parameter to the Heat call
for your component.

  The only problem would be writing the logic to identify which
attributes were changed by your DLL compared to your reg script.  

  I could be way off base, but I think I could generate a reproducible
test case.

-----Original Message-----
From: Brad Lemings [mailto:b...@rebit.com]
Sent: Monday, June 20, 2011 4:47 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements

My guess is it is not safe to ignore this warning.  The generated Wix
source contains nothing but a DirectoryRef, a Component, and File
element.  I know more is required to register a COM server than that.
So heat does not work.  Question now is, why not?

-----Original Message-----
From: Brad Lemings
Sent: Monday, June 20, 2011 3:42 PM
To: General discussion for Windows Installer XML toolset.
Subject: RE: [WiX-users] Replacing regsvr32 commands with Wix elements


What does "Unable to load file: error 93" mean?

Here's the entire warning message:

        heat.exe : warning HEAT5150 : Could not harvest data from a file
that was expected to be a SelfReg DLL: C:\ Builds\MyNSE\MyNSE.dll. If
this file does not support SelfReg you can ignore this warning.
Otherwise, this error detail may be helpful to diagnose the failure:
Unable to load file: C:\Builds\MyNSE\MyNSE.dll, error: 193

When I run the command "regsvr32 MyNSE.dll", the command executes
successfully.  Safe to ignore this warning?

-----Original Message-----
From: Dave Brotherstone [mailto:dav...@pobox.com]
Sent: Monday, June 20, 2011 1:58 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements

>
> -----Original Message-----
> From: Brad Lemings [mailto:b...@rebit.com]
> Sent: Monday, June 20, 2011 1:19 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements
>
> Hmm.  How can I capture the effects of the regsvr32 command in a .reg 
> file which is what Heat expects?
>

You don't need to - heat file yourfile.dll  -o install_actions.wxs will
capture everything that regsvr32 does (or actually what your
DllRegisterServer call in the DLL does).

It really is that easy :)
------------------------------------------------------------------------
------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to