Deployment in Visual Studio Setup and Deployment Projects Install Shield Limited Edition Windows Installer XML Toolset
Jul 18, 2015
Deployment in Visual Studio
Setup and Deployment
Projects
Install Shield Limited Edition
Windows Installer XML
Toolset
Setup and Deployment - step by step
• Add Setup project to solution
• Set properties of Setup
• Add Project output to file system application folder
• Create shortcut from the output file and move to desktop or program menu
• Customize UI in User interface Editor
• Add custom actions to Extent features
• Add Installer class to project and refer that dll to Custom action
• On this class we can override functions
• Pass installer variables /TARGETDIR = "[TARGETDIR]“
• in custom action data property of dll reference
• Access those variables as Context.Parameters["TARGETDIR"];
Install Shield - step by step
• All the above as Easy configured by GUI
WIX
• Microsoft uses it to deploy its own software including Microsoft Office and Visual Studio
• it gives you greater control over how things work (eg: You get much more control when you write the HTML yourself as opposed to using a WYSIWYG software)
• Its simply configure setup in XML files