The custom action is called from the MSI, right? So if it's unmanaged (not DTF) it will be an msiexec.exe process. Windows will launch or use an appropriate bitness msiexec.exe process to call the CA. The bootstrapper is a diferent process, so I don't see how there could be a connection. An immediate CA will be a different msiexec.exe process, one that's running with the installing user's credentials, so it can get complicated. Is there a problem somewhere? --------------- Phil Wilson
On Fri, Mar 27, 2015 at 9:48 AM, Edwin Castro <egca...@gmail.com> wrote: > I have two custom action functions (A and B) that use LoadLibraryEx() to > load a DLL that already exists on the target system (NOT installed by my > MSI) and then proceeds to call a few functions in that DLL. My MSI is > installed by the WiX Standard Bootstrapper. These custom actions functions > in a total of 5 <CustomAction/> elements: > > <CustomAction Id="Install.A" DllEntry="A" Execute="deferred" > Impersonate="yes" ... /> > <CustomAction Id="Upgrade.A" DllEntry="A" Execute="deferred" > Impersonate="yes" ... /> > > <CustomAction Id="Upgrade.B" DllEntry="B" Execute="deferred" > Impersonate="yes" ... /> > <CustomAction Id="Uninstall.B" DllEntry="B" Execute="deferred" > Impersonate="yes" ... /> > <CustomAction Id="Rollback.B" DllEntry="B" Execute="rollback" > Impersonate="yes" ... /> > > To make matters more complicated, our 64-bit MSI uses 32-bit versions of > the custom actions. > > Should I expect the DLL to be loaded by the bootstrapper exe or by > msiexec.exe? > > We are seeing logs that suggest that DLL is loaded by both the bootstrapper > exe and by msiexec.exe but I don't understand why. > > Could an unrelated custom action that is Execute="immediate" have an effect? > > -- > Edwin G. Castro > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users