Freelance Project Requests info@CodeDocu.de Software Development in C# WPF Asp.Net Core Vba Excel Word SQL-Server EF Linq, UWP Net
#

Settings under InstallForge Installer
 
Following is an example of a completed InsallForge project file
As a special feature, the registry entries were made for the Windows File Explorer.
The entries are made for installation in the registry and removed at the Uninstall.
 
1) General:
Simply enter the data as shown.
Company name without special characters
Program name without special characters

 
 
2) Languages:
Language of the Install software
Here, only the language is set with which texts the installation program itself is displayed.
English and German is sufficient

 
 
3) Files:
Here it is enough to attach the output exe file of the WPF application
You can take the files from the \ bin directory

 
 
In the simplest case, it should be enough to select the Program.exe.
Addition:
If necessary, the program.config and Program.manifest have to be fetched.

 
If you select the settings correctly in Visual Studio, an app.publish is created under bin \ Debug, which contains all the information.

 
3) Set the uninstaller
The Uninstaller deletes all installed files under c: \ Programs .. And also the registry entries.
If the uninstaller is not installed, the files remain in the program or installation directory.

 
4) Shortcuts
Under Shortcuts you should have a shortcut to it
The home (program directory) and to the desktop
To create

 
4a) Shortcut to the start menu
In the shortcut to the Start menu, the Target File entry must be set to Program.exe.
The icon comes from the application itself and does not have to be set separately.

 
4b) link to the desktop
The same applies to the icon and the link on the desktop

 
5) Registry
With the registry, you can make entries in the file explorer, which are even removed with the Unistaller.

 
Here is the example of the Folder \ program \ command
Root Key: HKEY_CLASSES_ROOT
Value name: (default)
* Important: a blank entry does not go, therefore the English (default)
 
Sub Key: Folder \ shell \ GroupImages by Date in Subfolders \ command
ValueData: <programfiles> \ <company> \ <appname> \ Group_Images_By_Date.exe% 1
 
Appendix:
In the appendix is ​​a complete execution of the registy entries for shell context and directory shell context as text version

 
Visual Studio Settings
 
If you choose the settings under Visual Studio correctly, then proceeding with InstallForge should be easy.
 
VS1: Icon
The icon should be included in the application.
Application

 
VS 2: Assemble assembly information
 
Assembly information under Visual Studio
The best way to do this is in InstallForge
So Title, Description, Company, Product.
 
Assembly: Company and Product
No special characters should be included with Company and Product, since this also creates the installation path
Therefore, do not use a point or path-critical character.
 

 
Appendix Registry:
Here is the section for the registry entries. The entries are obtained by saving the InstallForge and opening it with the Notepad.
 
Important NOTE:
Behind command is a blank line created with the notepad, so the registry can enter the default = empty.

[Registry]
HKEY_CLASSES_ROOT
Folder\shell\Group Images by Date in Subfolders
(default)
 
1
HKEY_CLASSES_ROOT
Folder\shell\Group Images by Date in Subfolders\command
 
<programfiles>\<company>\<appname>\Group_Images_By_Date.exe %1
1
HKEY_CLASSES_ROOT
Folder\shell\Group Images by Date in Subfolders
Icon
<programfiles>\<company>\<appname>\Group_Images_By_Date.exe,0
1
HKEY_CLASSES_ROOT
Directory\Background\shell\Group Images by Date in Subfolders
 
 
1
HKEY_CLASSES_ROOT
Directory\Background\shell\Group Images by Date in Subfolders
Icon
<programfiles>\<company>\<appname>\Group_Images_By_Date.exe,0
1
HKEY_CLASSES_ROOT
Directory\Background\shell\Group Images by Date in Subfolders\command
 
<programfiles>\<company>\<appname>\Group_Images_By_Date.exe %V
1

 
Mobile
»
Installforge: command and argument in comma
»
InstallForge: Example of Settings and Dialogs to Install a complete Program
»
InstallForge Problem: Enter default value blank

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de