Heinz-Josef Bomanns
Posts: 206
Joined: 2008-02-28
|
Hi,
we have a customer who is installing and uninstalling using SCCM (System Center Configuration Manager), his requirements are that an installation and uninstallation must be possible even if Outlook is runing and without any user activity (silent). We've managed to create an MSI that installs even if Outlook is running, the add-in integrates fine next time Outlook is started and thats what the customer wants.
But when trying to uninstall, we get a message from adxregistrator 'You have Outlook runing at the moment, please close application' thus blocking the uninstall process. Our idea is to do the job of adxregistrator with a custom action - we guess there are some registry keys to delete? Can you please tell us what actions exactly adxregistrator is performing so we can replace them with our own solution? Thanks...__________________
Greetings, HJB
|
|
Andrei Smolin
Add-in Express team
Posts: 18830
Joined: 2006-05-11
|
Hello HJB,
You can set DisplayAlerts=False on the add-in module. This should prevent the registrator from showing the message. You can also use the OnBeforeDisplayAlerts event if required.
Note that the add-in not unloaded means some add-in files are blocked and they cannot be replaced.
Andrei Smolin
Add-in Express Team Leader |
|
Heinz-Josef Bomanns
Posts: 206
Joined: 2008-02-28
|
Hi Andrei,
thanks for your efforts. I've tried 'DisplayAlerts = False' and also a combination with 'e.Handled = True' in event 'OnBeforeDisplayAlerts' but that doesn't work, when uninstalling we still get the dialog 'You have Outlook runing at the moment, please close application' - what might be the reasons that this settings are ignored? Thanks__________________
Greetings, HJB
|
|
Andrei Smolin
Add-in Express team
Posts: 18830
Joined: 2006-05-11
|
Could you please send me a screenshot of that message?
Andrei Smolin
Add-in Express Team Leader |
|