While there are quite a few samples of appropriate Custom Action (including
some posted here) none of them work for me. I either get an error code 1631 or
no error code (see log example below where it appears that app was launched ok)
but I see no application UI (it is a WPF app).
Is there some definitive reference for this?
I would prefer immediate action but it appears it must be deferred. Thus
calling this CA in Finish button Publish in Exit Dialog seems excluded.
Some people still recommend setting manifest to require administrator rights,
some people think it does not matter.
Alex Shevchuk blog sample of Custom Action Type 18 seems to fit the bill but
results in no UI.
This means that I've put System.Windows.MessageBox.Show("Starting") in
app_Startup event of WPF app and I never get to see it.
<CustomAction Id=" CA_MYAction" Impersonate="no" HideTarget="no"
FileKey="ACTION.EXE" ExeCommand="/install" Execute="deferred"
Return="asyncNoWait" />
Log extract:
Action 18:48:29: CA_MYAction.
MSI (s) (DC:BC) [18:48:29:453]: Executing op: CustomActionSchedule(Action=
CA_MYAction,ActionType=3282,Source=C:\Program
Files\TestAction\Action.exe,Target=/install,)
MSI (s) (DC:BC) [18:48:29:454]: Executing op:
ActionStart(Name=PublishFeatures,Description=Publishing Product
Features,Template=Feature: [1])
Action 18:48:29: PublishFeatures. Publishing Product Features
...
PublishFeatures: Feature:All
1: CA_MYAction 2: 0
TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD)
of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE,
FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and
subscription company, and TradeStation Europe Limited, a United Kingdom,
FSA-authorized introducing brokerage firm. None of these companies provides
trading or investment advice, recommendations or endorsements of any kind. The
information transmitted is intended only for the person or entity to which it
is addressed and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited. If you received this in error, please contact
the sender and delete the material from any computer.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users