Gonzalo Diethelm wrote:
The problem with your suggestion is that there will not be a "first run" ever. Since this is an Excel add-in (a DLL), it is loaded by Excel only if the proper keys are placed in the registry for the current user. Therefore, there isn't a chance to check whether those keys exist and add them if not...

At least in past versions of Excel (e.g., 2003), you can create per-machine add-ins by registering them under HKLM\SOFTWARE\Microsoft\Office\Excel\Addins\.

The question is, specially for Vista, where do I put these changing files (particularly the DB)? I want non-privileged users to be able to use the add-in; for this, they must be able to read the DB files and, more importantly, update them. Where should the SINGLE copy of these files reside?

That goes against the idea of per-user isolation. You can do it by creating a directory and applying permissions to it but it's warning sign: Any user running a low-privilege trojan could update the file too.

--
sig://boB
http://joyofsetup.com/

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to