parameters: (self,msi_dest_path)
return_statement: return [dev_success,redist_success]
docstring: [dev_success,redist_success]
docstring_summary: [dev_success,redist_success]
docstring_tokens: [ dev_success redist_success ]
function: def make_installer(self,msi_dest_path):
          """
          [dev_success,redist_success]
          """
          wix_var_file = '%sVariables.wxi'%self.redist_internal_name.replace('_','')
  
          [dev_success,redist_success] = [False,False]
          print("* Making Installer...")
          self.logger.info("Making Installer...")
          self.wix_inst_primitive_check()
          os.chdir(os.path.join(self.WORK_DIR,self.inst_proj_path))
          # Replace version in the WIX
          self.wix_dev_var_set()
          self.check_upgrade_install_sln()
          print("calling WIX")
          conf_name = self.internal_conf_name
          dev_success = self.build_installer(conf_name)
          print(("moving %s Msi"%conf_name))
          src = ('.\\bin\Release\en-US\\%s.msi'%self.redist_internal_name)
          dst = os.path.join( msi_dest_path ,self.final_dir,(self.product_name + '-Win' + self.vc_build_bits + "-" + self.VER + '-%s.msi'%conf_name))
          os.system(("move %s %s"%(src,dst)))
          self.dev_to_redist_hack()
          self.wix_redist_var_set()
          print("calling WIX")
          conf_name = 'Redist'
          redist_success = self.build_installer(conf_name)
          print(("moving %s Msi"%conf_name))
          os.system("move .\\bin\Release\en-US\\%s.msi %s"%(self.redist_internal_name,\
                                                            os.path.join( msi_dest_path ,self.final_dir,self.product_name + '-Win' + self.vc_build_bits + "-" + self.VER + '-%s.msi'%conf_name)))
  
          os.chdir(self.WORK_DIR)
          return [dev_success,redist_success]
function_tokens: def make_installer ( self , msi_dest_path ) : wix_var_file = '%sVariables.wxi' % self . redist_internal_name . replace ( '_' , '' ) [ dev_success , redist_success ] = [ False , False ] print ( "* Making Installer..." ) self . logger . info ( "Making Installer..." ) self . wix_inst_primitive_check ( ) os . chdir ( os . path . join ( self . WORK_DIR , self . inst_proj_path ) ) # Replace version in the WIX self . wix_dev_var_set ( ) self . check_upgrade_install_sln ( ) print ( "calling WIX" ) conf_name = self . internal_conf_name dev_success = self . build_installer ( conf_name ) print ( ( "moving %s Msi" % conf_name ) ) src = ( '.\\bin\Release\en-US\\%s.msi' % self . redist_internal_name ) dst = os . path . join ( msi_dest_path , self . final_dir , ( self . product_name + '-Win' + self . vc_build_bits + "-" + self . VER + '-%s.msi' % conf_name ) ) os . system ( ( "move %s %s" % ( src , dst ) ) ) self . dev_to_redist_hack ( ) self . wix_redist_var_set ( ) print ( "calling WIX" ) conf_name = 'Redist' redist_success = self . build_installer ( conf_name ) print ( ( "moving %s Msi" % conf_name ) ) os . system ( "move .\\bin\Release\en-US\\%s.msi %s" % ( self . redist_internal_name , os . path . join ( msi_dest_path , self . final_dir , self . product_name + '-Win' + self . vc_build_bits + "-" + self . VER + '-%s.msi' % conf_name ) ) ) os . chdir ( self . WORK_DIR ) return [ dev_success , redist_success ]