Remove *.pdb files before install, in case you are upgrading from beta to stable

This commit is contained in:
Jaex 2014-11-14 02:45:47 +02:00
parent adc85cf241
commit 1072a23f01
2 changed files with 4 additions and 1 deletions

View file

@ -84,6 +84,9 @@ Source: "..\Lib\screen-capture-recorder-x64.dll"; DestDir: {app}; Flags: regserv
Source: "..\Lib\audio_sniffer.dll"; DestDir: {app}; Flags: regserver 32bit; Check: IsAdminLoggedOn and not IsWin64
Source: "..\Lib\audio_sniffer-x64.dll"; DestDir: {app}; Flags: regserver 64bit; Check: IsAdminLoggedOn and IsWin64
[InstallDelete]
Type: files; Name: "{app}\*.pdb"
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppFile}"; WorkingDir: "{app}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"; WorkingDir: "{app}"

View file

@ -41,7 +41,7 @@ private enum SetupType
Beta // Debug build setup, uploads it using Debug/ShareX.exe
}
private const SetupType Setup = SetupType.Stable;
private const SetupType Setup = SetupType.Beta;
private static string parentDir = @"..\..\..\";
private static string binDir = Path.Combine(parentDir, @"ShareX\bin");