Announcement

Collapse
No announcement yet.

"Unattended Build Options" not works in 8.2.1.0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • "Unattended Build Options" not works in 8.2.1.0

    I'm using Setup Factory 8.2.1.0.

    I'm trying to build my setup.exe within the Windows' command line.

    I found the article about "Unattended Build Options" in your website.

    I'm using python to call setup factory like this

    Code:
    def _packSetup(setupFile):
    	_CMD_SETUP = '"%s" /BUILD %s' % (CMD_SETUP, setupFile)
    
    	try:
    		print _CMD_SETUP
    		#return 0 
    		output = subprocess.check_output(_CMD_SETUP, stderr=subprocess.STDOUT, shell=True)
    		print "xxxxx"
    		print output 
    		return 0 
    	except subprocess.CalledProcessError as e:
    		print e.output
    		print "Build setup file Failed"
    		return 1
    
    	return 0
    Code:
    "C:\Program Files (x86)\Setup Factory 8.0\SUF80Design.exe" /BUILD C:\Work\Packager\CCS4Public.sf8
    I got no error when setup factory is auto closed. and I got nothing.

    When I use the interface to build, I got setup.exe ok.

    BTW, /CONST:<<ini file path>> seems not working

    Did I missing somthing import? Thank you!

  • #2
    You may want to check the documentation. If you want to get the output, then you need to pass /STDOUT. The option /CONST is known to work properly, you should double-check what you are doing (and aren't showing here).

    Ulrich

    Comment


    • #3
      Thank u, Ulrich.

      I got the out put now.

      Comment

      Working...
      X