Jump to content


  • 0
boundsw

Keep getting error code -3 when trying to deploy software

Question

Hi all.

 

Relatively new to SCCM, but have been playing for a while and managing to get things working. I have got a whole bunch of applications to deploy to xp and w7 machine collections with success, but now im stuck on one and I need some help !! That’s where you all come in, hopefully.

Ok, so this is the basics of what I have.

 

Application to deploy is ‘Cisco Ironport desktop encryption plugin’

 

I have created answer files for this install on win xp/7 machines.

 

I have run the install, referring to the answer file manually on xp and 7 machines, and the install works. Great.

 

Answer file and .exe file are placed in the package source location on the SCCM server

 

I have two test collections, one for XP, and one for 7 machines

 

I have created one package “Ironport Encryption Plugin” with two programs “Install Cisco Ironport W7 x64” and “Install Cisco Ironport XP x86”

 

I have created 2 advertisements that are assigned to the two collections.

 

The win XP install deploys and works

The W7 install always fails, and I cannot work out why !

 

Windows XP command that works:

CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1\\******\support$\SCCMDeploy\Cisco Ironport Plugin\winxpunattend.iss

 

Windows 7 command that DOES NOT work

CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1\\******\support$\SCCMDeploy\Cisco Ironport Plugin\w7x64unattend.iss

 

(***** is the DFSRoot comapny name, so I have removed that here)

 

The error in the system status is :

 

The program for advertisement "00120023" failed ("00100040" - "Install Cisco Ironport W7 x64"). A failure exit code of -3 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 -3 is considered a failure.

Solution: For more information on the exit code, refer to the documentation for the program you are distributing.

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

Peter33

 

This app does require .net of some version (cant remember off hand) and this does pop up to install if its not already installed. This could be the problem.

 

Maybe Ive been having 2 issues at the same time.

 

Im currently re-running the deploy to my win 7 test VM, with the "run from local" option - ill see where this takes make 1st, but it sounds like i might need a new answerfile !

Share this post


Link to post
Share on other sites

  • 0

If it requires .Net then you could have the .net executable also in the package and use the Start /Wait script mentioned above so it could be like this:

 

Start /Wait "%~dp0net4.0.exe /parameters"

Start /Wait "%~dp0setup.exe /s /v /qn /w7x64unattend.iss"

 

This will install .net 1st and then move onto your main program!! B)

Share this post


Link to post
Share on other sites

  • 0

ok, so the "run from local" option is still throwing an error. for some reason SCCM is putting quotes in the wrong place.

 

If i use the command

CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1w7x64unattend.iss

or

"CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1w7x64unattend.iss"

 

The errors are as below:

 

Program started for advertisement "00120023" ("00100040" - "Install Cisco Ironport W7 x64").

Command line: "C:\Windows\SysWOW64\CCM\Cache\00100040.19.System\CiscoEmailSecurity-7-2-0-039.exe" /s /v /qn /f1w7x64unattend.iss

Working directory: C:\Windows\SysWOW64\CCM\Cache\00100040.19.System\

User context: NT AUTHORITY\SYSTEM

 

and

 

The program for advertisement "00120023" failed ("00100040" - "Install Cisco Ironport W7 x64"). A failure exit code of -3 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 -3 is considered a failure.

Solution: For more information on the exit code, refer to the documentation for the program you are distributing.

 

See how the switches are being put outside the quotes !

 

Im going to try the CMD batch file option next

Share this post


Link to post
Share on other sites

  • 0

Ok, so im still having this problem !!

I have tried with the cmd file option now aswell, using two ways to ref the answerfile.

 

1.

pushd %~dp0

CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1"\\<DFSRoot\support$\SCCMDeploy\Cisco Ironport Plugin\w7x64unattend.iss"

popd

exit /b %errorlevel%

 

2.

pushd %~dp0

CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1w7x64unattend.iss

popd

exit /b %errorlevel%

 

Both error in the same way

 

Program started for advertisement "00120023" ("00100040" - "Install Cisco Ironport W7 x64").

Command line: "C:\Windows\SysWOW64\CCM\Cache\00100040.24.System\w7x64setup.cmd"

