I have three folders:
1. myApplication2013 folder
2. myApplication2014 folder
3. System.Data.SQLite.dll
The logic of my C# code is the following:
Code: Select all
public static void installer(){
deleteLegacyFiles(); // deletes legacy myApplication directories and files
moveSQLite(); // moves system.data.sqlite database to directory
if(checkRevit2013()){ // install myApplication 2013 if Revit 2013 is installed
moveMyApplication2013();
}else if(checkRevit2014()){ // if Revit 2014 is installed, install myApplication 2014
moveTally2014();
}else{ // tell user both Revit 2014 and Revit 2013 is not installed
System.out.println("It does not look like you have either Revit 2013 or Revit 2014 installed.");
}
}
1. myApplication-2013 is:
Code: Select all
C:\\ProgramData\\Autodesk\\REVIT\\Addins\\2013
Code: Select all
C:\\ProgramData\\Autodesk\\REVIT\\Addins\\2014
Code: Select all
C:\\Windows\\Microsoft.NET\\assembly\\GAC_64
Note: This is a post-compilation installer, that is, this is not done within VS Express, but outside of it.
I am also interested in creating a merge module - but I guess this will need to be done pre-compilation? If I am wrong, please correct me. Does Advanced Installer do this?
Thank you!