waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

funi.wxs (4836B)


      1 <?xml version='1.0' encoding='windows-1252'?>
      2 <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'
      3      xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"
      4     >
      5   <Product Name='$(var.funivisiblename)' Id='69E6F862-BCEE-423C-8CC7-041E91FBE445' UpgradeCode='65C97E8E-6815-4A20-8E49-E288C724FCE0'
      6     Language='1033' Codepage='1252' Version='$(var.funiversion)' Manufacturer='$(var.funicompany)'>
      7 
      8     <Package Id='*' Keywords='Installer'
      9         Description="$(var.funicompany)'s $(var.funivisiblename) Installer"
     10         Comments='$(var.funivisiblename) is a registered trademark of $(var.funicompany)'
     11         Manufacturer='$(var.funicompany)'
     12         InstallerVersion='200'
     13         InstallScope="perUser"
     14         Languages='1033'
     15         Compressed='yes'
     16         Platform="x64"
     17         SummaryCodepage='1252'
     18         />
     19 
     20     <Media Id='1' Cabinet='funi.cab' EmbedCab='yes' CompressionLevel="none" DiskPrompt="CD-ROM #1" />
     21     <Property Id='DiskPrompt' Value="$(var.funicompany)'s $(var.funivisiblename) Installation [1]" />
     22 
     23     <Directory Id='TARGETDIR' Name='SourceDir'>
     24       <Directory Id='ProgramFiles64Folder' Name='PFiles'>
     25         <Directory Id='$(var.funicompany)' Name='$(var.funicompany)'>
     26           <Directory Id='INSTALLDIR' Name='$(var.funivisiblename)'>
     27 
     28             <Component Id='MainExecutable' Guid='B1DC944B-5882-43A7-AEBA-578720E008D0'  Win64='yes'>
     29                 <File Id='funi' Name='$(var.funigui).exe' DiskId='1' Source='..\..\build\gui\$(var.funigui).exe' ProcessorArchitecture='x64' KeyPath='yes'>
     30                   <Shortcut Id="startmenufuni" Directory="ProgramMenuDir" Name="$(var.funivisiblename)"
     31                       WorkingDirectory='INSTALLDIR' Icon="$(var.funigui).exe" IconIndex="0" Advertise="yes" />
     32                   <Shortcut Id="desktopfuni" Directory="DesktopFolder" Name="$(var.funivisiblename)"
     33                       WorkingDirectory='INSTALLDIR' Icon="$(var.funigui).exe" IconIndex="0" Advertise="yes" />
     34                 </File>
     35             </Component>
     36 
     37             <Directory Id='DIR_LANG_fr' Name='fr'>
     38                 <Component Id='RES_fr' Guid='04DFEF94-9D94-4B81-8432-4706C52AD41D'  Win64='yes'>
     39                     <File Id='LANG_fr' Name='$(var.funigui).resources.dll' DiskId='1' Source='..\..\build\gui\fr\$(var.funigui).resources.dll' />
     40                 </Component>
     41             </Directory>
     42 
     43             <Component Id='APILibrary' Guid='9D7A397D-A060-4B5B-A4C3-2A2375300FA6'  Win64='yes'>
     44                 <File Id='APIDLL' Name='$(var.funi).dll' DiskId='1' Source='..\..\build\gui\$(var.funi).dll' ProcessorArchitecture='x64' KeyPath='yes' />
     45             </Component>
     46 
     47             <Component Id='CSHARPAPIDLL' Guid='476EB983-444D-464E-B7D1-776097630C61'  Win64='yes'>
     48                 <File Id='CSHARPAPIDLL' Name='$(var.funi)_cs.dll' DiskId='1' Source='..\..\build\gui\$(var.funi)_cs.dll'  KeyPath='yes' />
     49             </Component>
     50 
     51             <Component Id='PYTHONAPI' Guid='1D5492AC-2014-4878-991B-D3F652F96773'  Win64='yes'>
     52                 <File Id='PYAPI' Name='$(var.funi).py' DiskId='1' Source='..\..\build\api\$(var.funi).py' KeyPath='yes' />
     53                 <File Id='APIHEADER' Name='$(var.funi).h' DiskId='1' Source='..\..\build\api\$(var.funi).h'/>
     54             </Component>
     55 
     56           </Directory>
     57         </Directory>
     58       </Directory>
     59 
     60       <Directory Id="ProgramMenuFolder" Name="Programs">
     61         <Directory Id="CompanyMenuDir" Name="$(var.funicompany)">
     62             <Directory Id="ProgramMenuDir" Name="$(var.funivisiblename)">
     63               <Component Id="ProgramMenuDir" Guid='50B89FED-013F-4A83-83B4-6DDDF22B2B44'  Win64='yes'>
     64                 <RemoveFolder Id='ProgramMenuDir' On='uninstall' />
     65                 <RemoveFolder Id='CompanyMenuDir' Directory='CompanyMenuDir' On='uninstall' />
     66                 <RegistryValue Root='HKCU' Key='Software\[Manufacturer]\[ProductName]' Type='string' Value='' KeyPath='yes' />
     67               </Component>
     68         </Directory>
     69         </Directory>
     70       </Directory>
     71 
     72       <Directory Id="DesktopFolder" Name="Desktop" />
     73     </Directory>
     74 
     75     <Feature Id='Complete' Level='1'>
     76       <ComponentRef Id='MainExecutable' />
     77       <ComponentRef Id='RES_fr' />
     78       <ComponentRef Id='APILibrary' />
     79       <ComponentRef Id='CSHARPAPIDLL' />
     80       <ComponentRef Id='PYTHONAPI' />
     81       <ComponentRef Id='ProgramMenuDir' />
     82     </Feature>
     83 
     84     <Icon Id="$(var.funigui).exe" SourceFile="..\..\build\gui\$(var.funigui).exe" />
     85 
     86     <WixVariable Id="WixUILicense" Value="../../src/msi/readme.rtf" />
     87 
     88     <!--
     89     <WixVariable Id="WixUIDialogBmp" Value="$(var.DialogBmp)" />
     90     <WixVariable Id="WixUIBannerBmp" Value="$(var.BannerBmp)" />
     91     -->
     92 
     93     <UIRef Id="WixUI_Minimal" />
     94 
     95     <!--
     96       WixUI_Advanced
     97       WixUI_FeatureTree
     98       WixUI_InstallDir
     99       WixUI_Mondo
    100     -->
    101 
    102   </Product>
    103 </Wix>