Archive: patching


patching
Hy.
I create a patch with nsis patch installer.
I compile the .nsi file generated.
I write
!define PATCH_INSTALL_ROOT "setupcmptrget";targetdir
!define PATCH_FILES_ROOT "patchfiles";source patch files

all work fine.
The problem is that i 'm not understand how distribuite the patch!.
How i set the PATCH_INSTALL_ROOT when the patches is distribuited and run in the client machine?
How i discovered the installed dir?
Thanks.


Easiest way to go, is through InstallDirRegKey, but it's not the only one. You're able to control it by searching for registry keys and/or locating the file that you need to patch on target.