Permalink
Browse files

Adjust Windows installer script

  • Loading branch information...
1 parent 303ec3b commit 2790ca903ce45f68af27f483abbb6b8a2ef54ebf @hbons committed Mar 11, 2012
Showing with 130 additions and 37 deletions.
  1. +4 −0 .gitignore
  2. +1 −1 README.md
  3. +4 −2 SparkleShare/SparkleEventLogController.cs
  4. +115 −0 SparkleShare/Windows/LICENSE.rtf
  5. +6 −34 SparkleShare/Windows/SparkleShare.wxs
View
@@ -55,3 +55,7 @@ gnome-doc-utils.make
data/plugins/*.xml
desktop.ini
_ReSharper.*
+*.msi
+*.wixobj
+*.wixpdb
+*.wxs
View
@@ -170,7 +170,7 @@ build
### Creating a Windows installer
-To create an installer package, install [WiX 3.6](http://wix.sourceforge.net/), restart Windows and run:
+To create an installer package, install [WiX 3.5](http://wix.sourceforge.net/), restart Windows and run:
```
build installer
@@ -72,8 +72,10 @@ public class SparkleEventLogController {
// A short delay is less annoying than
// a flashing window
- if (watch.ElapsedMilliseconds < 750)
- Thread.Sleep (750 - (int) watch.ElapsedMilliseconds);
+ int delay = 1000;
+
+ if (watch.ElapsedMilliseconds < delay)
+ Thread.Sleep (delay - (int) watch.ElapsedMilliseconds);
if (UpdateContentEvent != null)
UpdateContentEvent (html);
Oops, something went wrong.

0 comments on commit 2790ca9

Please sign in to comment.