Visual Studio 2010 update registry in setup application

杀马特。学长 韩版系。学妹 提交于 2019-12-05 19:44:37

You can try this approach:

  • select your setup project in Solution Explorer
  • click Launch Conditions editor button at the top of Solution Explorer
  • add a new registry search and configure it to search for your registry entry
  • set the search property to something meaningful, for example SUMMARY_FOLDER_REG (only uppercase letters so its a public property)
  • in the Registry Editor select your registry value
  • in its Properties pane set the Condition field to the negated search property:

    NOT SUMMARY_FOLDER_REG

This way the registry entry is installed only if the search doesn't find anything.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!