mansellan / clickonce

ClickOnce packager
Other
26 stars 7 forks source link

Multiple deployments of same build can fail to install #30

Open mansellan opened 3 years ago

mansellan commented 3 years ago

Manifest identities are unique per machine, and compromise the identity name, version and culture. Moreover, a given application manifest cannot be referenced by more than one deployment manifest. If this rule is violated, only the first deployment to be installed will succeed. This can cause problems in multi-environment settings, where the same entry point assembly may be deployed into several environments (e.g. moving a deployment version from Test to QA to Production).

The application manifest name is arbitrary (it need not equal the entry point assembly name), therefore to resolve this, the inferred application manifest identity should include, at a minimum, in priority order:

  1. Identity name (advanced setting, infrequently set)
  2. Product name (likely to include environment in multi-environment settings)

(to be incorporated into existing inference strategy)

mansellan commented 3 years ago

Removed critical label - easy enough to work around.