I want to import two dlls in my .iss when uninstalled the app. I cannot find a way to do this.
procedure Installed();
external 'Installed@files:StatisticInstallInfo.dll,adcore.dll cdecl setuponly ';
procedure Uninstalled();
external 'Uninstalled@{app}\StatisticInstallInfo.dll cdecl uninstallonly';
I want import adcore.dll
in procedure Uninstalled
too. And it's failed as below shows;
[Files]
Source: {#MyDefaultPackDir}\adcore.dll; DestDir: "{app}"
Source: {#MyDefaultPackDir}\StatisticInstallInfo.dll; DestDir: "{app}"
[Code]
procedure Uninstalled();
external 'Uninstalled@files:StatisticInstallInfo.dll,adcore.dll cdecl uninstallonly';
It does not work.
Installed()
and Uninstalled()
are in the StatisticInstallInfo.dll
, which depends on adcore.dll
.