THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL GLADINET BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

GenResignScript.exe 
   This file takes an msi file as the input, it will generate 3 files.
     1. the original msi file will be copied to <file>_resigned.msi
     2. CabinetFileList.txt
     3. ResignBinaryFileInMSI.cmd

ResignBinaryFileInMSI.cmd
    This is a generated command line script file. It will take the MSI file and extract the included files into a Payload directory. After that, it can apply operations such as resign a couple files. change file version information, and at the end, package the Payload up and insert back into the MSI file.

    You can modify this file before running.
    For lines like the following, you can remove the rem and change
    the certificate file to match your certificate file
    and change the product name and description

    rem verpatch.exe _B697F0BA458F40ED9AEB8FB0FE72882A /s product "My Product" /s description "My Description 2"
    rem ..\SignTool.exe sign /f MyCert.pfx /p MyPassword _B697F0BA458F40ED9AEB8FB0FE72882A

    If you need to replace or work on some other files, you can modify the 
    lines like the following. For example, the following tells you 
    that the 3color-all.ico file is the _53228DD1A7194483AFD7B08D85AB3668  
    file in the Payload.

    rem if you need to copy a different file or work on _53228DD1A7194483AFD7B08D85AB3668  - 153 - 3color-all.ico
    

cabarc.exe - Microsoft Deployment SDK tool for Cabinet file

Interop.WindowsInstaller.dll - Microsoft Installer SDK file

makecab.exe - Microsoft Deployment SDK tool for Cabinet file

Msidb.exe - Microsoft Deployment SDK tool for MSI file

MsiInfo.exe - Microsoft Deployment SDK tool for MSI file

SignTool.exe - Microsoft SDK tool to sign package, sign binary

UpdateEula.exe - the tool to update eula
    It takes two parameter, one is the msi file, one is the eula.
    The eula has to be in rtf format.

UpdateAppIcon.exe - the tool to update App Icon
    It takes two parameter, one is the msi file, one is the ico file
    The icon file has to be in ico format.

verpatch.exe - the tool to change a binary files file version information
   https://ddverpatch.codeplex.com/

