ISCC.exe returns non-0 exit code when passed `/?`

27 views
Skip to first unread message

COOK Nathan

unread,
Oct 31, 2024, 5:32:46 AMOct 31
to inno...@googlegroups.com, MULLINS Mark

Hi there

 

When I ask the iscc binary for help, it returns non-0.
It doesn’t seem obvious to me that anything went wrong with displaying the help output in my terminal.
To reproduce in powershell, once Inno is installed and it’s installation directory found on the PATH of a Windows machine:
```
iscc /?
Write-Host $LASTEXITCODE
```

I ask because I am trying to smoke-test an installation of Inno Setup 6 on a virtual machine, and running `iscc /?` makes my process fail due to the non-zero exit code, but the binary doesn’t seem to have crashed or errored.

.. Is there any other harmless set of arguments I could pass to iscc.exe to see if it is callable, that has iscc.exe return 0?

Thanks,

Nathan

 

Nathan Cook
Senior DevOps Engineer

Metrology & Production Software DevOps

Hexagon Manufacturing Intelligence

E: natha...@hexagon.com

 

Eivind Bakkestuen

unread,
Oct 31, 2024, 6:39:38 PMOct 31
to inno...@googlegroups.com
If you just want to see if its callable, isn't a non-0 result just as good as 0? As long as you get the same non-0 result each time, that is :D

--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/AS8PR06MB78476F0F92B4ADA121EA607BFD552%40AS8PR06MB7847.eurprd06.prod.outlook.com.
Reply all
Reply to author
Forward
0 new messages