Commit Graph

103 Commits

Author SHA1 Message Date
Paul Betts
a02b685906 Merge pull request #17 from Squirrel/run-on-install
Notify applications post-install
2014-08-21 14:53:52 -07:00
Paul Betts
144ca1b7cd Explain the magic One 2014-08-21 14:51:25 -07:00
Paul Betts
7dc244d644 Annotate return types 2014-08-21 14:47:22 -07:00
Paul Betts
330715abe0 Delete some tests that are now covered by other tests 2014-08-21 14:29:45 -07:00
Paul Betts
c53e9ea49d Verify full uninstall works 2014-08-21 14:21:51 -07:00
Paul Betts
2c3fddb30c Test update 2014-08-21 14:18:07 -07:00
Paul Betts
0717de14a9 ReflectionLoadFile also loads into the AppDomain 👨🔫
We need to examine the file without it being loaded into our AppDomain
or else all kinds of badness happens. Instead, use Cecil to load the
assembly
2014-08-21 14:13:27 -07:00
Paul Betts
ae5472272b Test that we invoke post-install command correctly 2014-08-21 14:11:57 -07:00
Paul Betts
1518d1f0ea Add a method to create fake squirrel-aware app packages at will 2014-08-20 17:15:57 -07:00
Paul Betts
71a22960fe Just like SquirrelAwareApp only doesn't have the assembly attribute, and writes to args2.txt 2014-08-20 16:41:41 -07:00
Paul Betts
af63bdbbb1 Add a test fixture that is Squirrel-aware
This EXE just writes its arguments to a file in the same directory called
"args.txt"
2014-08-20 16:37:44 -07:00
Paul Betts
b5b4472d3a If users didn't mark anything as Squirrel-aware, run them all 2014-08-19 13:08:09 -07:00
Paul Betts
cc9866845e On initial install, invoke all the apps with FirstRun 2014-08-19 13:05:30 -07:00
Paul Betts
6d88828d5e Implement post-install for install + update 2014-08-19 12:55:35 -07:00
Paul Betts
b384f4bdb1 Implement FullUninstall 2014-08-19 12:44:42 -07:00
Paul Betts
1948c51a86 Get all the Squirrel-aware apps in a directory 2014-08-19 12:43:32 -07:00
Paul Betts
eaed21a41e Merge remote-tracking branch 'origin/master' into run-on-install 2014-08-18 14:19:25 -07:00
Paul Betts
52c356f93d Make sure our code works 2014-08-18 14:03:11 -07:00
Paul Betts
36c22e00f1 Add a class to find Squirrel-aware PE images 2014-08-18 14:02:53 -07:00
Paul Betts
35128785b8 Add what will eventually become Update.exe but now currently is just a dummy Squirrel-aware EXE 2014-08-18 13:16:45 -07:00
Paul Betts
31be780fe1 Update Setup.rc to be Squirrel-aware so that we can test detecting it 2014-08-18 12:46:57 -07:00
Paul Betts
51b487bbe4 Merge pull request #15 from Squirrel/refactor-and-cleanup
Enable UpdateManager to support Install / Uninstall
2014-08-08 15:44:46 +02:00
Paul Betts
a9e5cf75d1 Add an explicit FullInstall method
This doesn't do everything we want yet like run the application, but it's a
start.
2014-08-08 15:25:05 +02:00
Paul Betts
98da7e789e Make sure UpdateManager can do clean installs 2014-08-08 15:18:07 +02:00
Paul Betts
bc771de4b3 Run clean *after* apply, dummy 2014-08-08 14:52:55 +02:00
Paul Betts
2b72912ef2 RootDir != RootAppDir 2014-08-08 13:51:02 +02:00
Paul Betts
41cfc64e9d Clean up existing tests to use our new internal classes 2014-08-08 13:32:44 +02:00
Paul Betts
cedb12266d Rename classes to get rid of naming conflict 2014-08-08 13:01:25 +02:00
Paul Betts
0763761c57 Get ApplyReleases building 2014-08-08 12:58:18 +02:00
Paul Betts
9c50cbc7f4 DownloadReleases into its own class 2014-08-08 12:38:50 +02:00
Paul Betts
c6c6daed4f Merge pull request #16 from Squirrel/fix-setup-cibuild
Add Setup.exe back to CIBuild
2014-08-08 12:02:51 +02:00
Paul Betts
b33ea39ac0 Move the DDK to the front of the line so we can make sure it works 2014-08-08 11:51:30 +02:00
Paul Betts
d8158d3503 Reenable Setup.exe in CIBuild 2014-08-08 11:27:50 +02:00
Paul Betts
78a4b05ec5 Fix build on AppVeyor by including the WDK
Apparently Microsoft has decided the ATL is a "Premium Feature" and doesn't
include it in the Express SKUs. Fortunately, the WDK includes it, and AppVeyor
added the SDK to their build machines.
2014-08-08 11:26:25 +02:00
Paul Betts
2ec9192ef9 Hard tabs? How did you get here? 2014-08-06 17:30:15 +02:00
Paul Betts
0501ed8f93 Get CheckForUpdates into its own inner class 2014-08-06 17:25:01 +02:00
Paul Betts
a40085812d Brutal ripping of code into partial classes - doesn't compile at all 2014-08-06 15:41:41 +02:00
Paul Betts
edd4cdd84f Merge pull request #7 from Squirrel/resurrect-client
Resurrect UpdateManager
2014-08-06 14:04:18 +02:00
Paul Betts
2922373367 Comment out more tests 2014-08-05 15:54:45 +02:00
Paul Betts
6be81d2914 Pour some await on these tests 2014-08-05 15:54:34 +02:00
Paul Betts
630399aadf Make package application sync for now 2014-08-05 15:54:14 +02:00
Paul Betts
79a062daee Merge pull request #10 from Squirrel/paulcbetts-patch-1
Update README.md
2014-08-04 11:15:56 +02:00
Paul Betts
08b857c152 Update README.md 2014-08-04 11:15:49 +02:00
Paul Betts
bab6bd89eb Merge pull request #8 from justinvp/enumeratefiles
Utility.GetAllFilesRecursively Improvements
2014-08-01 23:20:33 +02:00
Justin Van Patten
9e2f93f809 Use SearchOption.AllDirectories and EnumerateFiles
Avoids unnecessary allocations (arrays and LINQ) and allows enumerating
through the results immediately without having to wait for arrays to be
allocated, filled, and returned.
2014-08-01 11:22:13 -07:00
Paul Betts
6ca03325d6 Add Runners to solution 2014-08-01 17:14:21 +02:00
Paul Betts
b1a173eb6d I keep fixing this, why does it come back 2014-08-01 16:49:53 +02:00
Paul Betts
231446c387 Comment out a ton of tests and fix up the rest to build 2014-08-01 15:59:09 +02:00
Paul Betts
a3b23df790 Merge remote-tracking branch 'origin/master' into resurrect-client 2014-08-01 14:02:00 +02:00
Paul Betts
32956e2d05 Create a CIBuild Solution Configuration 2014-08-01 13:57:00 +02:00