I'm working through this with an app that we have but can't seem to figure out exactly how to do this. We are using SWV 7.5 and Windows 7 x64. We have an app we want to place in SWV but when installed and run by non-admins, sometimes it writes content to both the user's virtualstore in the file stytem and the virtual store in their registry keys. When we disable the layer we want these items to go away since they will interfere with any upgraded versions we would deploy but we don't want any other files to disappear once the layer has been deactivated. Any thoughts on how best to handle this? We can't simply pre-write the contents into the layer since A) its per user and B) the items are not always written there. They are if the user is a non-admin but might not need to be depending on what has been done in the past. (Confusing, I know!).
Any thoughts would be appreciated!