QuellCode/CentronERP war nur als Gitlink (Submodul-Referenz auf 79c1142) getrackt, ohne .gitmodules und ohne erreichbares Remote. Der Untersuchungsgegenstand der Versuchsreihe war damit nicht reproduzierbar gesichert: Ein Klon haette ein leeres Verzeichnis erhalten, und die Belege der 3.287 Anforderungen waeren nicht ueberpruefbar gewesen. Umstellung: - Historie nach c:\DEV\CentronERP_git_snapshot_79c1142 ausgelagert (vollstaendig lesbar, enthaelt 79c1142 und Vorgaenger 89ccfd6) - Gitlink aus dem Index entfernt - Dateiinhalt aufgenommen: 24.557 Dateien, rund 333 MB Die verschachtelte .gitignore der Codebasis gilt weiter, Build-Artefakte bleiben ausgeschlossen. Details in Versuche/Versuch_01/_Codebasis-Nachweis.md
150 lines
7.7 KiB
XML
150 lines
7.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
|
>
|
|
<!-- xmlns:fga="http://www.firegiant.com/schemas/v3/wxs/fgappx.xsd"-->
|
|
<Product Id="*" Name="c-entron.NET" Language="1031" Version="!(bind.FileVersion.filEC97C432D1DE88230FA1B149918B66B9)" Manufacturer="NEXOWARE Systems GmbH" UpgradeCode="{2CAB3D92-81D3-49F9-88E8-CA0DC66C2785}">
|
|
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
|
|
<!--<fga:Appx Id="c-entron.NET" Publisher="CN=NEXOWARE Systems GmbH, O=NEXOWARE Systems GmbH, STREET=Einsteinstraße 59, L=Ulm, S=BW, PostalCode=89077, C=DE" Target="desktop" />-->
|
|
|
|
<Upgrade Id="{2CAB3D92-81D3-49F9-88E8-CA0DC66C2785}">
|
|
<!--Make sure we have every time a MajorUpgrade-->
|
|
<UpgradeVersion Property="NEWUPGRADEENTRY1" Maximum="!(bind.FileVersion.filEC97C432D1DE88230FA1B149918B66B9)" IncludeMaximum="yes" IncludeMinimum="yes" />
|
|
</Upgrade>
|
|
|
|
<MajorUpgrade DowngradeErrorMessage="Eine neuere Version von [ProductName] ist bereits installiert." AllowSameVersionUpgrades="no" MigrateFeatures="yes" Schedule="afterInstallInitialize" />
|
|
<MediaTemplate EmbedCab="yes" />
|
|
|
|
<Icon Id="centron.ico" SourceFile="c-entron.ico"/>
|
|
<Property Id="ARPPRODUCTICON" Value="centron.ico" />
|
|
<!-- Make sure to always re-install all files (see commit description for more details) -->
|
|
<Property Id="REINSTALLMODE" Value="amus" />
|
|
|
|
<WixVariable Id="WixUISupportPerUser" Value="0" />
|
|
<!--<WixVariable Id="WixUILicenseRtf" Value="" />-->
|
|
|
|
<WixVariable Id="WixUIBannerBmp" Value="Images\Installer-Banner.bmp"/>
|
|
<WixVariable Id="WixUIDialogBmp" Value="Images\Installer-Background.bmp" />
|
|
<!--<WixVariable Id="WixUIExclamationIco" Value="Images\Installer-32.bmp" />
|
|
<WixVariable Id="WixUIInfoIco" Value="Images\Installer-32.bmp" />
|
|
<WixVariable Id="WixUINewIco" Value="Images\Installer-16.bmp" />
|
|
<WixVariable Id="WixUIUpIco" Value="Images\Installer-16.bmp" />-->
|
|
|
|
|
|
<Property Id="WixAppFolder" Value="WixPerMachineFolder" />
|
|
<Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONFOLDER" />
|
|
|
|
<Feature Id="ProductFeature" Title="c-entron.NET" Level="1">
|
|
<ComponentGroupRef Id="CentronProductComponentsHeat" />
|
|
<ComponentRef Id="ApplicationShortcutDesktop"/>
|
|
<ComponentRef Id="UrlProtocolRegistryComponent"/>
|
|
<ComponentRef Id="ClientRegistry"/>
|
|
</Feature>
|
|
|
|
<!--<UIRef Id="WixUI_Advanced" />-->
|
|
<UIRef Id="WixUI_ErrorProgressText" />
|
|
|
|
<!--Save the current installation folder into the registry-->
|
|
<Component Id="ClientRegistry" Guid="*" Directory="APPLICATIONFOLDER">
|
|
<RegistryKey Id="Hklm_CentronReg" Root="HKLM" Key="Software\[Manufacturer]\[ProductName]" ForceDeleteOnUninstall="yes">
|
|
<RegistryValue Name="InstallFolder" Type="string" Value="[APPLICATIONFOLDER]" KeyPath="yes" />
|
|
</RegistryKey>
|
|
</Component>
|
|
|
|
<!--Load the last installation folder from the registry-->
|
|
<Property Id="APPLICATIONFOLDER">
|
|
<RegistrySearch Id="InstallFolderSearch" Root="HKLM" Key="Software\[Manufacturer]\[ProductName]" Name="InstallFolder" Type="directory" />
|
|
</Property>
|
|
|
|
<!--Manage and customize UI from the c-entron.NET installation-->
|
|
<UIRef Id="WixUI_Common" />
|
|
|
|
<UI Id="WixUI_InstallDir">
|
|
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
|
|
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
|
|
<TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
|
|
|
|
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
|
|
<Property Id="WixUI_Mode" Value="InstallDir" />
|
|
|
|
<DialogRef Id="BrowseDlg" />
|
|
<DialogRef Id="DiskCostDlg" />
|
|
<DialogRef Id="ErrorDlg" />
|
|
<DialogRef Id="FatalError" />
|
|
<DialogRef Id="FilesInUse" />
|
|
<DialogRef Id="MsiRMFilesInUse" />
|
|
<DialogRef Id="PrepareDlg" />
|
|
<DialogRef Id="ProgressDlg" />
|
|
<DialogRef Id="ResumeDlg" />
|
|
<DialogRef Id="UserExit" />
|
|
|
|
<Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
|
|
<Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
|
|
|
|
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
|
|
|
|
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">1</Publish>
|
|
|
|
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
|
|
<Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
|
|
<Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish>
|
|
<Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
|
|
<Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish>
|
|
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
|
|
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
|
|
|
|
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1">NOT Installed</Publish>
|
|
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed</Publish>
|
|
|
|
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
|
|
|
|
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
|
|
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
|
|
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
|
|
|
|
<Property Id="ARPNOMODIFY" Value="1" />
|
|
</UI>
|
|
|
|
<UI>
|
|
<ProgressText Action="NetFxExecuteNativeImageInstall">Start der c-entron.NET wird optimiert...</ProgressText>
|
|
</UI>
|
|
</Product>
|
|
|
|
<Fragment>
|
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
|
<Directory Id="ProgramFilesFolder">
|
|
<Directory Id="ManufacturerFolder" Name="c-entron software gmbh">
|
|
<Directory Id="APPLICATIONFOLDER" Name="c-entron 2.0" />
|
|
</Directory>
|
|
</Directory>
|
|
|
|
<Directory Id="DesktopFolder" Name="Desktop">
|
|
<Component Id="ApplicationShortcutDesktop" Guid="*">
|
|
<Shortcut Id="ApplicationDesktopShortcut"
|
|
Name="c-entron.NET"
|
|
Target="[APPLICATIONFOLDER]c-entron 2.0.exe"
|
|
WorkingDirectory="APPLICATIONFOLDER"/>
|
|
<RemoveFolder Id="DesktopFolder" On="uninstall"/>
|
|
<RegistryValue
|
|
Root="HKCU"
|
|
Key="Software/MyAppName"
|
|
Name="installed"
|
|
Type="integer"
|
|
Value="1"
|
|
KeyPath="yes"/>
|
|
</Component>
|
|
</Directory>
|
|
</Directory>
|
|
|
|
<DirectoryRef Id="TARGETDIR">
|
|
<Component Id="UrlProtocolRegistryComponent" Guid="76be126e-9549-4dea-9615-585e187ea94a">
|
|
<RegistryKey Root="HKCR" Key="c-entron">
|
|
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
|
|
<RegistryKey Key="shell\open\command">
|
|
<RegistryValue Type="string" Value=""[APPLICATIONFOLDER]c-entron 2.0.exe" "%1"" />
|
|
</RegistryKey>
|
|
</RegistryKey>
|
|
</Component>
|
|
</DirectoryRef>
|
|
</Fragment>
|
|
</Wix>
|