Hi,
For upgrading a Windows Installer installation you have two options:
1) you use a full upgrade which removes the old version and installs the new one
2) you use a patch
In the first case, if a service has not been updated in the new package then the same version of the service is installed. However, if the service has been updated then the new version of the service is installed.
When using patches you can update only the services which have been modified in the Upgraded package and you can also install new services.
I suppose that means that the installer won't be able to create a new folder
This depends a lot on the way you organize and create your installation package (my suggestion from the previous post was just an example).
Another example is to create a feature for each instance of the server and use the Maintenance Mode (the Modify, Repair and Remove options) to install or remove an instance. Basically, you move the component of each service to a new feature and you set just one of the features to be installed (through the "Feature Properties" page). The other features can be set to not be installed by default, allowing the user to install them during the maintenance.
In this case the installation of the first instance is simple and it doesn't require something special. Also, through the "Modify" button on the "MaintenanceTypeDlg" dialog the user can choose to install other features (instances of the service).
I suppose that means that the installer won't be able to create a new folder
Note that the services use the same executable, but this executable must be installed for each instance of the service. Therefore, you need to have a copy of the executable in the "Files and Folders" page for each service you want to create. For example, if you want 10 instances of the service you can create 10 folders in the "Files and Folders" page, each containing a copy of the executable.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging