cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kdbond_s
Level 2

Signature options of Release Wizard from command line

I am trying to create new releases from the command line, but I want to be able to specify the options from the release wizard at build time.  How do I do this?  When I specify a new release with IScmdbld is seems to use the default values for everything in the release wizard.  In particular, I want to specify MSI and setup.exe signing from the command line.

How do I accomplish this?  This is a continuous integration build, so I want the release name to be specified on the command line at build time, so I cannot pre-run the release wizard.

Labels (1)
0 Kudos
(1) Reply
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi,

 You can create a new new release just by passing the below parameter to iscmdbld.exe, Also please refer the below help link for more information:

EX: <Path to system folder>>IsCmdBld.exe -p "<Path to ism>" -r "IS_TEST" -a "Prod Config"

https://docs.revenera.com/installshield25helplib/helplibrary/ISCmdBldParam.htm

 

If you would like to set the sign output to setup.exe or msi, you can use the automation layer support to set this,

 

https://docs.revenera.com/installshield24helplib/installshield24helplib.htm#helplibrary/ISWiReleaseSignMedia.htm#ref-automationinterface_128816387_1027479%3FTocPath%3DReference%7CAutomation%2520Interface%7CAutomation%2520Objects%7CISWiRelease%2520Object%7C_____5

 

EX Code: 

 

sPath = "C:\InstallShield 2016 Projects\Test.ism"

Set pProject = createObject("ISWiAuto23.ISWiProject")

pProject.OpenProject sPath, True 

Set prodconf = pProject.ISWiProductConfigs("Product Configuration 1")

Set rel = prodconf.ISWIReleases.Item("Release 1")

rel.SignMedia="1"

rel.SignatureDescription = "test"
pProject.SaveProject

0 Kudos