wixprojectvs6i.xpt

来自「c#源代码」· XPT 代码 · 共 934 行 · 第 1/5 页

XPT
934
字号
<?xml version="1.0"?>
<Template originator   = "Mathias Simmack"
          created      = "02/18/2005"
          lastModified = "02/18/2005">

	<!-- Template Header -->
	<TemplateConfiguration>
		<Name>${res:Templates.Project.VS6SetupProject.Name}</Name>
		<Category>Setup</Category>
		<Icon>Icons.32x32.EmptyProjectIcon</Icon>
		<LanguageName>WIX</LanguageName>
		<Description>${res:Templates.Project.SetupProject.Description}</Description>
	</TemplateConfiguration>

	<!-- Actions -->
	<Actions>
		<Open filename = "Setup.wxs"/>
	</Actions>

	<!-- Template Content -->
	<Combine name = "${ProjectName}" directory = ".">
		<Options>
			<StartupProject>${ProjectName}</StartupProject>
		</Options>

		<Project name = "${ProjectName}" directory = ".">
			<Options/>
			<Files>
				<File name="Setup.wxs"><![CDATA[<?xml version="1.0"?>
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
	<!-- WARNING! IT WILL NOT WORK UNTIL YOU SET VALID GUIDS HERE -->
	<Product
		Id           = 'PUT-GUID-HERE'
		UpgradeCode  = 'PUT-GUID-HERE'
		Name         = 'Your Application'
		Language     = '1033'
		Version      = '1.0.0.0'
		Manufacturer = 'Your Company'
		Codepage     = '1252'
	>
		<Package
			Id               = '????????-????-????-????-????????????'
			Description      = '#Description'
			Comments         = 'Comments'
			InstallerVersion = '200'
			Compressed       = 'yes'
		/>

		<!-- INSTALL DESCRIPTION -->
		<Media Id='1' Cabinet='contents.cab' EmbedCab='yes' />

		<Directory Id="TARGETDIR" Name="SourceDir">
		</Directory>

		<Feature Id='MyFeature' Title='Required Files' Level='1'>
			<!-- add your ComponentRef nodes here -->
		</Feature>
		<!-- END INSTALL DESCRIPTION -->


		<!-- FRAGMENTS -->
		<FragmentRef Id="UserInterfaceInclude"/>
		<FragmentRef Id="CustomActionInclude"/>
		<FragmentRef Id="BinariesInclude"/>
		<FragmentRef Id="LaunchConditionsInclude"/>
		<!-- END FRAGMENTS -->
	</Product>
</Wix>
]]></File>

				<File name="CustomActions.wxs"><![CDATA[<?xml version="1.0"?>
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
	<Fragment Id="CustomActionInclude">
		<CustomAction Id="SET_TARGETDIR" Property="TARGETDIR"
			Value="[ProgramFilesFolder]\[ProductName]" Execute="firstSequence" />

		<InstallExecuteSequence>
			<Custom Action="SET_TARGETDIR" Before="CostInitialize">TARGETDIR=""</Custom>
		</InstallExecuteSequence>

		<InstallUISequence>
			<Custom Action="SET_TARGETDIR" Before="CostInitialize">TARGETDIR=""</Custom>
		</InstallUISequence>

	    <AdminExecuteSequence>
    	  <Custom Action="SET_TARGETDIR" Before="CostInitialize">TARGETDIR=""</Custom>
    	</AdminExecuteSequence>
	</Fragment>
</Wix>
]]></File>

				<File name="Binaries.wxs"><![CDATA[<?xml version="1.0"?>
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
	<Fragment Id="BinariesInclude">
		<!-- add your binaries here -->
	</Fragment>
</Wix>
]]></File>

				<File name="LaunchConditions.wxs"><![CDATA[<?xml version="1.0"?>
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
	<Fragment Id="LaunchConditionsInclude">
		<!-- add your launch conditions here -->
	</Fragment>
</Wix>
]]></File>

				<File name="UserInterface.wxs"><![CDATA[<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
	<Fragment Id="UserInterfaceInclude">
    	<UI>
      		<Property Id="DefaultUIFont">VSI_MS_Sans_Serif13.0_0_0</Property>
      		<Property Id="ErrorDialog">ErrorDialog</Property>
      		<TextStyle Id="VSI_MS_Sans_Serif13.0_0_0" FaceName="MS Sans Serif" Size="9" Red="0" Green="0" Blue="0" />
      		<TextStyle Id="VSI_MS_Sans_Serif20.0_1_0" FaceName="MS Sans Serif" Size="15" Red="0" Green="0" Blue="0" Bold="yes" />
      		<TextStyle Id="VSI_MS_Sans_Serif16.0_1_0" FaceName="MS Sans Serif" Size="12" Red="0" Green="0" Blue="0" Bold="yes" />

    		<UIText Id="TimeRemaining">Time remaining: {[1] minutes }{[2] seconds}</UIText>
			<UIText Id="NewFolder">Fldr|New Folder</UIText>
      		<UIText Id="ScriptInProgress">Gathering required information...</UIText>
      		<UIText Id="AbsentPath" />
      		<UIText Id="bytes">bytes</UIText>
      		<UIText Id="GB">GB</UIText>
      		<UIText Id="KB">KB</UIText>
      		<UIText Id="MB">MB</UIText>
      		<UIText Id="MenuAbsent">Entire feature will be unavailable</UIText>
      		<UIText Id="MenuAdvertise">Feature will be installed when required</UIText>
      		<UIText Id="MenuAllCD">Entire feature will be installed to run from CD</UIText>
      		<UIText Id="MenuAllLocal">Entire feature will be installed on local hard drive</UIText>
      		<UIText Id="MenuAllNetwork">Entire feature will be installed to run from network</UIText>
      		<UIText Id="MenuCD">Will be installed to run from CD</UIText>
      		<UIText Id="MenuLocal">Will be installed on local hard drive</UIText>
      		<UIText Id="MenuNetwork">Will be installed to run from network</UIText>
      		<UIText Id="SelAbsentAbsent">This feature will remain uninstalled</UIText>
      		<UIText Id="SelAbsentAdvertise">This feature will be set to be installed when required</UIText>
      		<UIText Id="SelAbsentCD">This feature will be installed to run from CD</UIText>
      		<UIText Id="SelAbsentLocal">This feature will be installed on the local hard drive</UIText>
      		<UIText Id="SelAbsentNetwork">This feature will be installed to run from the network</UIText>
      		<UIText Id="SelAdvertiseAbsent">This feature will become unavailable</UIText>
      		<UIText Id="SelAdvertiseAdvertise">Will be installed when required</UIText>
     		<UIText Id="SelAdvertiseCD">This feature will be available to run from CD</UIText>
      		<UIText Id="SelAdvertiseLocal">This feature will be installed on your local hard drive</UIText>
      		<UIText Id="SelAdvertiseNetwork">This feature will be available to run from the network</UIText>
			<UIText Id="SelCDAbsent">This feature will be uninstalled completely, you won't be able to run it from CD</UIText>
			<UIText Id="SelCDAdvertise">This feature will change from run from CD state to set to be installed when required</UIText>
      		<UIText Id="SelCDCD">This feature will remain to be run from CD</UIText>
      		<UIText Id="SelCDLocal">This feature will change from run from CD state to be installed on the local hard drive</UIText>
      		<UIText Id="SelChildCostNeg">This feature frees up [1] on your hard drive.</UIText>
      		<UIText Id="SelChildCostPos">This feature requires [1] on your hard drive.</UIText>
      		<UIText Id="SelCostPending">Compiling cost for this feature...</UIText>
      		<UIText Id="SelLocalAbsent">This feature will be completely removed</UIText>
      		<UIText Id="SelLocalAdvertise">This feature will be removed from your local hard drive, but will be set to be installed when required</UIText>
      		<UIText Id="SelLocalCD">This feature will be removed from your local hard drive, but will be still available to run from CD</UIText>
      		<UIText Id="SelLocalLocal">This feature will remain on you local hard drive</UIText>
      		<UIText Id="SelLocalNetwork">This feature will be removed from your local hard drive, but will be still available to run from the network</UIText>
      		<UIText Id="SelNetworkAbsent">This feature will be uninstalled completely, you won't be able to run it from the network</UIText>
      		<UIText Id="SelNetworkAdvertise">This feature will change from run from network state to set to be installed when required</UIText>
      		<UIText Id="SelNetworkLocal">This feature will change from run from network state to be installed on the local hard drive</UIText>
      		<UIText Id="SelNetworkNetwork">This feature will remain to be run from the network</UIText>
      		<UIText Id="SelParentCostNegNeg">This feature frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures free up [4] on your hard drive.</UIText>
      		<UIText Id="SelParentCostNegPos">This feature frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive.</UIText>
      		<UIText Id="SelParentCostPosNeg">This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures free up [4] on your hard drive.</UIText>
      		<UIText Id="SelParentCostPosPos">This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive.</UIText>
      		<UIText Id="VolumeCostAvailable">Available</UIText>
      		<UIText Id="VolumeCostDifference">Difference</UIText>
      		<UIText Id="VolumeCostRequired">Required</UIText>
			<UIText Id="VolumeCostSize">Disk Size</UIText>
      		<UIText Id="VolumeCostVolume">Volume</UIText>

      		<ProgressText Action="BindImage" Template="File: [1]">Binding executables</ProgressText>
      		<ProgressText Action="LaunchConditions">Evaluating launch conditions</ProgressText>
      		<ProgressText Action="AppSearch" Template="Property: [1], Signature: [2]">Searching for installed applications</ProgressText>
      		<ProgressText Action="CCPSearch">Searching for qualifying products</ProgressText>
      		<ProgressText Action="RMCCPSearch">Searching for qualifying products</ProgressText>
      		<ProgressText Action="CostInitialize">Computing space requirements</ProgressText>
      		<ProgressText Action="FileCost">Computing space requirements</ProgressText>
      		<ProgressText Action="CostFinalize">Computing space requirements</ProgressText>
      		<ProgressText Action="SetODBCFolders">Initializing ODBC directories</ProgressText>
      		<ProgressText Action="InstallValidate">Validating install</ProgressText>
      		<ProgressText Action="AllocateRegistrySpace" Template="Free space: [1]">Allocating registry space</ProgressText>
      		<ProgressText Action="ProcessComponents">Updating component registration</ProgressText>
      		<ProgressText Action="UnpublishComponents" Template="Component ID: [1], Qualifier: [2]">Unpublishing Qualified Components</ProgressText>
      		<ProgressText Action="UnpublishFeatures" Template="Feature: [1]">Unpublishing Product Features</ProgressText>
      		<ProgressText Action="StopServices" Template="Service: [1]">Stopping services</ProgressText>
      		<ProgressText Action="DeleteServices" Template="Service: [1]">Deleting services</ProgressText>
      		<ProgressText Action="SelfUnregModules" Template="File: [1], Folder: [2]">Unregistering modules</ProgressText>
      		<ProgressText Action="UnregisterTypeLibraries" Template="LibID: [1]">Unregistering type libraries</ProgressText>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?