Page 1 of 1

Silent option greyed out during package creation

Published: May 12, 2022 - 11:43
by Sebo_Lavie
Hello everyone,

I'm contacting you because I'm having a small problem creating packages.

When I try to create a package using the package creation wizard, the line for silent options is grayed out, so I can't add my arguments for the .msi file I want to package.

I've had this problem since updating to Discovery Console version 2.2.1.11899, whereas I didn't have this issue with version 1.8. Did I miss a step during the update? Or does the Discovery version no longer support this feature?
Thank you very much in advance for your help!
Looking forward to hearing from you, have a great day, and see you soon!

--------------------
WAPTConsole Discovery version 2.2.1.11.899
Server OS: Windows Server 2016
Workstation OS: Windows 10

Re: Silent option greyed out during package creation

Published: May 12, 2022 - 12:48
by sfonteneau
Hello,

this is intentional (both Discovery and Enterprise versions).

You must use the "Edit Manually" button to add additional arguments.
Then, test in PyScript/VS Code that your additional arguments work.

Simon

Re: Silent option greyed out during package creation

Published: May 12, 2022 - 2:24 PM
by Sebo_Lavie
Hi Simon,

first of all, thank you for your reply.

I've installed version 4 of PyScripter, but unfortunately my skills end there; I have absolutely no idea what to do...

Seb

Re: Silent option greyed out during package creation

Published: May 12, 2022 - 2:50 PM
by Sebo_Lavie
Okay then...
I took a quick look at the downloaded packages and if I understood correctly at a glance...

I create my package and edit it manually, adding my arguments by hand, for example starting with silentflags='?

example :

Code: Select all

def install():
    # Declaring local variables

    # Installing the software
    print("Installing: monlogiciel.msi")
    install_msi_if_needed('monlogiciel.msi')
    silentflags='/argumentA /argumentB /argumentC /log=%computername%_monlogiciel.txt'
I test if everything is OK by running an install, and if that works, I run an ibuild-upload

Am I right?!