Sounds like your CustomAction code failed.  You need to debug that to see why 
it failed (or returned non-zero).

-----Original Message-----
From: Zhang, Lei (Jonason , TSG-GDCC-CQ) [mailto:lei.zhan...@hp.com] 
Sent: Sunday, February 08, 2009 10:05
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem of CustomAction

I want to run Wrapper.exe (Java wrapper, exist in the installation package) 
after installation, it met issues:

Product: Integration Client -- Error 1722. There is a problem with this Windows 
Installer package. A program run as part of the setup did not finish as 
expected. Contact your support personnel or package vendor. Action 
InstallService, location: C:\Program Files\Hewlett-Packard\Integration 
Client\service\, command: C:\Program Files\Hewlett-Packard\Integration 
Client\service\Wrapper.exe -i C:\Program Files\Hewlett-Packard\Integration 
Client\service\wrapper.conf

Below is piece of my XML, pls help on this, thanks!
... ...
                                          <Directory Id="SVC" Name="service">
                                                 <Component Id="SERVICE" 
Guid="65516ff9-247a-4abd-9326-ad66323b25e2">
                                                        <RegistryKey 
Root="HKCU" Key="Software\Integration Client\Uninstall">
                                                               <RegistryValue 
Value="0" Type="string" KeyPath="yes" />
                                                        </RegistryKey>
                                                        <File 
Id="InstallServiceBAT" Name="InstallService.bat" DiskId="1" 
Source="src\service\InstallService.bat" Vital="yes"/>
                                                        <File 
Id="UninstallServiceBAT" Name="UninstallService.bat" DiskId="1" 
Source="src\service\UninstallService.bat" Vital="yes"/>
                                                        <File Id="WrapperConf" 
Name="wrapper.conf" DiskId="1" Source="src\service\wrapper.conf" Vital="yes"/>
                                                        <File Id="WrapperDLL" 
Name="Wrapper.dll" DiskId="1" Source="src\service\Wrapper.dll" Vital="yes"/>
                                                        <File Id="WrapperEXE" 
Name="Wrapper.exe" DiskId="1" Source="src\service\Wrapper.exe" Vital="yes"/>
                                                        <File Id="WrapperJAR" 
Name="wrapper.jar" DiskId="1" Source="src\service\wrapper.jar" Vital="yes"/>
                                                        <File 
Id="WrapperLicenseTXT" Name="wrapper-license.txt" DiskId="1" 
Source="src\service\wrapper-license.txt" Vital="yes"/>
                                                        <RemoveFolder Id="SVC" 
On="uninstall" />
                                                 </Component>

                                                 <Directory Id="ServiceLog" 
Name="log">
                                                        <Component 
Id="ServiceLogFolder" Guid="818ca330-dfd6-477c-825a-ea640f8b7597">
                                                               <RegistryKey 
Root="HKCU" Key="Software\Integration Client\Uninstall">
                                                                      
<RegistryValue Value="0" Type="string" KeyPath="yes" />
                                                               </RegistryKey>
                                                               <CreateFolder 
Directory="ServiceLog"></CreateFolder>
                                                               <RemoveFolder 
Id="ServiceLog" On="uninstall" />
                                                        </Component>
                                                 </Directory>
                                          </Directory>
... ...
<CustomAction Id='InstallService' Directory="SVC"  ExeCommand='[SVC]Wrapper.exe 
-i [SVC]wrapper.conf'/>
              <InstallExecuteSequence>
                     <Custom Action="InstallService" 
After="InstallFinalize">NOT Installed</Custom>
              </InstallExecuteSequence>
... ...
Best regards.
Jonason Zhang
Integration Framework
GDAS China | Application Service Engineering (ASE)

TEL: 86-23-65683078  [Office]
EMail: lei.zhan...@hp.com<mailto:lei.zhan...@hp.com>
HPSX Support Hour: (GMT +8:00) 10:00~19:00
HPSX Support Call Number: +86 13671512912
http://enhanced1.sharepoint.hp.com/teams/IntegrationFramework/Lists/OnCall%20schedule/AllItems.aspx

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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