Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can a.exe, a.dll, and b.dll use the same XML file ? #649

Open
jzdcf opened this issue Dec 3, 2023 · 3 comments
Open

Can a.exe, a.dll, and b.dll use the same XML file ? #649

jzdcf opened this issue Dec 3, 2023 · 3 comments

Comments

@jzdcf
Copy link

jzdcf commented Dec 3, 2023

Including a.exe, a.dll, and b.dll in my project.
Q1: When using "items" to accommodate multiple "item" in an XML file, it seems that it is not recognized.
Q2: Sometimes only b.dll needs to be updated,and sometimes only a.exe needs to be updated in the XML file.Can an XML file be used to upgrade a specific section separately

@ravibpatel
Copy link
Owner

  1. Yes, only the first item will be used for the check.
  2. You can just make the zip file with the files you want to update, and it should work, but most of the time it is a good idea to include all files. Imagine a scenario where your app update to 1.1 only contains updated DLL and 1.2 only contains updated EXE. If your 1.2 update file contains only EXE, then updating from 1.0 will only update the EXE, even if both DLL and EXE are required for update from 1.0→1.2.

@jzdcf
Copy link
Author

jzdcf commented Dec 4, 2023

  1. Yes, only the first item will be used for the check.
  2. You can just make the zip file with the files you want to update, and it should work, but most of the time it is a good idea to include all files. Imagine a scenario where your app update to 1.1 only contains updated DLL and 1.2 only contains updated EXE. If your 1.2 update file contains only EXE, then updating from 1.0 will only update the EXE, even if both DLL and EXE are required for update from 1.0→1.2.

If a dll needs to be updated and an exe does not need to be updated, since the xml file only supports one version number, the best way seems to update the exe version number together, although the exe itself has not been changed.

@ravibpatel
Copy link
Owner

Yes, that is how you should do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants