Skip to content

Commit

Permalink
fixed a bug in the uninstaller (was not deleting RevitPythonShell2012…
Browse files Browse the repository at this point in the history
….addin)
  • Loading branch information
dthomas.ch committed Feb 29, 2012
1 parent 057457b commit a4c5760
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion RegisterRevit2012Addin/RegisterRevit2012Addin.cs
Expand Up @@ -64,7 +64,7 @@ public override void Uninstall(IDictionary savedState)
var revitProducts = RevitProductUtility.GetAllInstalledRevitProducts();
if (revitProducts.Count > 0)
{
File.Delete(Path.Combine(revitProducts[0].CurrentUserAddInFolder, "RevitPythonShell.addin"));
File.Delete(Path.Combine(revitProducts[0].CurrentUserAddInFolder, "RevitPythonShell2012.addin"));
}
base.Uninstall(savedState);
}
Expand Down
18 changes: 9 additions & 9 deletions Setup_RevitPythonShell_Vasari_TP2.1.iss
@@ -1,13 +1,13 @@
[Files]
Source: C:\projects\revitpythonshell\RevitPythonShell\bin\Debug\ICSharpCode.AvalonEdit.dll; DestDir: {app};
Source: C:\projects\revitpythonshell\RevitPythonShell\bin\Debug\IronPython.dll; DestDir: {app};
Source: C:\projects\revitpythonshell\RevitPythonShell\bin\Debug\IronPython.Modules.dll; DestDir: {app};
Source: C:\projects\revitpythonshell\RevitPythonShell\bin\Debug\PythonConsoleControl.dll; DestDir: {app};
Source: C:\projects\revitpythonshell\RevitPythonShell\bin\Debug\RevitPythonShell.dll; DestDir: {app};
Source: "C:\Program Files (x86)\IronPython 2.7\Microsoft.Scripting.Metadata.dll"; DestDir: {app};
Source: "C:\Program Files (x86)\IronPython 2.7\Microsoft.Dynamic.dll"; DestDir: {app};
Source: "C:\Program Files (x86)\IronPython 2.7\Microsoft.Scripting.dll"; DestDir: {app};
Source: C:\projects\revitpythonshell\RevitPythonShell\RevitPythonShell.xml; DestDir: {userappdata}\RevitPythonShell; Flags: onlyifdoesntexist;
Source: RevitPythonShell\bin\Debug\PythonConsoleControl.dll; DestDir: {app};
Source: RevitPythonShell\bin\Debug\RevitPythonShell.dll; DestDir: {app};
Source: bin\ICSharpCode.AvalonEdit.dll; DestDir: {app};
Source: bin\IronPython.dll; DestDir: {app};
Source: bin\IronPython.Modules.dll; DestDir: {app};
Source: bin\Microsoft.Scripting.Metadata.dll; DestDir: {app};
Source: bin\Microsoft.Dynamic.dll; DestDir: {app};
Source: bin\Microsoft.Scripting.dll; DestDir: {app};
Source: RevitPythonShell\RevitPythonShell.xml; DestDir: {userappdata}\RevitPythonShell; Flags: onlyifdoesntexist;

[code]
{ HANDLE INSTALL PROCESS STEPS }
Expand Down

0 comments on commit a4c5760

Please sign in to comment.