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

Unified Diff: InnoSetup/AdblockPlus.iss

Issue 9422198: Exe updater support and bug fixes (Closed)
Patch Set: Created Feb. 28, 2013, 10:37 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AdBlocker/AdBlocker.vcxproj ('k') | Shared/Config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: InnoSetup/AdblockPlus.iss
===================================================================
--- a/InnoSetup/AdblockPlus.iss
+++ b/InnoSetup/AdblockPlus.iss
@@ -1,18 +1,24 @@
; AdblockPlus installer for 32 & 64
[Setup]
-AppVerName=Adblock Plus
-AppName=Adblock Plus
-DefaultDirName={pf}\AdblockPlus
+AppVerName=avast! Ad Blocker IE
+AppName=avast! Adblocker IE
+DefaultDirName={pf}\AVAST Software\avast! Adblocker IE
DisableProgramGroupPage=yes
-UninstallDisplayIcon={app}\AdblockPlus
+UninstallDisplayIcon={app}\avast! Adblocker IE
DisableDirPage=yes
-LicenseFile={#file AddBackslash(SourcePath) + "License.txt"}
[Files]
-Source: "AdblockPlus32.dll"; DestDir: "{app}"
-Source: "AdblockPlus64.dll"; DestDir: "{app}"
+Source: "Adblocker32.dll"; DestDir: "{app}"
+Source: "Adblocker64.dll"; DestDir: "{app}"
+Source: "..\html\static\css\*"; DestDir: "{userappdata}\..\LocalLow\avast! Ad Blocker\html\static\css"
+Source: "..\html\static\img\*"; DestDir: "{userappdata}\..\LocalLow\avast! Ad Blocker\html\static\img"
+Source: "..\html\static\js\*"; DestDir: "{userappdata}\..\LocalLow\avast! Ad Blocker\html\static\js"
+Source: "..\html\templates\*"; DestDir: "{userappdata}\..\LocalLow\avast! Ad Blocker\html\templates"
+Source: "..\AdBlocker\files\settings.ini"; DestDir: "{userappdata}\..\LocalLow\avast! Ad Blocker"
+Source: "..\AdBlocker\files\dictionary_w.ini"; DestDir: "{userappdata}\..\LocalLow\avast! Ad Blocker"
+Source: "..\AdBlocker\files\settings_page_w.ini"; DestDir: "{userappdata}\..\LocalLow\avast! Ad Blocker"
[Code]
@@ -22,9 +28,9 @@
begin
if CurStep = ssPostInstall then
begin
- Exec(ExpandConstant('{sys}') + '\regsvr32', '/s ' + '"' + ExpandConstant('{app}') + '\AdblockPlus32.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
+ Exec(ExpandConstant('{sys}') + '\regsvr32', '/s ' + '"' + ExpandConstant('{app}') + '\Adblocker32.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
if IsWin64 then
- Exec(ExpandConstant('{sys}') + '\regsvr32', '/s ' + '"' + ExpandConstant('{app}') + '\AdblockPlus64.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
+ Exec(ExpandConstant('{sys}') + '\regsvr32', '/s ' + '"' + ExpandConstant('{app}') + '\Adblocker64.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
end
end;
@@ -34,8 +40,8 @@
begin
if CurUninstallStep = usUninstall then
begin
- Exec(ExpandConstant('{sys}') + '\regsvr32', '/u /s ' + '"' + ExpandConstant('{app}') + '\AdblockPlus32.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
+ Exec(ExpandConstant('{sys}') + '\regsvr32', '/u /s ' + '"' + ExpandConstant('{app}') + '\Adblocker32.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
if IsWin64 then
- Exec(ExpandConstant('{sys}') + '\regsvr32', '/u /s ' + '"' + ExpandConstant('{app}') + '\AdblockPlus64.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
+ Exec(ExpandConstant('{sys}') + '\regsvr32', '/u /s ' + '"' + ExpandConstant('{app}') + '\Adblocker64.dll' + '"', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode);
end
end;
« no previous file with comments | « AdBlocker/AdBlocker.vcxproj ('k') | Shared/Config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld