diff options
Diffstat (limited to 'dist/win/installer/ledger.wxs')
-rw-r--r-- | dist/win/installer/ledger.wxs | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/dist/win/installer/ledger.wxs b/dist/win/installer/ledger.wxs new file mode 100644 index 00000000..711c9477 --- /dev/null +++ b/dist/win/installer/ledger.wxs @@ -0,0 +1,63 @@ +<?xml version='1.0' encoding='windows-1252'?> +<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> + <Product Name='Ledger' Id='7976E26F-7353-4838-A524-2465619E8AE0' UpgradeCode='F9E282EC-EC89-482c-9214-8F03661414A2' + Language='1033' Codepage='1252' Version='$(env.ledger_version_nr)' Manufacturer='John Wiegley'> + <Package Id='*' Keywords='Installer' Description="Ledger $(env.ledger_version_nr) Installer" + Comments='Double-entry accounting system with a command-line reporting interface.' Manufacturer='John Wiegley' + InstallerVersion='100' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> + + <Media Id='1' Cabinet='ledger.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' /> + <Property Id='DiskPrompt' Value="Ledger $(env.ledger_version_nr) Installation [1]" /> + <Directory Id='TARGETDIR' Name='SourceDir'> + <Directory Id='ProgramFilesFolder' Name='PFiles'> + <Directory Id='INSTALLDIR' Name='Ledger 3'> + <Component Id='MainExecutable' Guid='53D87CDD-FD2F-414f-BB84-807F5E31BC4B'> + <File Id='LedgerEXE' Name='ledger.exe' DiskId='1' Source='ledger.exe' KeyPath='yes'> + <!--Shortcut Id="startmenuFoobar10" Directory="ProgramMenuDir" Name="Foobar 1.0" + WorkingDirectory='INSTALLDIR' Icon="Foobar10.exe" IconIndex="0" Advertise="yes" /--> + <!--Shortcut Id="desktopFoobar10" Directory="DesktopFolder" Name="Foobar 1.0" + WorkingDirectory='INSTALLDIR' Icon="Foobar10.exe" IconIndex="0" Advertise="yes" /--> + </File> + </Component> + <!--Component Id='HelperLibrary' Guid='YOURGUID-6BE3-460D-A14F-75658D16550B'> + <File Id='HelperDLL' Name='Helper.dll' DiskId='1' Source='Helper.dll' KeyPath='yes' /> + </Component--> + <Component Id='Manual' Guid='86878FFD-860A-44d1-9FEB-B1CB2B551E38'> + <File Id='Manual' Name='ledger.pdf' DiskId='1' Source='ledger.pdf' KeyPath='yes'> + <Shortcut Id='startmenuManual' Directory='ProgramMenuDir' Name='Ledger manual' Advertise='yes' /> + </File> + </Component> + </Directory> + </Directory> + + <Directory Id="ProgramMenuFolder" Name="Programs"> + <Directory Id="ProgramMenuDir" Name="Ledger 3"> + <Component Id="ProgramMenuDir" Guid="E9BBD4AA-A0CB-41db-9870-795728956198"> + <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> + <RegistryValue Root='HKCU' Key='Software\Ledger' Type='string' Value='' KeyPath='yes' /> + </Component> + </Directory> + </Directory> + </Directory> + <Feature Id='Complete' Level='1' Title='Ledger $(env.ledger_version_nr)' Description='The complete package.' Display='expand' ConfigurableDirectory='INSTALLDIR'> + <ComponentRef Id='MainExecutable' /> + <ComponentRef Id='Manual' /> + <ComponentRef Id='ProgramMenuDir' /> + </Feature> + <!-- http://techupcoming.com/userinterfaceiconscom-download-high-quality-icons-for-free/ --> + <Icon Id="Ledger.exe" SourceFile="Calculator_16x16.ico" /> + <Property Id="ARPPRODUCTICON" Value="Ledger.exe" /> + <Property Id="ALLUSERS" Value="1"/> + + <UIRef Id='WixUI_Minimal' /> + <UIRef Id='WixUI_ErrorProgressText' /> + + <WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" /> + <!--WixVariable Id="WixUIBannerBmp" Value="path\banner.bmp" /> + <WixVariable Id="WixUIDialogBmp" Value="path\dialog.bmp" /> + <WixVariable Id="WixUIExclamationIco" Value="path\exclamation.ico" /> + <WixVariable Id="WixUIInfoIco" Value="path\information.ico" /> + <WixVariable Id="WixUINewIco" Value="path\new.ico" /> + <WixVariable Id="WixUIUpIco" Value="path\up.ico" /--> + </Product> +</Wix> |