From 2b826843de54ee8db8d514a1f118904cd6128bfe Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 13 Feb 2015 12:26:37 +0100 Subject: Windows: Add VeraCryptExpander.exe to the Windows installer. --- src/Setup/Setup.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/Setup/Setup.c') 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 @@ -1254,6 +1254,13 @@ BOOL DoShortcutsInstall (HWND hwndDlg, char *szDestDir, BOOL bProgGroup, BOOL bD StringCbPrintfA (szTmp, sizeof(szTmp), "%s%s", szDir, "VeraCrypt.exe"); StringCbPrintfA (szTmp2, sizeof(szTmp2), "%s%s", szLinkDir, "\\VeraCrypt.lnk"); + IconMessage (hwndDlg, szTmp2); + 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; @@ -1305,6 +1312,14 @@ BOOL DoShortcutsInstall (HWND hwndDlg, char *szDestDir, BOOL bProgGroup, BOOL bD IconMessage (hwndDlg, szTmp2); + 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; } -- cgit v1.2.3