I am new to software development (though not programming). I am in the process of delivering my first application for commercial release, and I am in need of a single-click installer package. I looked into a number of solutions - I coded my own in C# (it basically just grabs my three folders to their respective destinations), but ran into some issues with bundling some IO libraries. Since I am using Visual Studio Express 2012, I cannot use the InstallShield module. I found WiX, and while it has some tutorials online, the learning curve of this service is pretty high - it's safe to say I am pretty confused.
I have three folders:
The logic of my C# code is the following:
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.");
}
}
The target location will be specified by the .msi, as for the target locations:
C:\\\\ProgramData\\\\Autodesk\\\\REVIT\\\\Addins\\\\2013
C:\\\\ProgramData\\\\Autodesk\\\\REVIT\\\\Addins\\\\2014
C:\\\\Windows\\\\Microsoft.NET\\\\assembly\\\\GAC_64
What the installer really does is it takes the source folders/files (from the 3 above) and literally copies them to the target location. This is also what my C# script does (though it uses the IO library). What are the steps I need to for WiX? I am so confused.
I also need to create a merge module.
Thank you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.