Working directory: C:\Windows\SysWOW64\CCM\Cache\00100040.24.System\

User context: NT AUTHORITY\SYSTEM

 

and

 

The program for advertisement "00120023" failed ("00100040" - "Install Cisco Ironport W7 x64"). A failure exit code of -3 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 -3 is considered a failure.

Solution: For more information on the exit code, refer to the documentation for the program you are distributing.

 

I have been to the test machine, browsed to "C:\Windows\SysWOW64\CCM\Cache\00100040.24.System\" and ran the secript manually, and the application installs. So i know it 100% works.

 

Thanks for all the input so far.

 

Any other ideas here ?

Share this post


Link to post
Share on other sites

  • 0

I had not seen that no - thanks for the find ! :)

 

(This part is now not SCCM related)

 

Either im having a nighmare, or something is not right. I have extracted the .exe to a folder on c:\ (on the test machine). On the info from "David Simmons" he then states that the msi can be run by using the command:

 

msiexec.exe /i "msiname.msi" /qn

 

But this does nothing.

 

So if I remove the /qn, msiexec compalins as soon as its run : "This installation cannot be run directly launching the MSI package, You must run setup.exe"

 

arrgghh !

 

back to the SCCM part.

 

Why is SCCM adding the quotes in the wrong place ! - any ideas about this?

 

Thanks so far guys - much appreciated.

Share this post


Link to post
Share on other sites

  • 0

Hi Bound,

 

you can edit the MSI file to get rid of this launch condition.

There is a free MSI editor named Orca. Get it and open the MSI file with, then go to the "LaunchCondition" preperty table and delete the entry. Save the MSI, and you are done.

 

 

Edit:

 

Hope you also did read what he was stating about the custom actions.

 

"for a silent install. I still had to use an msi editor (installshield) to create a transform to remove two custom actions that were causing errors during the msi installtion: CheckLanguageUpdaterResult and CheckUpdateFeaturesResult. The application still installed correctly before removing those errors, I just needed to remove them so SCCM would not report a failed installation."

 

Not sure if this can be done easily with Orca. I am using Wise Package Studio for MSI editing, but this is not a free product.

Share this post


Link to post
Share on other sites

  • 0

Rocket man.

Yes this version is defo x86 and x64 compatible.

I dont know if its free, ill have to check. Its Cisco Any conenct VPN client for our ASA firewall.

 

Peter33.

Ok, let me download "Orca" and see what i can do.

yes I did read that part about the silent install, but as I was falling before that hurdle at normal intercative install, i kinda didnt get that far ! :)

Share this post


Link to post
Share on other sites

  • 0

ok - update.

 

Got the package to download to the machine.

Open a cmd window (in admin mode)

Browse to the cache on the test machine.

Run "w7x64setup.cmd"

 

w7x64setup.cmd is as below :

 

pushd %~dp0

CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1"w7x64unattend.iss"

popd

exit /b %errorlevel%

 

In the cmd window I see (at the end of the path)

 

CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1"w7x64unattend.iss"

popd

exit /b -3

 

So i change the .cmd file so the .iss answerfile is the one on the SCCM server (not the locally copied down file) - and i get the below when i run it in an elevated cmd window.

 

CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1"\\DFSRoot\support$\SCCMDeploy\Cisco Ironport Plugin\w7x64unattend.iss"

popd

exit /b -0

 

and its works.

 

So i have managed to replicate the problem locally, and see the error code now.

But why cant it see the local file !, in the same path whn using the "pushd %~dp0" command

 

 

Im in catch22 now.

SCCM puts the quotes in the wrong place for some strange reason when suing the UNC path to answerfile, and it fails with error -3 (but run locally works)

Using the short answerfile location, SCCM command looks correct, but for some reason the setup does not find the answerfile, and i get error -3 (SCCM and locally run)

 

and its the same no mater how i ref the command in a cmd file, if i use "pushd %~dp0" or not, if i use the local or UNC file paths - it always fails with error -3

 

what a nightmare !

 

on a side note, im having no luck with orca at the minute.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...



×
×
  • Create New...