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

Issue 10920006: Expect MSI installers (Closed)

Created:
June 10, 2013, 3:27 p.m. by Wladimir Palant
Modified:
June 19, 2013, 5:39 p.m.
Reviewers:
Felix Dahlke, Oleksandr
Visibility:
Public.

Description

Expect MSI installers

Patch Set 1 #

Total comments: 16

Patch Set 2 : Changed platform name #

Patch Set 3 : Separate function to run updater, using msiexec now #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -48 lines) Patch
M AdblockPlusEngine.vcxproj View 1 2 5 chunks +16 lines, -16 lines 0 comments Download
M src/engine/Updater.cpp View 1 2 2 chunks +69 lines, -32 lines 0 comments Download

Messages

Total messages: 11
Wladimir Palant
June 10, 2013, 3:27 p.m. (2013-06-10 15:27:48 UTC) #1
Oleksandr
http://codereview.adblockplus.org/10920006/diff/1/AdblockPlusEngine.vcxproj File AdblockPlusEngine.vcxproj (right): http://codereview.adblockplus.org/10920006/diff/1/AdblockPlusEngine.vcxproj#newcode188 AdblockPlusEngine.vcxproj:188: <AdditionalDependencies>libadblockplus.lib;shlwapi.lib;user32.lib;v8_base.lib;v8_snapshot.lib;winhttp.lib;winmm.lib;ws2_32.lib;msi.lib;%(AdditionalDependencies)</AdditionalDependencies> Is there any reason why msi is included ...
June 10, 2013, 4:47 p.m. (2013-06-10 16:47:56 UTC) #2
Wladimir Palant
http://codereview.adblockplus.org/10920006/diff/1/AdblockPlusEngine.vcxproj File AdblockPlusEngine.vcxproj (right): http://codereview.adblockplus.org/10920006/diff/1/AdblockPlusEngine.vcxproj#newcode188 AdblockPlusEngine.vcxproj:188: <AdditionalDependencies>libadblockplus.lib;shlwapi.lib;user32.lib;v8_base.lib;v8_snapshot.lib;winhttp.lib;winmm.lib;ws2_32.lib;msi.lib;%(AdditionalDependencies)</AdditionalDependencies> On 2013/06/10 16:47:56, Oleksandr wrote: > Is there ...
June 11, 2013, 4:29 a.m. (2013-06-11 04:29:56 UTC) #3
Felix Dahlke
http://codereview.adblockplus.org/10920006/diff/1/AdblockPlusEngine.vcxproj File AdblockPlusEngine.vcxproj (right): http://codereview.adblockplus.org/10920006/diff/1/AdblockPlusEngine.vcxproj#newcode188 AdblockPlusEngine.vcxproj:188: <AdditionalDependencies>libadblockplus.lib;shlwapi.lib;user32.lib;v8_base.lib;v8_snapshot.lib;winhttp.lib;winmm.lib;ws2_32.lib;msi.lib;%(AdditionalDependencies)</AdditionalDependencies> On 2013/06/11 04:29:56, Wladimir Palant wrote: > On ...
June 11, 2013, 10:07 a.m. (2013-06-11 10:07:51 UTC) #4
Oleksandr
http://codereview.adblockplus.org/10920006/diff/1/AdblockPlusEngine.vcxproj File AdblockPlusEngine.vcxproj (right): http://codereview.adblockplus.org/10920006/diff/1/AdblockPlusEngine.vcxproj#newcode188 AdblockPlusEngine.vcxproj:188: <AdditionalDependencies>libadblockplus.lib;shlwapi.lib;user32.lib;v8_base.lib;v8_snapshot.lib;winhttp.lib;winmm.lib;ws2_32.lib;msi.lib;%(AdditionalDependencies)</AdditionalDependencies> Does it not compile if you remove msi.lib? ...
June 11, 2013, 10:24 a.m. (2013-06-11 10:24:49 UTC) #5
Felix Dahlke
http://codereview.adblockplus.org/10920006/diff/1/src/engine/Updater.cpp File src/engine/Updater.cpp (right): http://codereview.adblockplus.org/10920006/diff/1/src/engine/Updater.cpp#newcode123 src/engine/Updater.cpp:123: UINT result = ::MsiInstallProductW(tempFile.c_str(), L"ACTION=INSTALL INSTALLUILEVEL=2"); On 2013/06/11 10:24:49, ...
June 11, 2013, 10:28 a.m. (2013-06-11 10:28:05 UTC) #6
Wladimir Palant
http://codereview.adblockplus.org/10920006/diff/1/AdblockPlusEngine.vcxproj File AdblockPlusEngine.vcxproj (right): http://codereview.adblockplus.org/10920006/diff/1/AdblockPlusEngine.vcxproj#newcode188 AdblockPlusEngine.vcxproj:188: <AdditionalDependencies>libadblockplus.lib;shlwapi.lib;user32.lib;v8_base.lib;v8_snapshot.lib;winhttp.lib;winmm.lib;ws2_32.lib;msi.lib;%(AdditionalDependencies)</AdditionalDependencies> On 2013/06/11 10:07:52, Felix H. Dahlke wrote: > ...
June 11, 2013, 2:42 p.m. (2013-06-11 14:42:10 UTC) #7
Wladimir Palant
I adjusted the platform names as suggested by Felix.
June 12, 2013, 1:02 p.m. (2013-06-12 13:02:26 UTC) #8
Felix Dahlke
LGTM http://codereview.adblockplus.org/10920006/diff/1/src/engine/Updater.cpp File src/engine/Updater.cpp (right): http://codereview.adblockplus.org/10920006/diff/1/src/engine/Updater.cpp#newcode123 src/engine/Updater.cpp:123: UINT result = ::MsiInstallProductW(tempFile.c_str(), L"ACTION=INSTALL INSTALLUILEVEL=2"); On 2013/06/11 ...
June 12, 2013, 1:03 p.m. (2013-06-12 13:03:39 UTC) #9
Wladimir Palant
Turned out that low integrity processes cannot access MSI service. Same goes for msiexec if ...
June 13, 2013, 2:32 p.m. (2013-06-13 14:32:08 UTC) #10
Felix Dahlke
June 14, 2013, 3:12 p.m. (2013-06-14 15:12:57 UTC) #11
LGTM

Powered by Google App Engine
This is Rietveld