Don't Write ARP Entry
- As a Setup developer I can create a bundle with permanent packages such that the ARP entry is not written until the bundle is actually installed.
- User starts the per-machine bundle on a clean machine.
- The bundle has an MBA and needs to install the .NET Framework.
- The bundle caches itself into the package cache.
- The bundle registers in ARP.
- The bundle creates a RunOnce key.
- The bundle installs the permanent .NET package, which requires a reboot.
- The BA requests restart from OnPackageComplete.
- The bundle updates the RunOnce key to resume after the reboot.
- The user allows the prereq BA to reboot the machine.
- RunOnce starts the bundle elevated.
Because RunOnce always starts the target program elevated, Burn needs to cache the bundle into the package cache (or other protected area) to be secure. In order to allow the user to clean up their machine, Burn is registering in ARP to give them a way to clean the cache. The ARP entry is confusing since it implies that the installation is complete. To avoid this confusion, Burn needs to make sure the ARP entry does not exist by the end of step 8.
Relax the requirement that there must be an entry in ARP while any part of the bundle is cached. This allows Burn to remove the ARP entry by the end of step 8 while meeting all of the other requirements.
Decision - Declined
It is unacceptable for any possibility of the bundle being cached without a corresponding ARP entry. The ARP entry must always be written at the beginning of the chain.