VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Setup
diff options
context:
space:
mode:
Diffstat (limited to 'src/Setup')
-rw-r--r--src/Setup/Setup.c15
-rw-r--r--src/Setup/Setup.h2
2 files changed, 17 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;
diff --git a/src/Setup/Setup.h b/src/Setup/Setup.h
index 7a4d64f4..d2fb6c7b 100644
--- a/src/Setup/Setup.h
+++ b/src/Setup/Setup.h
@@ -22,6 +22,7 @@ static char *szFiles[]=
"AVeraCrypt User Guide.pdf",
"ALicense.txt",
"AVeraCrypt.exe",
+ "AVeraCryptExpander.exe",
"AVeraCrypt Format.exe",
"Averacrypt.sys",
"Averacrypt-x64.sys",
@@ -72,6 +73,7 @@ static char *szCompressedFiles[]=
"VeraCrypt User Guide.pdf",
"License.txt",
"VeraCrypt.exe",
+ "VeraCryptExpander.exe",
"VeraCrypt Format.exe",
"veracrypt.sys",
"veracrypt-x64.sys",