#NEWLINE# def getAdobeInstallInfo( installdir ) : #NEWLINE# #INDENT# 'Encapsulates info used by the Adobe Setup/Install app.' #NEWLINE# adobeInstallInfo = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# if installdir : #NEWLINE# #INDENT# adobeInstallInfo [ 'media_signature' ] = getCS5mediaSignature ( installdir ) #NEWLINE# adobeInstallInfo [ 'payload_count' ] = countPayloads ( installdir ) #NEWLINE# optionXMLfile = os . path . join ( installdir , 'optionXML.xml' ) #NEWLINE# if os . path . exists ( adobeInstallInfo ) : #NEWLINE# #INDENT# adobeInstallInfo [ 'uninstallxml' ] = getCS5uninstallXML ( optionXMLfile ) #NEWLINE# #UNINDENT# #UNINDENT# return adobeInstallInfo