[cvsnt] Re: Problem with post install custom action
Casey Schmit
cschmit at winternals.com
Sat Apr 9 04:50:03 BST 2005
Pulled down the source and looked at the installer wxs files. I think all
that needs to be done is to change the following:
BinaryKey="Postinst.exe"
to
FileKey="postinst.exe"
I think that should be the piece that turns it into a action type of 18.
I'd build and test, but I haven't gotten around to building the full thing
just yet. If that works, then you should be able to remove the line that
adds postinst.exe to the binary table.
<Binary Id="Postinst.exe" src="$(var.CVSNT_BASE)\postinst.exe" />
Thanks,
Casey
"Casey Schmit" <cschmit at winternals.com> wrote in message
news:d36v52$qfq$1 at paris.nodomain.org...
> So it is a Wix install... :) I hadn't looked. I have a friend who has
> done quite a bit with WIX and custom actions and I'll see if he has any
> ideas. I'll also take a look and post back if I see what a possible
> solution is.
>
> Thanks for looking at this.
>
> Casey
>
>
>
> "Tony Hoyle" <tmh at nodomain.org> wrote in message
> news:d36af1$hac$1 at paris.nodomain.org...
>> Casey Schmit wrote:
>>> custom action. If you change it to a type 18 custom action, it uses the
>>> postinst.exe installed in the <program files>\CVSNT directory and works
>>> as expected. (you also have to change the source to postinst.exe from
>>> Postinst.exe). The log items in my message actually show this.
>>
>> I'm not sure if Wix can override types like this (the documentation isn't
>> that great on custom actions). I'll have a look at it though.
>>
>>
>> Tony
>
>
More information about the cvsnt
mailing list