VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Setup/Setup.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-02-13 12:26:37 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-02-13 12:31:16 +0100
commit2b826843de54ee8db8d514a1f118904cd6128bfe (patch)
tree60ae927d9c193a5f28d631f5b3a94e257b46cb4b /src/Setup/Setup.c
parentb920bb2a6adebb5c8ee101fe5e369c50888035eb (diff)
downloadVeraCrypt-2b826843de54ee8db8d514a1f118904cd6128bfe.tar.gz
VeraCrypt-2b826843de54ee8db8d514a1f118904cd6128bfe.zip
Windows: Add VeraCryptExpander.exe to the Windows installer.
Diffstat (limited to 'src/Setup/Setup.c')
-rw-r--r--src/Setup/Setup.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Setup/Setup.c b/src/Setup/Setup.c
index dc8123c6..48b4f717 100644
--- a/src/Setup/Setup.c
+++ b/src/Setup/Setup.c
@@ -1258,6 +1258,13 @@ BOOL DoShortcutsInstall (HWND hwndDlg, char *szDestDir, BOOL bProgGroup, BOOL bD
if (CreateLink (szTmp, "", szTmp2) != S_OK)
goto error;
+ StringCbPrintfA (szTmp, sizeof(szTmp), "%s%s", szDir, "VeraCryptExpander.exe");
+ StringCbPrintfA (szTmp2, sizeof(szTmp2), "%s%s", szLinkDir, "\\VeraCryptExpander.lnk");
+
+ IconMessage (hwndDlg, szTmp2);
+ if (CreateLink (szTmp, "", szTmp2) != S_OK)
+ goto error;
+
StringCbPrintfA (szTmp2, sizeof(szTmp2), "%s%s", szLinkDir, "\\VeraCrypt Website.url");
IconMessage (hwndDlg, szTmp2);
f = fopen (szTmp2, "w");
@@ -1307,6 +1314,14 @@ BOOL DoShortcutsInstall (HWND hwndDlg, char *szDestDir, BOOL bProgGroup, BOOL bD
if (CreateLink (szTmp, "", szTmp2) != S_OK)
goto error;
+
+ StringCbPrintfA (szTmp, sizeof(szTmp), "%s%s", szDir, "VeraCryptExpander.exe");
+ StringCbPrintfA (szTmp2, sizeof(szTmp2), "%s%s", szLinkDir, "\\VeraCryptExpander.lnk");
+
+ IconMessage (hwndDlg, szTmp2);
+
+ if (CreateLink (szTmp, "", szTmp2) != S_OK)
+ goto error;
}
bOK = TRUE;