My question is that if I use a custom action (a vbs script)
that runs as Deferred in System Context, and that vbs script calls the .bat file which calls the python script (.py), Does the python script (or the .bat file for that matter) run in System context?
I have repackaged some software (Spambayes). The install itself is mostly the Python software and the Win32All extensions. These components are what Spambayes relies on. To actually install the Spambayes Outlook add-in though, the user needs to run a python script from within a certain directory. I have the python and win32all extensions packaged. I also have a custom action done that calls a .bat file that calls the newly installed python.exe to run the python script which connects the Outlook Add-in to the logged in user's Outlook program. It seems that if the locally logged on user is not an adminstrator this fails.