Re: [WiX-users] Custom action executing boo script fails

2007-02-13 Thread Traits Zhang

Hi Nick,

Try this:

CustomAction Id=InstallScript Directory=[INSTALLSCRIPTINSTALLDIR]
ExeCommand='[INSTALLSCRIPTINSTALLDIR]boo\booi.exe
[INSTALLSCRIPTINSTALLDIR]install.dir.boo [WEBINSTALLDIR].
[INSTALLDIR]. [DIRECTORYNAME] [DATABASEPASSWORD]' /

Add please tell me the sequence of this custom action.

Thanks

Traits


2007/2/13, nick hemsley [EMAIL PROTECTED]:


I am having a problem calling an external boo script from wix.

Here is the tag

CustomAction Id=InstallScript Property=INSTALLSCRIPTRESULT
ExeCommand='[INSTALLSCRIPTINSTALLDIR]boo\booi.exe
[INSTALLSCRIPTINSTALLDIR]install.dir.boo [WEBINSTALLDIR].
[INSTALLDIR]. [DIRECTORYNAME] [DATABASEPASSWORD]' /

If I paste the command text from the log into a command prompt it runs
as expecte. The ExeCommand is quoted using single quotes (as I *think*
i need to use double quotes for paths, i havent tested this though).
Here is the relevant log section:

Error 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:
InstallScript, location: , command: C:\Program
Files\PROGRAM\PROGRAMWebModuleV56\install-script\boo\booi.exe
C:\Program
Files\PROGRAM\PROGRAMWebModuleV56\install-script\install.dir.boo
C:\Program Files\PROGRAM\PROGRAMWebModuleV56\. C:\Program
Files\PROGRAM\. PROGRAM test
MSI (s) (B4:6C) [19:31:47:268]: Product: AAA PROGRAM V5.6 Web Module
-- Error 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:
InstallScript, location: , command: C:\Program
Files\PROGRAM\PROGRAMWebModuleV56\install-script\boo\booi.exe
C:\Program
Files\PROGRAM\PROGRAMWebModuleV56\install-script\install.dir.boo
C:\Program Files\PROGRAM\PROGRAMWebModuleV56\. C:\Program
Files\PROGRAM\. PROGRAM test

Action ended 19:31:47: InstallScript. Return value 3.
Action ended 19:31:47: INSTALL. Return value 3.


Thanks for any help. Nick

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom action executing boo script fails

2007-02-13 Thread nick hemsley
Thanks alot,

That did the trick, however the Directory attrib expects a property id
of an existing Directory, so no need for the []:

 CustomAction Id=InstallScript
 Directory=INSTALLSCRIPTINSTALLDIR
 ExeCommand='[INSTALLSCRIPTINSTALLDIR]boo\booi.exe
 [INSTALLSCRIPTINSTALLDIR]install.dir.boo
 [WEBINSTALLDIR].
 [INSTALLDIR]. [DIRECTORYNAME] [DATABASEPASSWORD]' /


Cheers - Nick


On 2/13/07, Traits Zhang [EMAIL PROTECTED] wrote:
 Hi Nick,

 Try this:

 CustomAction Id=InstallScript
 Directory=[INSTALLSCRIPTINSTALLDIR]
 ExeCommand='[INSTALLSCRIPTINSTALLDIR]boo\booi.exe
 [INSTALLSCRIPTINSTALLDIR]install.dir.boo
 [WEBINSTALLDIR].
 [INSTALLDIR]. [DIRECTORYNAME] [DATABASEPASSWORD]' /

 Add please tell me the sequence of this custom action.

 Thanks

 Traits


 2007/2/13, nick hemsley [EMAIL PROTECTED]:
 
  I am having a problem calling an external boo script from wix.
 
  Here is the tag
 
  CustomAction Id=InstallScript Property=INSTALLSCRIPTRESULT
  ExeCommand='[INSTALLSCRIPTINSTALLDIR]boo\booi.exe
  [INSTALLSCRIPTINSTALLDIR]install.dir.boo
 [WEBINSTALLDIR].
  [INSTALLDIR]. [DIRECTORYNAME] [DATABASEPASSWORD]' /
 
  If I paste the command text from the log into a command prompt it runs
  as expecte. The ExeCommand is quoted using single quotes (as I *think*
  i need to use double quotes for paths, i havent tested this though).
  Here is the relevant log section:
 
  Error 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:
  InstallScript, location: , command: C:\Program
 
 Files\PROGRAM\PROGRAMWebModuleV56\install-script\boo\booi.exe
  C:\Program
 Files\PROGRAM\PROGRAMWebModuleV56\install-script\install.dir.boo
  C:\Program Files\PROGRAM\PROGRAMWebModuleV56\.
 C:\Program
  Files\PROGRAM\. PROGRAM test
  MSI (s) (B4:6C) [19:31:47:268]: Product: AAA PROGRAM V5.6 Web Module
  -- Error 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:
  InstallScript, location: , command: C:\Program
 
 Files\PROGRAM\PROGRAMWebModuleV56\install-script\boo\booi.exe
  C:\Program
 Files\PROGRAM\PROGRAMWebModuleV56\install-script\install.dir.boo
  C:\Program Files\PROGRAM\PROGRAMWebModuleV56\.
 C:\Program
  Files\PROGRAM\. PROGRAM test
 
  Action ended 19:31:47: InstallScript. Return value 3.
  Action ended 19:31:47: INSTALL. Return value 3.
 
 
  Thanks for any help. Nick
 
 
 -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users