Trigger self healing/Active Setup
Hi,
I´m going to create a MSI that creates 2 folders under [AppDataFolder] and copy a bunch of files under the last folder in the hierarcy.
My problem is that only the one installing the msi gets the folder and files copied. Since there are no shortcut to any program I thought I should try Active Setup. But the users in the near future in my company are going to be local users and not local administrators. Will Active Setup work then? To trigger a repair of the msi?
IF it will work there is still a problem, because I cant get the package to repair/self heal the files to the current user. So there must be something wrong with the package.
I use Install Shield 2010 and simply create the folder structure in the GUI of Install Shield and answer "yes" if I want to create a component. Then I put the files in the folder structure and put a keypath on one of the files. Something I´m missing?
Cheers
Agathorn
I´m going to create a MSI that creates 2 folders under [AppDataFolder] and copy a bunch of files under the last folder in the hierarcy.
My problem is that only the one installing the msi gets the folder and files copied. Since there are no shortcut to any program I thought I should try Active Setup. But the users in the near future in my company are going to be local users and not local administrators. Will Active Setup work then? To trigger a repair of the msi?
IF it will work there is still a problem, because I cant get the package to repair/self heal the files to the current user. So there must be something wrong with the package.
I use Install Shield 2010 and simply create the folder structure in the GUI of Install Shield and answer "yes" if I want to create a component. Then I put the files in the folder structure and put a keypath on one of the files. Something I´m missing?
Cheers
Agathorn
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
Posted by:
stabish
14 years ago
Posted by:
pjgeutjens
14 years ago
Since there are no shortcut to any program I thought I should try Active Setup. But the users in the near future in my company are going to be local users and not local administrators. Will Active Setup work then? To trigger a repair of the msi?
David,
first of all, for robust propagation of user settings, in my opinion self-healing triggered by advertisement is a much better option than Active Setup if it's an option for you. self-healing being an integral part of Windows Installer tech, Active Setup to me is Microsoft's Poor Man's Alternative.
you should keep in mind that advertised shortcuts are not the only way to trigger self-healing in an MSI. You can also advertise COM registration of DLLs and exe files, program associations and extensions. That being said, this is not something I have yet played with extensively, trying to actively trigger a self-heal that would take care of user settings, stemming from a non-shortcut advertisement. Key tables in this respect that come to mind for me are Class, Extension and ProgID, but might not be limited to this.
I hope some of the others here can input, and I for one will follow this topic, to learn [;)]
PJ
Posted by:
anonymous_9363
14 years ago
Posted by:
Agathorn
14 years ago
Posted by:
pjgeutjens
14 years ago
David,
there are many environments where self-healing is not possible, like Citrix or like the one I'm working in at the moment for example. We use a custom system for managing user shortcuts, and it doesn't do well with advertised shortcuts. In those cases Active Setup is an alternative. It can indeed perform the same task, but is much more limited than MSI self-healing, which guards your entire application's integrity, not just your user specific files and settings.
there are many environments where self-healing is not possible, like Citrix or like the one I'm working in at the moment for example. We use a custom system for managing user shortcuts, and it doesn't do well with advertised shortcuts. In those cases Active Setup is an alternative. It can indeed perform the same task, but is much more limited than MSI self-healing, which guards your entire application's integrity, not just your user specific files and settings.
Posted by:
anonymous_9363
14 years ago
Maybe this is a question of semantics, in that the user profile stuff is "kind of" self-healed but only once, when the user logs in. Self-healing, in fact, means that if a key path is missing, the Windows Installer engine will heal the feature containing the missing key path. If your user removes stuff which has been installed via AS, the engine - having had no involovement in the install - doesn't heal.
Posted by:
Colbey
14 years ago
Active setup could be used to trigger a repair of your msi once for each user as they logon. The repair will run with elevated rights. This would allow your msi to create the files and folder structures for each user on the machine when they logon, but you would not get the usual benefits of advertisement and self healing triggered by use of an advertised shortcut each time the application is launched.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.