How to create an installer?
This manual describes how to create an installer for Decision Architect if the solution does not contain an installer project. If you only want to create a new release, please refer to the manual
How to create a release.
- Installation and Activation
- Add the InstallShield Limited Edition Project to the solution. Right click your solution and click on Add -> new project. The InstallShield is listed under other projects types, setup and deployment. If it is not installed, it will open a webbrowser where you can download and install it. After the installation reboot Visual Studio and walk through the above procedure again.
- Activate the InstallShield with the serial you got from the registration process in step1.
- Open the Project Assistant.
- Project Assistant Settings
- "Application Information"
- Specify the company name, the application name, the application version and the company's web address.
- "Installation Requirements"
- Check the "Microsoft .NET Framework 4.5 Full Package".
- "Application Files"
- Select Decision Architect [INSTALLDIR] and then click in Add project outputs.
- Check the Primary Output of the DecisionArchitect project and click on OK.
- Check the Primary Output of the EAFacade project and click on OK.
- "Application Registry"
- Add a registry as the following picture depicts:

- Other Settings
- 1 Organize your Setup/Upgrade Path
- Create a new Upgrade Path
- Set the Upgrade Code to the same Upgrade Code specified in 1 Organize your Setup/General Information
- Include Min Version => Yes
- Max Version => Current Version Number
- 5 Define Setup Requirements and Actions/Custom Actions
- In After Setup Complete Success Dialog add a New EXE.
- Name it reg_main
- Source Location => File Exists on Target Computer.
- File Location => [WindowsFolder]Microsoft.NET\Framework\v4.0.30319.
- File Name and Command Line => regasm "[INSTALLDIR]\DecisionArchitect.dll" /codebase.
- "Condition click on "..." and then Software tab, check .NET 4.5 Full Package is Installed.
- Do the same for reg_eafacade with EAFacade.dll instead of DecisionArchitect.dll
- 6 Prepare for Release/Releases
- Select DVD-5. In Setup.exe change Required Execution Level to Administrator.
- Build the project. If there are no errors, click on Open Release Folder from the toolbar. This directory contains the complete installation package.
- If you see the error that the dotnetFx45_Full_setup.exe file cannot be copied from SetupPrerequisites to the target ISSetupPrerequisites, download the install kit manually from Microsoft and place it in the expected source location.
References