卸载应用程序时,我想在我的 .iss 中导入两个 dll。我找不到办法做到这一点。
procedure Installed();
external 'Installed@files:StatisticInstallInfo.dll,adcore.dll cdecl setuponly ';
procedure Uninstalled();
external 'Uninstalled@{app}\StatisticInstallInfo.dll cdecl uninstallonly';
adcore.dll
我也想在程序中导入Uninstalled
。它失败了,如下所示;
[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';
这没用。
Installed()
并且Uninstalled()
在 中StatisticInstallInfo.dll
,这取决于adcore.dll
。