(self)
Generate the Meson build MSI package.
Generate the Meson build MSI package.
Generate the Meson build MSI package .
def build_package(self):
        '''
           Generate the Meson build MSI package.
        '''
        wixdir = 'c:\\Program Files\\Wix Toolset v3.11\\bin'
        if not os.path.isdir(wixdir):
            wixdir = 'c:\\Program Files (x86)\\Wix Toolset v3.11\\bin'
        if not os.path.isdir(wixdir):
            print("ERROR: This script requires WIX")
            sys.exit(1)
        subprocess.check_call([os.path.join(wixdir, 'candle'), self.main_xml])
        subprocess.check_call([os.path.join(wixdir, 'light'),
                               '-ext', 'WixUIExtension',
                               '-cultures:en-us',
                               '-dWixUILicenseRtf=packaging\\License.rtf',
                               '-out', self.final_output,
                               self.main_o])
def build_package ( self ) : wixdir = 'c:\\Program Files\\Wix Toolset v3.11\\bin' if not os . path . isdir ( wixdir ) : wixdir = 'c:\\Program Files (x86)\\Wix Toolset v3.11\\bin' if not os . path . isdir ( wixdir ) : print ( "ERROR: This script requires WIX" ) sys . exit ( 1 ) subprocess . check_call ( [ os . path . join ( wixdir , 'candle' ) , self . main_xml ] ) subprocess . check_call ( [ os . path . join ( wixdir , 'light' ) , '-ext' , 'WixUIExtension' , '-cultures:en-us' , '-dWixUILicenseRtf=packaging\\License.rtf' , '-out' , self . final_output , self . main_o ] )