我不能让mt程序安装,我双击安装程序,然后它有一个加载启动然后它消失了,没有安装>我的代码> 产品ID =*名称=SetupProject1语言=1033版本=1.0.0.0制造商=jamesUpgradeCode =c0e1cb33-a89b-44ba-b8ef-a178f61548cb> ; Package InstallerVersion =200Compressed =yesInstallScope =perMachine/> MajorUpgrade DowngradeErrorMessage =A newer已经安装了[ProductName]的版本。 /> MediaTemplate /> 功能ID =ProductFeatureTitle =SetupProject1Level =1> < componentgroupref id =ProductComponents> /功能> /产品> Fragment> ! - 默认为C:\如果是主磁盘 - > 目录ID =TARGETDIR名称=SourceDir> ! - 将引用C:\speech - > 目录ID =jamesName =speech> ! - 将引用c:\speech \ _james - > 目录ID =INSTALLFOLDERName =james/> /目录> /目录> /片段> 片段> ComponentGroup Id =ProductComponentsDirectory =INSTALLFOLDER> 组件ID =ProductComponentGuid ={6F44232F-1C0B-4278-AB2B-BFD34FAE863C}> ; F. ile Id =favicon.icoSource =.. \ _james\favicon.ico/> 文件ID =Global.asaxSource =.. \ james \\ \\ Global.asax/> 文件ID =Web.configSource =.. \\\\\> /组件> / ComponentGroup> ComponentGroup Id =BinComponentsDirectory =BIN> 组件ID =BinComponentGuid = {A41811D7-49DD-462B-98D2-56DF1202008E}> 文件ID =Antlr3.Runtime.dllSource =.. \ _james \bin\Antlr3.Runtime。 dll/> 文件ID =DotNetOpenAuth.AspNet.dllSource =.. \ james\bin\DotNetOpenAuth.AspNet.dll/> ! - 依此类推 - > /组件> / ComponentGroup> / Fragment> / Wix> - 我收到一个错误(部分片段中符号DirectoryBIN的未解析引用 我也遵循一些教程在这:):
解决方案请按照以下链接: 带图像的分步教程 如果你有良好的网络,你可以观看这个youtube视频,你可以轻松理解。 Youtube视频 如果您有任何疑问,可以在阅读完链接后询问
hi , i cant get mt program to install, i double click the setup, then it has a loading splash then its gone, nothing installed > my code> Product Id="*" Name="SetupProject1" Language="1033" Version="1.0.0.0" Manufacturer="james" UpgradeCode="c0e1cb33-a89b-44ba-b8ef-a178f61548cb"> Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> MediaTemplate /> Feature Id="ProductFeature" Title="SetupProject1" Level="1"> <componentgroupref id="ProductComponents"> /Feature> /Product> Fragment> !-- Will default to C:\ if that is the main disk--> Directory Id="TARGETDIR" Name="SourceDir"> !-- Will reference to C:\speech--> Directory Id="james" Name="speech"> !-- Will reference to c:\speech\james--> Directory Id="INSTALLFOLDER" Name="james" /> /Directory> /Directory> /Fragment> Fragment> ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> Component Id="ProductComponent" Guid="{6F44232F-1C0B-4278-AB2B-BFD34FAE863C}"> File Id="favicon.ico" Source="..\james\favicon.ico" /> File Id="Global.asax" Source="..\james\Global.asax" /> File Id="Web.config" Source="..\james\Web.config" /> /Component> /ComponentGroup> ComponentGroup Id="BinComponents" Directory="BIN"> Component Id="BinComponent" Guid="{A41811D7-49DD-462B-98D2-56DF1202008E}"> File Id="Antlr3.Runtime.dll" Source="..\james\bin\Antlr3.Runtime.dll" /> File Id="DotNetOpenAuth.AspNet.dll" Source="..\james\bin\DotNetOpenAuth.AspNet.dll" /> !-- And so on and on --> /Component> /ComponentGroup> /Fragment> /Wix> - i get an error (unresolved refrence to symbol DirectoryBIN in section fragment also im following some tutorials on this :)
解决方案 Please follow the below links : A step by step tutorial with images If u have good network u can watch this youtube video then u can understand easily. Youtube video If u have any doubt u can ask after reading those links.更多推荐
如何使用Wix创建安装程序
发布评论