用 NSIS 打包 C#程序 的相关问题。 1.用NSIS打包的安装文件,安装后,在控制面板中找不到,需要在NSIS中设置或者加入怎样的代码就有了?2.在卸载快捷方式的“网页文件”时,会跳出提示:有程序试图修改快捷方式。如何避免这样的提示? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你NSIS打包的代码发出来看看撒! 你觉得像NSIS这种代码发上来有意义吗?一样的格式,统一的语句!一片一片的代码也容易让人反感!如果有人用过,那么肯定知道上述两个问题的! 第一个问题找到答案了,请参考NSIS自带的例子Example2:Section: "Example2 (required)"SectionIn: [RO] SetOutPath: "$INSTDIR"File: "example2.nsi" [compress] 893/2628 bytesWriteRegStr: HKLM\SOFTWARE\NSIS_Example2\Install_Dir=$INSTDIRWriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2\DisplayName=NSIS Example2WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2\UninstallString="$INSTDIR\uninstall.exe"WriteRegDWORD: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2\NoModify=1WriteRegDWORD: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2\NoRepair=1WriteUninstaller: "uninstall.exe"SectionEnd 试试InstallShieldhttp://blog.csdn.net/downmoon/archive/2010/05/21/5613626.aspx 还有 clickonce 呀?你是部署application 程序吗? 问个很简单的问题,关于C#控件焦点的 C#打印水晶报表提示“报表加载错误”如何解决? 在Access中自动编号问题 是否在类的构造函数中不可以调用事件?? SNMP访问私有OID无数据,.1.3.6.1.4.1.2021.10.1.3.1 在日本外包的公司工作的,谈谈感受! 在线程中打开MDI窗体的奇怪问题 有关加密的问题,请高手帮忙啊。 如何判断最小化? 关于拆分字符串的效率问题。 c#读取下面xml的数据,有点要求 c# 做的页面(不是WEB)能始终在前显示
你NSIS打包的代码发出来看看撒!
你觉得像NSIS这种代码发上来有意义吗?一样的格式,统一的语句!
一片一片的代码也容易让人反感!
如果有人用过,那么肯定知道上述两个问题的!
Section: "Example2 (required)"
SectionIn: [RO]
SetOutPath: "$INSTDIR"
File: "example2.nsi" [compress] 893/2628 bytes
WriteRegStr: HKLM\SOFTWARE\NSIS_Example2\Install_Dir=$INSTDIR
WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2\DisplayName=NSIS Example2
WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2\UninstallString="$INSTDIR\uninstall.exe"
WriteRegDWORD: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2\NoModify=1
WriteRegDWORD: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2\NoRepair=1
WriteUninstaller: "uninstall.exe"
SectionEnd
http://blog.csdn.net/downmoon/archive/2010/05/21/5613626.aspx