mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows: Add VeraCryptExpander.exe to the Windows installer.
This commit is contained in:
@@ -1254,6 +1254,13 @@ BOOL DoShortcutsInstall (HWND hwndDlg, char *szDestDir, BOOL bProgGroup, BOOL bD
|
|||||||
StringCbPrintfA (szTmp, sizeof(szTmp), "%s%s", szDir, "VeraCrypt.exe");
|
StringCbPrintfA (szTmp, sizeof(szTmp), "%s%s", szDir, "VeraCrypt.exe");
|
||||||
StringCbPrintfA (szTmp2, sizeof(szTmp2), "%s%s", szLinkDir, "\\VeraCrypt.lnk");
|
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);
|
IconMessage (hwndDlg, szTmp2);
|
||||||
if (CreateLink (szTmp, "", szTmp2) != S_OK)
|
if (CreateLink (szTmp, "", szTmp2) != S_OK)
|
||||||
goto error;
|
goto error;
|
||||||
@@ -1305,6 +1312,14 @@ BOOL DoShortcutsInstall (HWND hwndDlg, char *szDestDir, BOOL bProgGroup, BOOL bD
|
|||||||
|
|
||||||
IconMessage (hwndDlg, szTmp2);
|
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)
|
if (CreateLink (szTmp, "", szTmp2) != S_OK)
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ static char *szFiles[]=
|
|||||||
"AVeraCrypt User Guide.pdf",
|
"AVeraCrypt User Guide.pdf",
|
||||||
"ALicense.txt",
|
"ALicense.txt",
|
||||||
"AVeraCrypt.exe",
|
"AVeraCrypt.exe",
|
||||||
|
"AVeraCryptExpander.exe",
|
||||||
"AVeraCrypt Format.exe",
|
"AVeraCrypt Format.exe",
|
||||||
"Averacrypt.sys",
|
"Averacrypt.sys",
|
||||||
"Averacrypt-x64.sys",
|
"Averacrypt-x64.sys",
|
||||||
@@ -72,6 +73,7 @@ static char *szCompressedFiles[]=
|
|||||||
"VeraCrypt User Guide.pdf",
|
"VeraCrypt User Guide.pdf",
|
||||||
"License.txt",
|
"License.txt",
|
||||||
"VeraCrypt.exe",
|
"VeraCrypt.exe",
|
||||||
|
"VeraCryptExpander.exe",
|
||||||
"VeraCrypt Format.exe",
|
"VeraCrypt Format.exe",
|
||||||
"veracrypt.sys",
|
"veracrypt.sys",
|
||||||
"veracrypt-x64.sys",
|
"veracrypt-x64.sys",
|
||||||
|
|||||||
Reference in New Issue
Block a user