Visual Studio Setup Project conditional if File Exists

后端 未结 4 912
没有蜡笔的小新
没有蜡笔的小新 2020-12-05 15:36

I have a Setup/Deployment Project for my Application and it outputs certain files (*.dll, *.dat) to the Application Folder.

I would like a condition to be set to che

4条回答
  •  抹茶落季
    2020-12-05 16:06

    You should just install the data file as a test to see what actually happens. The reason I say this is that Windows Installer will not overwrite files that have been changed after they were first installed. See this rule:

    https://msdn.microsoft.com/en-us/library/windows/desktop/aa370531(v=vs.85).aspx

    It seems to me you may need to do nothing at all.

提交回复
热议问题