Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Commit

Permalink
Fixed version reference for MSI building.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paris committed Apr 25, 2010
1 parent da66b49 commit aba79b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Deploy/Installer.cs
Expand Up @@ -67,8 +67,8 @@ static void BuildMsi(TextWriter writer, bool x64)

const string author = "A";
string name = Name;
string version = Version;
string path = Path.GetFullPath(string.Format("..{0}..{0}..{0}{1}{0}bin{0}" + config, Path.DirectorySeparatorChar, name));
string version = File.ReadAllText(string.Format("{1}{0}..{0}..{0}version.txt", Path.DirectorySeparatorChar, path)).Trim();
string docs = Path.GetFullPath(string.Format("{1}{0}..{0}..{0}Site{0}docs", Path.DirectorySeparatorChar, path));
string favicon = string.Format("{1}{0}..{0}favicon.ico", Path.DirectorySeparatorChar.ToString(), docs);
string main = name + ".exe";
Expand Down

0 comments on commit aba79b3

Please sign in to comment.