⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wixprojectvsi.xpt

📁 c#源代码
💻 XPT
📖 第 1 页 / 共 5 页
字号:
<?xml version="1.0"?>
<Template originator   = "Robert G."
          created      = "02/18/2005"
          lastModified = "02/18/2005">

	<!-- Template Header -->
	<TemplateConfiguration>
		<Name>${res:Templates.Project.VSSetupProject.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="ErrorDialog">ErrorDialog</Property>
      <Property Id="DefaultUIFont">VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400</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_Serif16.0_1_0" FaceName="MS Sans Serif" Size="12" Red="0" Green="0" Blue="0" Bold="yes" />
      <TextStyle Id="VSI_MS_Shell_Dlg13.0_0_0" FaceName="MS Shell Dlg" Size="9" Red="0" Green="0" Blue="0" />
      <TextStyle Id="VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400" FaceName="MS Sans Serif" Size="9" Red="0" Green="0" Blue="0" />
      <UIText Id="MenuLocal">Will be installed on local hard drive</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="SelNetworkNetwork">This feature will remain to be run from the network</UIText>
      <UIText Id="SelNetworkLocal">This feature will change from run from network state to be installed on the local hard drive</UIText>
      <UIText Id="SelNetworkAdvertise">This feature will change from run from network state to set to be installed when required</UIText>
      <UIText Id="SelNetworkAbsent">This feature will be uninstalled completely, you won't be able to run it from the network</UIText>
      <UIText Id="SelAbsentAbsent">This feature will remain uninstalled</UIText>
      <UIText Id="ScriptInProgress">Gathering required information...</UIText>
      <UIText Id="MenuCD">Will be installed to run from CD</UIText>
      <UIText Id="SelChildCostNeg">This feature frees up [1] on your hard drive.</UIText>
      <UIText Id="SelCDLocal">This feature will change from run from CD state to be installed on the local hard drive</UIText>
      <UIText Id="MenuAbsent">Entire feature will be unavailable</UIText>
      <UIText Id="SelCDAdvertise">This feature will change from run from CD state to set to be installed when required</UIText>
      <UIText Id="MenuAllNetwork">Entire feature will be installed to run from network</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="SelAdvertiseNetwork">This feature will be available to run from the network</UIText>
      <UIText Id="MenuAllLocal">Entire feature will be installed on local hard drive</UIText>
      <UIText Id="SelAdvertiseLocal">This feature will be installed on your local hard drive</UIText>
      <UIText Id="MenuAllCD">Entire feature will be installed to run from CD</UIText>
      <UIText Id="SelCDAbsent">This feature will be uninstalled completely, you won't be able to run it from CD</UIText>
      <UIText Id="MenuAdvertise">Feature will be installed when required</UIText>
      <UIText Id="SelAdvertiseCD">This feature will be available to run from CD</UIText>
      <UIText Id="bytes">bytes</UIText>
      <UIText Id="SelAdvertiseAdvertise">Will be installed when required</UIText>
      <UIText Id="AbsentPath" />
      <UIText Id="MB">MB</UIText>
      <UIText Id="SelAdvertiseAbsent">This feature will become unavailable</UIText>
      <UIText Id="KB">KB</UIText>
      <UIText Id="GB">GB</UIText>
      <UIText Id="SelAbsentNetwork">This feature will be installed to run from the network</UIText>
      <UIText Id="SelAbsentCD">This feature will be installed to run from CD</UIText>
      <UIText Id="SelAbsentAdvertise">This feature will be set to be installed when required</UIText>
      <UIText Id="SelAbsentLocal">This feature will be installed on the local hard drive</UIText>
      <UIText Id="SelCDCD">This feature will remain to be run from CD</UIText>
      <UIText Id="NewFolder">Folder|New Folder</UIText>
      <UIText Id="MenuNetwork">Will be installed to run from network</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="SelLocalAbsent">This feature will be completely removed</UIText>
      <UIText Id="SelCostPending">Compiling cost for this feature...</UIText>
      <UIText Id="SelLocalLocal">This feature will remain on you local hard drive</UIText>
      <UIText Id="SelChildCostPos">This feature requires [1] on your hard drive.</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="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="TimeRemaining">Time remaining: {[1] minutes }{[2] seconds}</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>
      <Dialog Id="UserExitForm" Width="373" Height="287" Title="[ProductName]">
        <Control Id="CloseButton" Type="PushButton" X="300" Y="261" Width="66" Height="18" Default="yes" Cancel="yes">
          <Text>{\VSI_MS_Sans_Serif13.0_0_0}&amp;Close</Text>
          <Publish Event="EndDialog" Value="Return">1</Publish>
        </Control>
        <Control Id="CancelButton" Type="PushButton" X="156" Y="261" Width="66" Height="18" Disabled="yes">
          <Text>{\VSI_MS_Sans_Serif13.0_0_0}Cancel</Text>
        </Control>
        <Control Id="PreviousButton" Type="PushButton" X="228" Y="261" Width="66" Height="18" Disabled="yes">
          <Text>{\VSI_MS_Sans_Serif13.0_0_0}&lt; &amp;Back</Text>
        </Control>
        <Control Id="BannerBmp" Type="Bitmap" X="0" Y="0" Width="375" Height="52" TabSkip="no" Text="BannerBitmap" />
        <Control Id="Line2" Type="Line" X="0" Y="252" Width="375" Height="6">
          <Text>{\VSI_MS_Sans_Serif13.0_0_0}MsiHorizontalLine</Text>
        </Control>
        <Control Id="Line1" Type="Line" X="0" Y="52" Width="375" Height="6">
          <Text>{\VSI_MS_Sans_Serif13.0_0_0}MsiHorizontalLine</Text>
        </Control>
        <Control Id="BannerText" Type="Text" X="9" Y="9" Width="306" Height="33" Transparent="yes">
          <Text>{\VSI_MS_Sans_Serif16.0_1_0}Installation Interrupted</Text>
        </Control>
        <Control Id="BodyTextRemove" Type="Text" X="9" Y="63" Width="354" Height="180">
          <Text>{\VSI_MS_Sans_Serif13.0_0_0}The installer was interrupted before [ProductName] could be removed. You need to restart the installer to try again.

Click "Close" to exit.</Text>
          <Condition Action="show">REMOVE&lt;&gt;""</Condition>
          <Condition Action="hide">REMOVE=""</Condition>
        </Control>
        <Control Id="BodyTextInstall" Type="Text" X="18" Y="63" Width="342" Height="24">
          <Text>{\VSI_MS_Sans_Serif13.0_0_0}The installation was interrupted before [ProductName] could be installed. You need to restart the installer to try again.</Text>
          <Condition Action="show">REMOVE=""</Condition>
          <Condition Action="hide">REMOVE&lt;&gt;""</Condition>

⌨️ 快捷键说明

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