Hi,
we are building an MSI setup with AI Pro and we have to include a, Outlook and a Word/Excel/Powerpoint add-in in the setup..
Our add-in DLL files were not created in any version of visual studio, so in the add-in wizard there is no "other" option for the question "What your addin was created with", and also we don't happen to have a manifest file, so it seems we can't really use the add-in wizard at all, right ?
So, we simply copy the file where it needs to belong, and add some registry values to make it work.
Since we are migrating from InnoSetup to A.I., we are trying to achieve the same functionality which is to check if any of the Office applications are running (which can be done via a custom action), but we somehow want to display a warning if that is the case, to give the possibility to the user to save all of his work before closing the applicaitons, because simply terminating theses processes will make the user possibly lose some work. So the ideal thing is a warning message being displayed, and the setup should only continue once the applications are all closed.
Of course, this only concens the interactive setup scenario, not the one where an administrator would push the MSI setup via the domain (which would happen on logon, so I suppose that none of the applications would be running yet anyway ?)
What is the best way to approach this kind of behaviour ? is it possible to have a custom action to only display a warning when there is a user interface displayed, and then only proceed once all 4 processes are not running ? (The detect process custom action is only executed once I guess, so is it even possible to use it in this case ?)
Thanks
Thanks
FOLLOW US
Get the latest news in Application Packaging