Product.wxs 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 1994-2018 Altair Engineering, Inc.
  4. For more information, contact Altair at www.altair.com.
  5. This file is part of the PBS Professional ("PBS Pro") software.
  6. Open Source License Information:
  7. PBS Pro is free software. You can redistribute it and/or modify it under the
  8. terms of the GNU Affero General Public License as published by the Free
  9. Software Foundation, either version 3 of the License, or (at your option) any
  10. later version.
  11. PBS Pro is distributed in the hope that it will be useful, but WITHOUT ANY
  12. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  13. FOR A PARTICULAR PURPOSE.
  14. See the GNU Affero General Public License for more details.
  15. You should have received a copy of the GNU Affero General Public License
  16. along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. Commercial License Information:
  18. For a copy of the commercial license terms and conditions,
  19. go to: (http://www.pbspro.com/UserArea/agreement.html)
  20. or contact the Altair Legal Department.
  21. Altair’s dual-license business model allows companies, individuals, and
  22. organizations to create proprietary derivative works of PBS Pro and
  23. distribute them - whether embedded or bundled with other software -
  24. under a commercial license agreement.
  25. Use of Altair’s trademarks, including but not limited to "PBS™",
  26. "PBS Professional®", and "PBS Pro™" and Altair’s logos is subject to Altair's
  27. trademark licensing policies.
  28. -->
  29. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  30. <Product Id="*" Name="$(var.pbs_product_name)" Language="1033" Version="$(var.pbs_short_version)" Manufacturer="PBS Pro" UpgradeCode="4bc6b7a2-d5e0-4ef5-a4e7-8cf241af146e">
  31. <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"/>
  32. <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed."/>
  33. <MediaTemplate EmbedCab="yes"/>
  34. <Icon Id="ProductIcon" SourceFile="$(var.pbs_resources)\logo.ico"/>
  35. <Property Id="ARPPRODUCTICON" Value="ProductIcon"/>
  36. <WixVariable Id="WixUILicenseRtf" Value="$(var.pbs_resources)\pbs_license.rtf"/>
  37. <WixVariable Id="WixUIBannerBmp" Value="$(var.pbs_resources)\pbs_hq.bmp"/>
  38. <WixVariable Id="WixUIDialogBmp" Value="$(var.pbs_resources)\setup.bmp"/>
  39. <Feature Id="PBSProFeature" Title="PBSPro" Level="1" ConfigurableDirectory="INSTALLFOLDER">
  40. <ComponentGroupRef Id="pbsproexec"/>
  41. <ComponentRef Id="ENVIRON"/>
  42. </Feature>
  43. <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/>
  44. <UIRef Id="WixUI_InstallDir"/>
  45. </Product>
  46. <Fragment>
  47. <Directory Id="TARGETDIR" Name="SourceDir">
  48. <Directory Id="ProgramFilesFolder">
  49. <Directory Id="INSTALLFOLDER" Name="PBS">
  50. <Directory Id="PBS_EXEC" Name="exec" />
  51. </Directory>
  52. </Directory>
  53. </Directory>
  54. </Fragment>
  55. <Fragment>
  56. <DirectoryRef Id="TARGETDIR">
  57. <Component Id="ENVIRON" Guid="1bc6b7a2-d5e0-4ef5-a4e7-8cf241af146e">
  58. <Environment Id="PBS_EXEC_VAR" Action="set" Part="all" Name="PBS_EXEC" Permanent="no" System="yes" Value="[PBS_EXEC]"/>
  59. <Environment Id="BIN" Action="set" Part="last" Name="PATH" Permanent="no" System="yes" Value="%PBS_EXEC%bin"/>
  60. <Environment Id="SBIN" Action="set" Part="last" Name="PATH" Permanent="no" System="yes" Value="%PBS_EXEC%sbin"/>
  61. <Environment Id="LIB" Action="set" Part="last" Name="PATH" Permanent="no" System="yes" Value="%PBS_EXEC%lib"/>
  62. <Environment Id="PGBIN" Action="set" Part="last" Name="PATH" Permanent="no" System="yes" Value="%PBS_EXEC%pgsql\bin"/>
  63. <Environment Id="PYBIN" Action="set" Part="last" Name="PATH" Permanent="no" System="yes" Value="%PBS_EXEC%python"/>
  64. <Environment Id="PYSCRIPTS" Action="set" Part="last" Name="PATH" Permanent="no" System="yes" Value="%PBS_EXEC%python\Scripts"/>
  65. <Environment Id="PYWIN32" Action="set" Part="last" Name="PATH" Permanent="no" System="yes" Value="%PBS_EXEC%python\Lib\site-packages\pywin32_system32"/>
  66. <Environment Id="PBS_CONF_FILE" Action="set" Part="all" Name="PBS_CONF_FILE" Permanent="no" System="yes" Value="[INSTALLFOLDER]pbs.conf"/>
  67. </Component>
  68. </DirectoryRef>
  69. </Fragment>
  70. </Wix>