diff --git a/setup.py b/setup.py
index c1946881..b259c3f3 100755
--- a/setup.py
+++ b/setup.py
@@ -130,8 +130,8 @@ appcast.write('''
\t\t-
\t\t\tRelease {0}
\t\t\t
-\t\t\t\tRelease {0:.2f}
+\t\t\t\tRelease {0:.2f}
@@ -145,4 +145,10 @@ appcast.write('''
\t\t\t\ttype="application/octet-stream"
\t\t\t/>
\t\t
-'''.format(float(SHORTVERSION)/100, SHORTVERSION, PKG, sys.platform=='darwin' and 'osx' or 'windows"\n\t\t\t\tsparkle:installerArguments="/passive', VERSION, os.stat(PKG).st_size, sys.platform=='darwin' and 2 or 3))
+'''.format(float(SHORTVERSION)/100,
+ SHORTVERSION,
+ PKG,
+ sys.platform=='win32' and 'windows"\n\t\t\t\tsparkle:installerArguments="/passive' or 'osx',
+ VERSION,
+ os.stat(PKG).st_size,
+ sys.platform=='win32' and '\n' or ''))