I'm trying to run an exe I installed in my script at the end of the install.

I've done the following:
    <CustomAction Id="SetAgentNstPath" Value="[#AgentInst]" 
Property="AgentInstallerPath"></CustomAction>
    <CustomAction Id="AgentInstallerAction" Property="AgentInstallerPath" 
Return="ignore" ExeCommand ="agent sapi peedy UK registry exit" />


I've also schedule the custom actions thus:
      <Custom Action="SetAgentNstPath" After="CostFinalize" />

and
        <Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" 
Value="AgentInstallerAction">
          <![CDATA[(InstallMode<>"Remove") AND (InstallMode<>"Repair") AND 
(InstallMode<>"Change")]]>
        </Publish>

Looking through my install log I see these relevant items:
MSI (s) (FC:F4) [07:08:38:238]: Doing action: SetAgentNstPath
Action start 07:08:38: SetAgentNstPath.
MSI (s) (FC:F4) [07:08:38:243]: PROPERTY CHANGE: Adding AgentInstallerPath 
property. Its value is 'C:\Program Files\Wieser Software Ltd\Articulate 
Spelling\agentnst.exe'.
Action ended 07:08:38: SetAgentNstPath. Return value 1.
...
MSI (c) (0C:9C) [07:08:43:378]: Doing action: ExitDialog
Action start 07:08:43: ExitDialog.
MSI (c) (0C:74) [07:08:45:442]: Doing action: AgentInstallerAction
Action start 07:08:45: AgentInstallerAction.
MSI (c) (0C:74) [07:08:45:513]: Note: 1: 1721 2: AgentInstallerAction 3:  4: 
agent sapi peedy UK registry exit
Info 1721. There is a problem with this Windows Installer package. A program 
required for this install to complete could not be run. Contact your support 
personnel or package vendor. Action: AgentInstallerAction, location: , 
command: agent sapi peedy UK registry exit
Action ended 07:08:45: AgentInstallerAction. Return value 1.

So clearly somethings happened to the AgentInstallerPath property, but it 
isn't mentioned anywhere else in the log.

What have I done wrong?

Anthony Wieser
Wieser Software Ltd



------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to