1.用NSIS打包的安装文件,安装后,在控制面板中找不到,需要在NSIS中设置或者加入怎样的代码就有了?2.在卸载快捷方式的“网页文件”时,会跳出提示:有程序试图修改快捷方式。如何避免这样的提示?

解决方案 »

  1.   


    你NSIS打包的代码发出来看看撒!
      

  2.   


    你觉得像NSIS这种代码发上来有意义吗?一样的格式,统一的语句!
    一片一片的代码也容易让人反感!
    如果有人用过,那么肯定知道上述两个问题的!
      

  3.   

    第一个问题找到答案了,请参考NSIS自带的例子Example2:
    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
      

  4.   

    试试InstallShield
    http://blog.csdn.net/downmoon/archive/2010/05/21/5613626.aspx
      

  5.   

    还有 clickonce 呀?你是部署application 程序吗?