Re: batch file wont run
- From: "Scott" <scottfranks@xxxxxxxxxxxxxxx>
- Date: Mon, 5 Nov 2007 10:42:23 -0500
first to confirm your question, yes i have 2 programs in one package.
I was able to get the first program to install in the default "out of the
box" configuration, however, the second program which copies a modified ini
file into the clients progam files directory failed with the message:
Severity Type Site code System Description Date / Time Component Message ID
Error Milestone OTT PC1276 The program for advertisement "OTT200EC" failed
("OTT00059" - "irfanview ini file"). A failure exit code of 1 was returned.
User context: NT AUTHORITY\SYSTEM Possible cause: Systems Management
Server (SMS) determines status for each program it executes. If SMS cannot
find or correlate any installation status Management Information Format
(MIF) files for the program, it uses the program's exit code to determine
status. An exit code of 1 is considered a failure. Solution: For more
information on the exit code, refer to the documentation for the program you
are distributing. 11/5/2007 10:18:21 AM Software Distribution 10006
Any ideas on how to tweak this?
"Matthew Hudson" <MatthewHudson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
Yes it should run it in one pass. If you have run it on your test machine
multiple times you might want to click the "Always run the previous
That way they all run.
See if that will help.
You should have 2 programs in 1 package correct.
I made the modification you suggested, however, sms will still not
the program (irfanview and the accompanying ini package(the batch file
If i run the packages separtely, it will work, but i thought using the
this program first" option, that i could do it in one pass.
"Matthew Hudson" <MatthewHudson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
The "/y" goes in the front for copy and the back for xcopy. It shouldread
copy /Y "\\pc1276\restore\i_view32.ini" "c:\program
I have installed a program successfully using sms. I now have to
theini file to enhance some user settings.
I thought i could deploy the program and the ini file modification in
whichsame package. the install would run silently, then pull the batch
programs tobasically copies the correct version of the ini file and overwrites
default ini file on the clients workstation. I can get these two
is awork independently ( two separate packages, then advertise them.)
lousy way of doing it.
here is the batch file:
copy "\\pc1276\restore\i_view32.ini" "c:\program
I have named it batchfile.bat
any help would be greatly appreciated.
- Re: batch file wont run
- From: Matthew Hudson
- Re: batch file wont run
- Prev by Date: Re: SMS Sites and Forests
- Next by Date: Re: SMS Sites and Forests
- Previous by thread: Re: batch file wont run
- Next by thread: Re: batch file wont run