Great site btw, but searching isnt helping with this problem. I need some help with an sms package im deploying. First off, im new to the role and the person who used to do it has already left. Im going to training in a little so this is just for now...

Basically, because i dont know enough about wise and packaging,I have two seperate programs in sms, with one set to "run program first". The first one is a simple batch file that needs to run before installing another exe.

I have created an exe from the batch using "zip 2 secure exe" which works fine. Only problem is when its deployed via sms, even though it runs fine and does what its meant to, it comes up with an exit code 1 and a failure. This means it wont run the second program.
Anyone got any ideas? how do i make sms see that its completing? I can always run them seperatley but its already pretty dodgy...

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


help me [:o]
Answered 08/25/2008 by: fobzee
Yellow Belt

Please log in to comment
The site has been up and down lately so that's probably why you haven't gotten a response yet.

Try this....create a two line batch file called LAUNCH.CMD that launches the program and then exits with 0 error code like this:


This should pass a 0 errorlevel to SMS instead of whatever ZIP2SECURE passes back, thus indicating a success. You may need to use EXIT /B 0 instead of EXIT 0. Then change the SMS program to run LAUNCH.CMD and include this file with the others.
Answered 09/03/2008 by: MicrosoftBob
Blue Belt

Please log in to comment

I have seen your profile in appdeploy.com. I am a recruiter based in Spain and wanted to contact you proactively to see if you are looking for a position and could be interested in the below roles. The positions are English speaking and Spanish is not required.

Please feel free to contact me if you could be interested or if you know someone.

I look forward to hearing from you.

- Desktop Engineer: SMS Installer expert. SPAIN (English Spoken).
Are you looking to make the next step in your career? Are you interested in the possibility of working with the latest technology and in an organisation that can provide you with the training and career path that you deserve? Have you ever wanted to work abroad and improve your language skills?
As an SMS Installer Expert, you will be working in a multinational IT services organisation present in 90 countries around the world and with 24,000 employees in Europe. Based in a international project center in Spain you will specialise in providing desktop management support including the distribution of software packages, application packaging management, patch management, antivirus management, electronic inventory management and standard operating environment management. You will form part of a multicultural team.
We are looking for SMS Installer Experts with wide knowledge of PC hardware, Application packaging experience, System Engineering experience, Scripting experience, communications skills, management skills and Project Management experience. English is a must, Spanish is not required, but would be a plus.
Desirable skills:
Planning and prioritization skills.
Conflict resolution.
Ability to develop relationships built on trust and confidence.
Our client offers a permanent position, excellent training and professional development possibilities and the chance to work in a growing, dynamic and multicultural IT services center as well as competitive remuneration and medical insurance.
For more information please send your CV or contact me directly.

Patricia Salazar
Hays Information Technology
Tel: +34 94 423 87 17
Answered 10/10/2008 by: psal
Senior Yellow Belt

Please log in to comment

Please use the "Job Board" forum for recruitment!

If you want to contact a specific user then go to the user's profile by clicking the username of choice. You can then start your contact either by sending an email from the "E-mail" link or send a private message through the PM icon.

Answered 10/10/2008 by: AngelD
Red Belt

Please log in to comment
you can try making the last line in your batch file after running the .exe
this should return 0 status to SMS.

you may have to use a .vbs or .wsf script file that contains the .exe command line followed by the wscript.quit(0) in order to make it work. test it.
Answered 10/12/2008 by: DevilsArcade
Senior Yellow Belt

Please log in to comment