Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Building CA Command Lines arguments (Problem)


2 replies to this topic

woter324

woter324
  • Full Members
  • 18 posts

Posted 01 November 2005 - 13:16

Hi-y

I've created a custom action that is executing an EXE retrieved from a search from a button.

The file installs windows services and if it were to be run from a command line manually, the command would typically look like this:

C:\>jrun4\bin\jrunsvc.exe -install TEST123 "Macromedia JRun TEST123 Service" "Macromedia JRun TEST123 Service"

The following properties are set prior to executing this CA:

[CS_DSN] = TEST123
[JR_JRUNSVC_SEARCH] =jrun4\bin\jrunsvc.exe

The CA allows me to set a command line argument. However I cannot get the right output. It creates the service, but it isn't passing the right arguments, therefore the service name and description are wrong.

Does anyone know how I should build the command line? I have tried:

-install [CS_DSN] "Macromedia JRun [CS_DSN] Service" "Macromedia JRun [CS_DSN] Service"

MITA

Woter



woter324

woter324
  • Full Members
  • 18 posts

Posted 01 November 2005 - 13:17

For reasons that are unbeknown to me, we don't want to use the built in tools for services

Edited by woter324, 01 November 2005 - 13:59.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 02 November 2005 - 11:35

maybe a verbose log file will thell you the command line that Windows Installer is actually using?