diff --git a/ci/appveyor/after_install.cmd b/ci/appveyor/after_install.cmd new file mode 100644 index 0000000000000000000000000000000000000000..41da82145df8c28e9de696b5e81c2d01d6b01aa2 --- /dev/null +++ b/ci/appveyor/after_install.cmd @@ -0,0 +1,3 @@ +@ECHO OFF + +mkdir %APPDATA%\sakia\test \ No newline at end of file diff --git a/ci/appveyor/sakia.iss b/ci/appveyor/sakia.iss index bc0935a2b762a765808697d857d80623e71c4b9a..2d1fbcb7d0ebe1515c5acd74e02c37daa807f107 100644 --- a/ci/appveyor/sakia.iss +++ b/ci/appveyor/sakia.iss @@ -46,6 +46,7 @@ Source: "{#MyAppSrc}\dist\sakia\*"; DestDir: "{app}\"; Flags: ignoreversion recu Source: "{#MyAppSrc}\sakia.ico"; DestDir: "{app}\"; Flags: ignoreversion recursesubdirs Source: "{#MyAppSrc}\sakia.png"; DestDir: "{app}\"; Flags: ignoreversion recursesubdirs Source: "{#MyAppSrc}\LICENSE"; DestDir: "{app}\"; Flags: ignoreversion recursesubdirs +Source: "{#MyAppSrc}\ci\appveyor\after_install.cmd"; DestDir: "{app}\"; Flags: ignoreversion [Icons] Name: "{group}\{#MyAppName}"; IconFilename: "{app}\sakia.ico"; Filename: "{app}\{#MyAppExeName}" @@ -54,7 +55,7 @@ Name: "{commondesktop}\{#MyAppName}"; IconFilename: "{app}\sakia.ico"; Filename: [Run] Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent -Filename: "rd /s /q {userappdata}\sakia"; Description: "Delete existing data of Sakia"; Flags: postinstall nowait skipifsilent unchecked shellexec +Filename: "{app}\after_install.cmd"; Description: "Supprimer les données existantes"; Flags: postinstall nowait skipifsilent unchecked [Setup] ; NOTE: The value of AppId uniquely identifies this application.