Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Self Repair without Advertising ??


1 reply to this topic

Calavera

Calavera
  • Members
  • 1 posts

Posted 13 October 2003 - 10:33

Hi All
I am trying to put an Excel Addin in a Msi using AdminStudio 5.
The App contains a few files and some current user Reg keys.
It is installed as an Administrator and will work just fine as that Administrator.
The problem starts when you log in as a normal user. As you'd expect the current user reg keys are missing and when you launch Excel the Addin would repair its self adding back in the reg keys there by fixing it.
Unfortunately this is not the case as the App has no Advertised entry points. This means that it can not automatically repair and as a normal user dose not have sufficient privileges to run a manual repair the App remains broken.

Basically what I need is a way of triggering a self repair with out using the normal Advertised entry points.
Any ideas ? cause im all out. sad.gif

Cal

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 13 October 2003 - 13:46

If you change your Excel Addin into a COM Add-in, you can register the add-in in two ways:
- For all users, in HKLM
- For the active user, in HKCU
The best way is setting (-1) at the root in the registry table. InstallShield calls this value HKEY_SELECTABLE.

Note that COM Add-ins only work on Office 2000 and higher.