Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: InnoSetup/AdblockPlus.iss

Issue 10969028: Removed outdated InnoSetup installer and renamed WixInstaller directory into the canonical installer (Closed)
Patch Set: Created June 20, 2013, 6:47 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | InnoSetup/License.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; AdblockPlus installer for 32 & 64
2
3 [Setup]
4 AppVerName=Adblock Plus IE
5 AppName=Adblock Plus IE
6 DefaultDirName={pf}\Adblock Plus IE
7 DisableProgramGroupPage=yes
8 UninstallDisplayIcon={app}\Adblock Plus IE
9 DisableDirPage=yes
10
11
12 [Files]
13 Source: "..\build\ia32\Release Test\AdblockPlus.dll"; DestDir: "{app}"
14 Source: "..\build\x64\Release Test\AdblockPlusX64.dll"; DestDir: "{app}"
15 Source: "..\html\static\css\*"; DestDir: "{app}\html\static\css"
16 Source: "..\html\static\img\*"; DestDir: "{app}\html\static\img"
17 Source: "..\html\static\img\social\*"; DestDir: "{app}\html\static\img\social"
18 Source: "..\html\static\img\button-background\*"; DestDir: "{app}\html\static\im g\button-background"
19 Source: "..\html\static\js\*"; DestDir: "{app}\html\static\js"
20 Source: "..\html\templates\*"; DestDir: "{app}\html\templates"
21 Source: "..\files\settings.ini"; DestDir: "{app}"
22 Source: "..\files\dictionary_w.ini"; DestDir: "{app}"
23 Source: "..\files\settings_page_w.ini"; DestDir: "{app}"
24
25 [Code]
26
27 procedure CurStepChanged(CurStep: TSetupStep);
28 var
29 ResultCode: Integer;
30 begin
31 if CurStep = ssPostInstall then
32 begin
33 Exec(ExpandConstant('{sys}') + '\regsvr32', '/s ' + '"' + ExpandConstant('{a pp}') + '\AdblockPlus.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTerminated, Resu ltCode);
34 if IsWin64 then
35 Exec(ExpandConstant('{sys}') + '\regsvr32', '/s ' + '"' + ExpandConstant(' {app}') + '\AdblockPlusX64.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
36 end
37 end;
38
39 procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
40 var
41 ResultCode: Integer;
42 begin
43 if CurUninstallStep = usUninstall then
44 begin
45 Exec(ExpandConstant('{sys}') + '\regsvr32', '/u /s ' + '"' + ExpandConstant( '{app}') + '\AdblockPlus.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTerminated, R esultCode);
46 if IsWin64 then
47 Exec(ExpandConstant('{sys}') + '\regsvr32', '/u /s ' + '"' + ExpandConstan t('{app}') + '\AdblockerPlusX64.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTermin ated, ResultCode);
48 end
49 end;
OLDNEW
« no previous file with comments | « no previous file | InnoSetup/License.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld