Create a self extracting zip file for deploying the template

The executable for installing the template was created by using a self-extracting executable using Chillkat Software's free ZIP 2 Secure EXE.
Download ZIP 2 Secure

Here's the steps to create the executable
1) Download the source and set up the solution in Visual Stuido
2) Build the solution, creating the executables for CreateDDF and InstallMOSSSolutionBuilder
3) Move them to a new directory, in this case named c:\TemplateCreator
CreateZipImg1.jpg

4) Move source objects (higlighted in the image below) of the ProjectTemplateStructure project to a new folder in c:\TemplateCreator named WSPProjectTemplate
CreateZipImg2.jpg

5) Rename MOSSWSPBuilderProjectTemplate.csproj.xml to MOSSWSPBuilderProjectTemplate.csproj, removing the .xml from the file extension, as shown below
CreateZipImg3.jpg

6) Create a ZIP file with all the files in the WSPProjectTemplate folder named MOSS Solution Builder Project.zip, as shown below
CreateZipImg4.jpg

7) Move the new ZIP file up one level into the TemplateCreator directory
CreateZipImg5.jpg

8) Create a ZIP file that includes InstallMOSSSolutionBuilder.exe, createddf.exe, and MOSS Solution Builder Project.zip. Name this new ZIP file MOSSSolutionBuilderTemplate.zip
CreateZipImg6.jpg

9) Execute ZIP 2 Secure EXE, entering the information in the following screenshot. Make sure you enter c:\createddf in the Unzip dir text box
CreateZipImg7.jpg

10) Click the Create button. This will create the executable which acts as the installer for the template. Run the EXE, and the template will be deployed to Visual Studio.
CreateZipImg8.jpg

Last edited Dec 4, 2007 at 8:27 PM by richfinn, version 12

Comments

No comments yet.