如何使用Wix创建安装程序

编程入门 行业动态 更新时间:2024-10-22 05:18:22
本文介绍了如何使用Wix创建安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我不能让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创建安装程序

本文发布于:2023-11-12 04:16:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580492.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:安装程序   如何使用   Wix

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!