Installer: Fix the CreateHardLink signature for Unicode builds
commitf7e37384111e3b0e376ce8b8f54aab939170cbaa
authorSebastian Schuberth <sschuberth@gmail.com>
Sun, 3 Jan 2010 14:28:15 +0000 (3 15:28 +0100)
committerSebastian Schuberth <sschuberth@gmail.com>
Tue, 9 Mar 2010 13:09:11 +0000 (9 14:09 +0100)
tree9abc7a7ab5b642564776f79b6e8caf40c969e5c5
parent3196662c91e980542ad3a23208fea5f7db3d679d
Installer: Fix the CreateHardLink signature for Unicode builds

We need to call CreateHardLinkW for Inno Setup Unicode, where the "String"
data type is a Unicode string.

Moreover, load CreateHardLink[AW] delayed, and only during setup. Note that
in this particular case "delayload" is not necessary, because the call
to CreateHardLink is guarded by "IsNTFS", so it should always be available.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
share/WinGit/install.iss