Skip to content

Commit bcd2b6a

Browse files
Add info about autoupdater and file deletions to the HowToUpdate.md (CnCNet#852)
* Update HowToUpdate.md to mention `updateexec` * Apply suggestion from @Metadorius --------- Co-authored-by: Kerbiter <[email protected]>
1 parent 0da664f commit bcd2b6a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Docs/HowToUpdate.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,27 @@ This guide outlines the steps for updating the XNA CnCNet Client version for any
1919
- Unarchive `Resources` folder from `[xna-cncnet-client-X.Y.Z.7z]` file downloaded earlier inside the "game root" folder.
2020
- You **must** get a prompt to replace `Resources/` folder and files inside it. If not, you're in the wrong directory.
2121

22+
> [!WARNING]
23+
> If you are using our automatic updater, make sure to check the release notes for any files that need to be added to the `[Delete]` section of `updateexec` or `preupdateexec`. Each release may specify the exact files that must be removed to prevent issues during the update process. For example (from release [2.12.12](https://github.com/CnCNet/xna-cncnet-client/releases/tag/2.12.12)):
24+
> ```ini
25+
> [Delete]
26+
> ; append those lines in the section
27+
> Resources\Binaries\Windows\DTAConfig.dll
28+
> Resources\Binaries\Windows\DTAConfig.pdb
29+
> Resources\Binaries\OpenGL\DTAConfig.dll
30+
> Resources\Binaries\OpenGL\DTAConfig.pdb
31+
> Resources\Binaries\XNA\DTAConfig.dll
32+
> Resources\Binaries\XNA\DTAConfig.pdb
33+
> Resources\BinariesNET8\Windows\DTAConfig.dll
34+
> Resources\BinariesNET8\Windows\DTAConfig.pdb
35+
> Resources\BinariesNET8\OpenGL\DTAConfig.dll
36+
> Resources\BinariesNET8\OpenGL\DTAConfig.pdb
37+
> Resources\BinariesNET8\UniversalGL\DTAConfig.dll
38+
> Resources\BinariesNET8\UniversalGL\DTAConfig.pdb
39+
> Resources\BinariesNET8\XNA\DTAConfig.dll
40+
> Resources\BinariesNET8\XNA\DTAConfig.pdb
41+
> ```
42+
2243
4. **Apply the migration steps:**
2344
- If updating to next version: follow the instructions from release notes mentioned in step 1.
2445
- If updating skipping multiple versions, either:

0 commit comments

Comments
 (0)