Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Advertising ERROR!!!!

Status
Not open for further replies.

AirForce

IS-IT--Management
Jan 16, 2001
10
US
I'm getting this error when I try to advertise a program. It's a simple script file that creates local users on a PC.

ERROR BELOW:

An error occurred while preparing to run the program for advertisement "LG120057" ("LGLOIITM" - "LGLOIITM"). The operating system reported error 2147943648: No more local devices. Additional program properties:
Command line: LGLOIITMUSERRUN.bat
Working directory:
Drive letter (? = any): ?

Possible cause: This message most commonly occurs when the program’s command-line executable file could not be found, when a required drive letter connection to a distribution point could not be established, or when the program is configured to use the Windows NT Client Software Installation Account but the account is not specified, could not be found, or does not have the appropriate permissions.
Solution: Check each of the items listed above.


I also get the following error for the same script:

The program for advertisement "LG120058" failed ("LGLOIITM" - "LGLOIITM"). A non-zero exit code of 2 was returned.

Possible cause: SMS Advertised Program Manager (APM) determines status for each program it executes. If APM cannot find or correlate any install status Management Information Format (MIF) files for the program, it uses the program's exit code to determine status. A non-zero exit code is considered a failure.
Solution: For more information on the exit code, refer to the documentation for the program you are distributing.


Thanks in Advance!!
 
For the non-zero exit code error message, I suggest creating a batch file as your Program (this is commonly known as wrapping your installation). This should prevent any error codes from being returned, therefore stopping this error.

Another more complicated solution would be to wrap your install in SMS Installer instead of batch. This would allow you to use the return codes to actually return pertinent information.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top