# Re-signing the xml settings file after modification

If you modify the content of a QLM settings file (generated by the Protect Your Application wizard), the digital signature of the file becomes invalid.

You must therefore re-digitally sign the file after any modification.

To sign the file, use the QlmSignFile.exe tool located in the QLM installation folder.

Usage: QlmSignFile.exe /productsFile \<full path to the products file> /pid \<product id> /major \<major version> /minor \<minor version> /file \<full path to the xml file to sign>

* /productsFile: Path to the xml file that contains the definition of your products. You can find the location of this file from: Manage Keys / Sites /  Files and Folders / Products File
* /pid: ID of your product. You can find the ID of your product in the Define Products tab.
* /major: Major Version of your product. You can find the major version of your product in the Define Products tab.
* /minor: Minor Version of your product. You can find the minorversion of your product in the Define Products tab.
* /file: Path to the xml settings file generated by the Protect Your Application wizard.

Example:

QlmSignFile.exe /productsFile "C:\Users\tom\AppData\Roaming\Soraco\Quick License Manager\demo.products.xml" /pid 1 /major 1 /minor 1 /file "C:\Users\tom\Desktop\Qlm\Demo 1.0.lw\.xml"

Running the command generates a new file called "Demo 1.0.lw\.signed.xml" in the same folder as the original Demo 1.0.lw\.xml. You must therefore ensure that the folder where "Demo 1.0.lw\.xml" is located is a writable folder.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.soraco.co/docs/faq/re-signing-the-xml-settings-file-after-modification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
