I am working on an installation sequencer. The heart of the sequencer is a
Windows system service that launches the install processes (typically
msiexec) as they come in.

The sequencer service is grabbing the environment block of the logged on
user (this has been verified) and passing this block to CreateProcess(). In
addition, any variable expansion on the command is expanded based on the
currently logged on user.

I see an issue where installation packages that target the user profile
paths (AppData, etc.) ends up in the systemprofile instead. If the
installation package is "run by hand" outside of the service, the files,
etc. end up where they are supposed to which is in the currently logged on
user's profile paths.

How does Windows Installer determine the user profile / environment block
when msiexec is executed? It apparently is not inheriting
the environment from my sequencer service process, otherwise the profile
data would end up in the right spot.

Thank you.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to