Paul,
Sounds like your WiX code is missing the <Binary> element.
Basically, the idea is:
- Create a record in the CustomAction table:
<CustomAction Id="MyAction" BinaryKey="ExtScript" VBScriptCall="SomeFunction" />
- Create a record in the Binary table:
<Binary Id="ExtScript" SourceFile="ExtScript.vbs"/>
- Schedule a custom action:
<InstallExecuteSequence>
<Custom Action="MyAction" ... />
</InstallExecuteSequence>
Alex
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Chrzanowski
Sent: Thursday, January 31, 2008 6:42 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adding a custom action (type 6) in a patchpackage (msp)
Hello, wix users,
we are considering to switch from using InstallShield software to WiX.
We want to add and use a new custom action (type 6) integrated in our new
hotfix.
Sadly, this is not possible with InstallShield's AdminStudio (QuickPatch).
Now, we were investigating if WiX would come along with a solution, but we
could not manage to
achieve this, either.
First we used Wix v3 and tried to build a patch using only WiX (torch.exe,
pyro.exe) like the tutorial in the help file document.
After some experimenting, we got the error indicating that the custom action
was not found in the binary table.
Only in-line script custom actions (custom action type 38) seemed to work.
Then we tried the ordinary way with a pcp file ... leading to the same result.
BUT after editing the pcp file with Orca and manually inserting a new entry for
the custom action in the binary table
the resulting msp file worked just fine!
So our question is, is this possible without manual intervention using orca or
do we even do anything wrong?
Or is this some kind of a bug in creating the msp or wixmst or something like
that?
Any thoughts regarding our problem are much appreciated.
With best regards,
Paul.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users