IT Management Suite

  • 1.  install wrapper problem - exit code -2147024892

    Posted Jun 03, 2010 05:06 AM
    Hi,

    i'm having problems getting my installation wrapper to work.
    what it does is the folowing:
    • the wrapper itself is a VBscript located in de windows folder, named "AltirisPackage.vbs"
    • With each installation there is an XML file witch containt the name of the MSI, MST and other parameters, named Altiris.xml
    • the install-command is: "AltirisPackage /install"
    • the script fetches the current execution path (C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\Software Delivery\{**Guid**}\cache) an looks for the "Altiris.xml" file.
    • it reads the XML and runs the setup according to the properties set in the XML

    Now the problem:

    when i deploy the package it fails.
    when i look in the agent.log file i always get:
    "AltirisPackage.vbs /install": Failed to start SWD task: System can not find the specified file. (-2147024892)

    I supose this should work, because a script is in the windows folder and can be reached from anywhere on the PC.
    The strange thing is, that when i run this command manually in the command prompt from the location C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\Software Delivery\{**Guid**}\cache
    the installation works fantastic.

    when i explicit specify the location in the installation string with the command "c:\windows\AltirisPackage.vbs /install", i get :
    "c:\windows\AltirisPackage.vbs /install": Failed to start SWD task: System can not find the specified path. (-2147024893)

    i already tried running the installation with the Agent credentials and with "currnt logged on user"-credentials, but both give the same error.

    i hope somebody has can help.

    Greetings
    Tony
     



  • 2.  RE: install wrapper problem - exit code -2147024892

    Posted Jun 03, 2010 08:08 AM

    (what you have done explicitly), execept keep the /install outside of the quotes.


  • 3.  RE: install wrapper problem - exit code -2147024892

    Posted Jun 04, 2010 08:22 AM
    i tried that but with the same result.

    after some hours of searching the working installcommand is:

    cscript AltirisPackage.vbs /install

    but i had to add the wrapper-script to the package