Package returned error code 1
I am attempting to uninstall an application that upgraded itself via .EXE. When I run the uninstall command as "FILENAME.EXE /uninstall=1 /S" it works perfectly. When I deploy it via PDQ I get "Package returned error code 1". I have used a deploy account with admin rights (both standard and interactive), and tried deploying as local system.
Again, a simple 1-line command from CMD that works locally and fails via PDQ.
The service.log file from the runner directory doesn't give any insight and the installer doesn't seem to have any verbose logging options (or at least none that the publisher was able to provide).
cmd.exe /c command.cmd
Waiting for process to end...
cmd.exe /c command.cmd
Writing exit code
Got exit code: : 1
Return code: : 1
Handler.Stop
Handler.Stop.Aborted
Handler.Stop.WaitForSingleObject: 0
Any suggestions on where I could look for more information or anything I could be overlooking?
Comments
It sounds like it should work. Would you be willing to share a screenshot of this package?
It's work so I can't put up a screenshot (we block such services) and it is a security application so I'd prefer to obfuscate the application itself. It is a 1 step process, via Push. I've selected the various options for "Run As". There are no conditions on the Command step and options have been left as default. The PDQ version is 7.2.0.0 and I can upgrade if there is a reason to think that this is version-related.
The single step is a Command with the string below (tested locally and works).
c:\ProgramData\FolderName\FolderName\FileName.exe /uninstall=1 /S
The software publisher does not have an option in the .exe for a verbose log output, or are unaware of one.
Okay, I fixed it. I ultimately found that the offending app was generating a log after all, and on review found that it was logging multiple errors but that they were flagged to ignore.
I updated to 10.2.0.0 and selected to "Continue" on the Error Mode field in the packages' options tabs.
Chalk up another one to messy installers :-)
I am trying to installing the Java 8 via PDQ deploy but its failed show error : package returned error code 1
Are you using the PDQ Library Package for Java 8?
Also, can you post your log file output?